Version: 2.31, by Paul M
Developer Last Online: Nov 2023
Version: 3.0.x
Rating:
Released: 11-08-2004
Last Update: 07-23-2005
Installs: 627
No support by the author.
This modification is no longer available or supported.
A very simple display of all members who have visited the forum 'today' (i.e. since midnight). I looked at the existing hacks that apparently do this, and they either seemed over complicated or had a lot of problems, so I wrote my own simple version.
The main features of Version 2.xx are ;
1. It displays the list on Forum Home under the "Users online" display.
2. The list view is collapsable, so you just see the number.
3. Invisible users are only displayed to those allowed to see them (with a "*")
4. Users who should display as coloured or bold etc should be displayed correctly. (based on the display usergroup)
5. If you 'hover' over a username it will show the time they were last active.
6. The list is in member name order.
If you prefer, then there is an option to make this hack display a rolling 24 hours - un-comment the relevant line in the code.
Addons: ericgtr has created a CMPS module for this hack, you will find the files here. paul41598 has created a pop-up display instead of the collapsable display, you will find the files here.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
is this available for the WOL instead of the forumhome?
Not from me. You could do it, but it would mean moving the code to a different place, and then copying the relevant part of the template change - virtually a whole new version really.
If so, pick a few you are sure haven't, then look at the time when you hover over them, and then check their profiles to see what the Last Active date & time is.
If so, pick a few you are sure haven't, then look at the time when you hover over them, and then check their profiles to see what the Last Active date & time is.
I'll check back later.
yes... it's impossible that all my members (100% of 1899) have come today at 11:31!! :nervous:
Database error in vBulletin 3.0.3:
Invalid SQL: SELECT userid, lastactivity, options, username,opentag,closetag
FROM vb3_user
LEFT JOIN vb3_usergroup ON(user.usergroupid = usergroup.usergroupid)
WHERE lastactivity > 1100037600
mysql error: Unknown table 'user' in on clause
mysql error number: 1109
Oopsy?
Floris,
I believe that replacing the four lines of the SQL query with this should work.
PHP Code:
$todaysusers = $DB_site->query("SELECT userid, lastactivity, options, username,opentag,closetag
FROM " . TABLE_PREFIX . "user as user
LEFT JOIN " . TABLE_PREFIX . "usergroup as usergroup ON(user.usergroupid = usergroup.usergroupid)
WHERE lastactivity > " .$cutoff. " ");
Please let me know and I will update the instructions.