Feb 20, 2008, 07:04 PM
License is GNU/GPL attached inside extras folder.
Plugin Name: Online 24
Plugin Author: Jesse Labrocca
Plugin Website: http://www.MybbCentral.com
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.
Installation
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.
DEMO: http://www.hackforums.net
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:
With this:
Thank you.
Plugin Name: Online 24
Plugin Author: Jesse Labrocca
Plugin Website: http://www.MybbCentral.com
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.
Installation
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.
DEMO: http://www.hackforums.net
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:
Code:
$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:
Code:
$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.
