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 |
#192
|
|||
|
|||
You're saying that the code we inserted into index.php gets launched and processed all the time because a template called "phpinclude_start" (present in most templates on the board) points to code in index.php and so is referenced in showthread and other various templates on the board? So the proposed conditional tells phpinclude_start to only call the todays active users code from index.php when and if the template calling is the forum home but otherwise to ignore that code in index.php? (sorry, newbie, so a bit lost here).
|
#193
|
|||
|
|||
To learn a bit more about phpinclude_start have a look at these links:
https://vborg.vbsupport.ru/showthread.php?t=71313 http://www.vbulletin.com/docs/html/m...pinclude_start http://www.vbulletin.com/forum/showt...pinclude_start The reason Mosaicvb is using phpinclude_start is because he doesn't want to edit/hack his index.php file which voids the Jelsoft User Support eligability. So he created a PHP script (whos.online.today.php) that will do the same job using the phpinclude_start template to create the HTML and insert the data on the forum home page. However, since the phpinclude_start template loads with every page a conditional is used to run the whos.online.today.php file only when the index.php page is loaded. |
#194
|
||||
|
||||
Quote:
Just to be clear and repeat what MickDoneDee is saying - this hack edits index.php, and the code only runs when you are on the forum homepage. However, Mosaicvb decided that they didn't want to run it this way and built themselves a seperate php file with the hack code in it, and then added code to the phpinclude_start template to run his file (see here). The problem being that this means it gets run on every vb Page that you view, not just the forumhome page. I do not support this method of running it. |
#195
|
|||
|
|||
oh ok, thanks Paul!!
Yeah, I run it in the default method except for uncommenting for rolling 24 hours because of international clientele ;-) |
#196
|
|||
|
|||
Great mod. What kind of performance hit does this cause?
-V |
#197
|
||||
|
||||
Quote:
|
#198
|
||||
|
||||
Paul,
This is nice and simple and works great, it is by far the easiest 'Last Visited' hack to install (1 php file alteration, 1 template alteration and an optional SQL query) have available atm by far, I know I have tried them all at one stage or another. Also works without a hitch with v 3.0.7 and the optional query does speed up page load time. Thanks for the painless install. jd |
#199
|
|||
|
|||
excellent and simple to use thank you
|
#200
|
||||
|
||||
Quote:
|
#201
|
|||
|
|||
great work, very simple! just take one minute to hacks this mod, thank again !
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|