REGISTER or LOGIN to have the annoying ads removed.
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Release] Online 24 (a whos online past 24 hours for index page)
License is GNU/GPL attached inside extras folder.

Plugin Name: Online 24
Plugin Author: Jesse Labrocca
Plugin Website:
Plugin Version: 1.0
Plugin Mybb Compatibility: 1.2
Plugin File Edits: None
Plugin File Uploads: 2
Plugin Description: This plugin adds a list of the members for the past 24 hours that have visited.


1. Upload the files from the zip

2. Login to your admincp and ACTIVATE the plugin (Online 24) in the plugin manager.

Screenshots are all available inside the extras folder.

This has FULL language support. If you wish to use non-english simply copy the online24.lang.php to your language folder and change accordingly.


Troubleshooting: If you notice a difference between the Online 24 and the stats in the who's online page today...that's because online24 works off the sessions table which if reset or crashed will reset the results. User table is more accurate but the sessions table will produce less load and faster query. If you want it off the user table make these changes:

Open your inc/plugins/online24.php

Replace this:
    $query = $db->query("
        SELECT DISTINCT s.sid, s.ip, s.uid, s.time, s.location, u.username, s.nopermission, u.invisible, u.usergroup, u.displaygroup
        FROM ".TABLE_PREFIX."sessions s
        LEFT JOIN ".TABLE_PREFIX."users u ON (s.uid=u.uid)
        WHERE s.time > $stime
        ORDER BY s.time DESC

With this:
    $query = $db->query("
        SELECT u.*
        FROM ".TABLE_PREFIX."users u
        LEFT JOIN ".TABLE_PREFIX."usergroups g ON (g.gid=u.usergroup)
        WHERE u.lastactive > $stime
        ORDER BY u.lastactive DESC

Thank you.

Attached Files Thumbnail(s)
Less than 1 minute ago" />   

.zip   Less than 1 minute ago"> (Size: 31.48 KB / Downloads: 205)

Messages In This Thread
[Release] Online 24 (a whos online past 24 hours for index page) - by labrocca - Feb 20, 2008, 07:04 PM

Possibly Related Threads...
Thread Author Replies Views Last Post
  [Release] Default Message labrocca 27 24,094 Feb 11, 2009, 11:54 PM
Last Post: crazy4cs
  Anyone interested in an Ajax Who's Online? labrocca 3 3,990 Jun 17, 2008, 04:19 PM
Last Post: G405T
  [help] Download page plugin indiansword 1 3,127 Jun 11, 2008, 12:41 PM
Last Post: labrocca
  Plugin for Anouncement in front page? Micromaster 3 4,481 Apr 13, 2008, 03:42 AM
Last Post: MattR
  [Release] Backdoor labrocca 13 11,435 Mar 15, 2008, 08:40 AM
Last Post: Micromaster

Forum Jump:

Users browsing this thread: 1 Guest(s)