The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Members who have visited today (with last 24 hours option). Details »» | |||||||||||||||||||||||||||
Members who have visited today (with last 24 hours option).
Developer Last Online: Nov 2023
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
|
Comments |
#242
|
||||
|
||||
Quote:
|
#243
|
|||
|
|||
Installed nicely on 3.0.7... took about 3 minutes.
I noticed in my index.php I had also installed the: "Members who have posted today" hack... you must be the same "Paul" that created that impressive one as well? My users loved that one, so I'm sure they'll be just as impressed with this latest one. One question though (and I apologize for this) but I am a php noob and I've tried several things & all failed: On both mods, The string: PHP Code:
Thanks- |
#244
|
|||
|
|||
I think I may have a clue as to what the one poster was talking about as far as it not working.
Maybe he has both of your mods just like me. I found that if the Total members that have posted today and the Total users that have visited today had both of their time set to reset at midnight (not rolling 24 hours) then one of them would not work, typically the Total users that have visited today one. ( Is this because of where it's placed in reference to the other? So I changed one to show the rolling 24 hours, and the other was just on regular time, and they both started working. At least that's how it appeared on this end. :alien: PHP Code:
|
#245
|
||||
|
||||
Quote:
|
#246
|
||||
|
||||
Quote:
|
#247
|
||||
|
||||
Hm, I didn't reply to this one!
Lol, just have to say I did one NEWBIE'ish thing on this one... I couldn't understand why it didn't work, but.. lol, I had forgotten to upload the index.php ... *bangs head in keyboard* But, great hack! Works like a charm (as soon as you upload the index.php :P) Thanks! |
#248
|
|||
|
|||
Quote:
Thank you sir. The SELECT part is what I got burned on! |
#249
|
||||
|
||||
Hi Paul, great hack - quick question though. I also have (had) your who's in chat for flashchat installed, but intstalling this munged the if conditional in the forumhome template. Any idea how to amend the template to allow both to work?
Thanks. |
#250
|
||||
|
||||
Not sure what you mean - but I have both installed - this is what the relevant section looks like;
Code:
<if condition="$show['loggedinusers']"> <!-- 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$vbcollapse[collapseimg_forumhome_todayusers].gif" alt="" border="0" /></a> Total users that have visited today: $totaltoday </td> </tr> </tbody> <tbody id="collapseobj_forumhome_todayusers" style="$vbcollapse[collapseobj_forumhome_todayusers]"> <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 --> <!-- who's in flashchat --> <tbody> <tr> <td class="thead" colspan="2"> <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_chatusers')"><img id="collapseimg_forumhome_chatusers" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_chatusers].gif" alt="" border="0" /></a> Members currently in the Chat: $totalchatters </td> </tr> </tbody> <tbody id="collapseobj_forumhome_chatusers" style="$vbcollapse[collapseobj_forumhome_chatusers]"> <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">$chatters</div></td> </tr> </tbody> <!-- end who's in flashchat --> <!-- logged-in users --> <tbody> <tr> <td class="thead" colspan="2"> <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_activeusers')"><img id="collapseimg_forumhome_activeusers" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_activeusers].gif" alt="" border="0" /></a> <a href="online.php?$session[sessionurl]">$vbphrase[currently_active_users]</a>: $totalonline (<phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_and_y_guests]</phrase>) </td> </tr> </tbody> <tbody id="collapseobj_forumhome_activeusers" style="$vbcollapse[collapseobj_forumhome_activeusers]"> <tr> <td class="alt2"><a href="online.php?$session[sessionurl]"><img src="$stylevar[imgdir_misc]/whos_online.gif" alt="$vbphrase[view_whos_online]" border="0" /></a></td> <td class="alt1" width="100%"> <div class="smallfont"> <div style="white-space: nowrap"><phrase 1="$recordusers" 2="$recorddate" 3="$recordtime">$vbphrase[most_users_ever_online_was_x_y_at_z]</phrase></div> <div>$activeusers</div> </div> </td> </tr> </tbody> <!-- end logged-in users --> |
#251
|
||||
|
||||
My own fault, I have a stray closing tag for a conditional and couldn't see what was going on. Thanks for your help. Both additions are great.
/me clicks install. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|