![]() |
Members who have visited today.
As of 24 Nov 2017 this modification has been withdrawn.
This adds a simple display of all members who have visited the forum - either today (i.e. since the users midnight) or in the last 24 hours. Note: it is not possible for this hack to count guests. The main features of the 3.8 version are as follows ; 1. It displays the list on the Forum Home. 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 will 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. 7. The ability to turn it on/off is in the ACP Options. 8. The ability to allow only certain usergroups to view the list is an ACP option (include or exclude groups). 9. An option to record and display the Most Ever Members can be enabled. 10. The switch between Visited Today and Rolling 24 Hours is an ACP option. 11. The listing of members can be suppressed (a simple message is displayed instead). 12. The list of names can be set to be always collapsed on initial view. (Options are in vBulletin Options > Who has visited today) To install just unzip the XML and import into vB using the ACP Product Manager. Template Hook Please note that this modification uses the following template hook in the FORUMHOME template ; forumhome_wgo_pos2 This must be present in any customised template/style you are using, otherwise this modification will not display. History: v3.8.001 : Initial version for vB 3.8.x v3.8.002 : Fix Most Ever Display Bug. |
Thank you! Just updated this mod. Old version was removed automatically and new was installed without loosing any data.
Edit: The vbadvanced module stops working with this update. The reason is that it uses a different hook location (forum_start instead of global_start). I have changed it to global_start again and the module works. Is it ok to do so? |
Not really a good idea, it means the code runs on every vb page visited, even though its only ever used/displayed on the Forum Home. I would have thought fixing the VBA module would be better.
|
Thanks for this update, but I've found a little bug in the 'forumhome_start' hook.
The code for displaying the 'Most Ever Members' line is defined and set after the eval of the template, and the part of code is useless. I've edited it to place the eval code after all (before the last } ). Another thing: in the same piece of code, you have this: PHP Code:
|
Thank you, glad to see old favorites for 3.8!!
|
Definately glad to see this one! thanks and works like a charm
|
Quote:
Thanks for pointing it out tho. :) |
Ignore my post. I forget too quickly lately.
|
Could not install because this error message:
Quote:
|
You cannot possibly get that message if you downloaded it from this thread.
|
All times are GMT. The time now is 12:04 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|