The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Members who have visited the forum (Today or last 24 hours). Details »» | |||||||||||||||||||||||||||
Members who have visited the forum (Today or last 24 hours).
Developer Last Online: Nov 2023
This modification is no longer available or supported. This adds a simple display of all members who have visited the forum - either today (i.e. since midnight) or in the last 24 hours. Please note that it is not possible for this hack to count guests. The main features of Version 4.xx are basically the same as previous versions ; 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 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. 7. The hack is now phrased. 8. The ability to turn it on/off is in the ACP Forum Home Options. 9. The ability to allow only certain usergroups to view the list is an ACP option (vBulletin Options > Who has visited today). 10. The switch between Visited Today and Rolling 24 Hours is an ACP option (many seem to miss this actually exists). 11. The listing of members can now be suppressed (a simple message is displayed instead). 12. The list of names can be set to be always collapsed on initial view. Unzip the XML and import into vB using the ACP Product Manager. To upgrade from version 4.10 onwards, you need to re-import the product with the overwrite option set to yes. To upgrade from version 4.01/4.02 to version 4.10 onwards, you need to uninstall the product and remove the template code in FORUMHOME - then upload the new product. To upgrade from version 3.xx to version 4.xx you need to delete the existing plugin and remove the template code in FORUMHOME - then upload the new product. * Add-ons etc * * An add-on to display a 'Most ever posters' count is available here. * If you want the WVT display on a seperate page - see this post by EvilHawk - now updated to version 4.21. * There is also a CMPS module that makes use of this plugin (by tgmorris). History: v4.10 : Removed the need to edit the FORUMHOME template. v4.11 : Hyperlinked display icon to members list. Added vb number formatting to count. v4.12 : Added ALT tag to above hyperlink. v4.13 : Fixed problem affecting the most visitors add-on when more than 999 visit in a day. v4.14 : Added name suppression & always collapsed options. v4.15 : Updated the install code to only create the index if it doesn't already exist. v4.16 : Fixed error in new install code (changed DROP to ADD !). v4.17 : Updated ACP view permission option to take into account secondary groups. v4.18 : Not publicly released. v4.19 : Added 'nofollow' attribute to listed usernames. v4.20 : Minor changes, no update necessary. v4.21 : Minor changes to settings group, instructions updated. Show Your Support
|
Comments |
#182
|
||||
|
||||
Code optimization (?) suggest:
forumhome_complete PHP Code:
|
#183
|
||||
|
||||
Why change from start to complete?
When I use that code it still shows the number of people that vistsed today correctly, but it only lists me by username and no one else. Ex. Total Users Visited Today: 121 and I am the only one listed, no one else. |
#184
|
||||
|
||||
PHP Code:
|
#185
|
||||
|
||||
Quote:
|
#186
|
|||
|
|||
Quote:
I change the code in the plugin to: Code:
FROM " . TABLE_PREFIX . "user as user LEFT JOIN " . TABLE_PREFIX . "usergroup as groupa ON(user.usergroupid = groupa.usergroupid) LEFT JOIN " . TABLE_PREFIX . "usergroup as groupb ON(user.displaygroupid = groupb.usergroupid) WHERE lastactivity > " .$cutoff. " ORDER BY usergroupid, username "); There must be an easy way to set the usergroups in order 6,7,9,2,1 ?????????????? |
#187
|
||||
|
||||
Quote:
I guess it also depends on what you mean by 'optimization' - using those functions may reduce the code in the hack slightly, but the functions themselves have a lot of code in them, much of which is not necessary to this hack. It is also generic code I use elsewhere, and would require me to load things like functions_bigthree.php. So, while I thank you for your suggestion - I don't intend to make any changes atm - but I will look at it to see if any of your changes/ideas would suit me in the future, especially when I convert my hacks from plugins to products (at which point I will phrase them as well) - in fact you are the second person to use a trick which I indend to look at to avoid the template edit. :up: @BrentWilson - while you are free to use the above suggestion - I will not support it, as it's not my code - sorry. |
#188
|
||||
|
||||
Quote:
|
#189
|
||||
|
||||
Quote:
I am still using yours. |
#190
|
||||
|
||||
Quote:
|
#191
|
||||
|
||||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|