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.
If I add a new member via the Admion CP, it shows that they have already logged on today even though they haven't yet. Is this intended behavior?
It's the correct behavior as far as the hack is concerned.
It is a fault/bug with native vB - when you add a new user in the ACP it sets the users Last Activity Time to the time you add the user, which is of course, not really correct.
Any thoughts on making this default to "collapsed" mode, at least in my beginner's (dial-up) style?
If you change the template code to this - then it will always show the section as collapsed when you visit (or refresh) the page - meaning you have to manually expand it to see the list of names.
Code:
<!-- Todays active users -->
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_todayusers')"><img id="collapseimg_forumhome_todayusers" src="$stylevar[imgdir_button]/collapse_thead_collapsed.gif" alt="" border="0" /></a>
Total members that have visited today: $totaltoday
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_todayusers" style="display:none;">
<tr>
<td class="alt2"><img src="$stylevar[imgdir_misc]/whos_online.gif" alt="Users online today" border="0" /></td>
<td class="alt1" width="100%"><div class="smallfont">$whotoday</div></td>
</tr>
</tbody>
<!-- Todays active users -->
It's the correct behavior as far as the hack is concerned.
It is a fault/bug with native vB - when you add a new user in the ACP it sets the users Last Activity Time to the time you add the user, which is of course, not really correct.
Sorry about that, Paul. I meant to post this in the 3.5 plug-in area.
But that answers my question, anyway. Thank you, sir.
If you change the template code to this - then it will always show the section as collapsed when you visit (or refresh) the page - meaning you have to manually expand it to see the list of names.
I have it set this way in one style and it is set as original in my alternate style. Worked excellent!