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.
Oh GREAT!! this is cool, I've been looking for this.
thanks Ericgtr.
I've installed it.. however i have some minor issue. I've attached a pic...whats happenning is that
1. the FONT size of members is bigger compared to other locations..
2. On click on "membername" the url takes me to root/members instead of root/forums/member.
ok I fixed the problem. It was just a temeplate edit to match my font.
But Eric i got another issue! The Module shows online visitors "today" starting at midnight but Paul's original mod shows users in last 24 hours on my fourmshome.
:ermm:
I thought, it wud show the number of users on cmps page as forumshomepage which is users visited in last 24 hrs.??!?!
But Eric i got another issue! The Module shows online visitors "today" starting at midnight but Paul's original mod shows users in last 24 hours on my fourmshome.
Uncomment this line to switch to the rolling 24 hr's ;
PHP Code:
//$cutoff = $now - 86400 ; // Uncomment this line if you don't have vB 3.0.3 and all users are showing.
I have uploaded v1.35 today which has a very minor bugfix - this will not affect anyone who already has this working - but I think it may cure the odd case (in vb versions prior to 3.0.3) where the vbdate function would not work (and hence people switched to the rolling 24 hours display).
You may want to consider adding a conditional to your phpinclude_start template to only run that query when the page selected is forum home or your new WWOL page. As it is that code runs on every page loaded whether it's used or not. Just a little optimization suggestion.
Does anyone know how this conditional could be added?