Version: 3.8.002, by Paul M
Developer Last Online: Nov 2023
Category: Forum Home Enhancements -
Version: 3.8.x
Rating:
Released: 11-15-2008
Last Update: 11-25-2008
Installs: 1833
Uses Plugins Auto-Templates
Translations
No support by the author.
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.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
You could try messing directly with the datastore, but thats not something id advise unless you really know what you are doing. Other than that, you would need to run some code to reset it.
Change this line in the manage plugin area in the admin:
Code:
if ($totaltoday > intval($vbulletin->maxloggedin['maxvisitors']))
To the following:
Code:
if ($totaltoday < intval($vbulletin->maxloggedin['maxvisitors']))
Let the page run once and then changed it back. haha. Ghetto work around, I know but it reset a bad count to the current number which is what I wanted.
I had to change mine once in the database when a hoard of spiders practically doubled the count. I didn't want members wondering about the number being a real number. I don't mind playing around in a database, but your script change would have been about as quick and easy.
I'll backup what Paul said: "You could try messing directly with the datastore, but thats not something id advise unless you really know what you are doing." If you're not comfortable diving into a database and understand its relational schema, you better watch out. You can easily hose the whole database.
Change this line in the manage plugin area in the admin:
Code:
if ($totaltoday > intval($vbulletin->maxloggedin['maxvisitors']))
To the following:
Code:
if ($totaltoday < intval($vbulletin->maxloggedin['maxvisitors']))
Let the page run once and then changed it back. haha. Ghetto work around, I know but it reset a bad count to the current number which is what I wanted.
Yep, that was option 2.
Quote:
Originally Posted by Paul M
You could try messing directly with the datastore, but thats not something id advise unless you really know what you are doing. Other than that, you would need to run some code to reset it.
Yes this works well, ok here's were you need to put the hook, go to your adminCP, on the left under styles&templates click style manager. Make sure you choose the correct skin to work with so if your running a custom skin click that! Next from the drop down box that shows all style items choose edit templates, navigate to forum home templates. Then click forum home ...........find the code as shown below and drop your hook intel exactly below 'end logged in users'.