Version: 3.7.004, by Paul M
Developer Last Online: Nov 2023
Category: Forum Home Enhancements -
Version: 3.7.x
Rating:
Released: 12-22-2007
Last Update: 11-25-2008
Installs: 1878
Translations
No support by the author.
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 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.7 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 mod is phrased.
8. The ability to turn it on/off is in the ACP Options.
9. The ability to allow only certain usergroups to view the list is an ACP option (include or exclude groups).
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.
13. An option to record and display the Most Ever Members can be enabled.
(Options are in vBulletin Options > Who has visited today)
To install just unzip the XML and import into vB using the ACP Product Manager.
History:
v3.7.001 : Initial version for vB 3.7. v3.7.002 : Installation Code Updated. v3.7.003 : Updated to remove potential $group variable name clash. v3.7.004 : Updated to use template hook if available.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
In the style options, there are alternating colors for tables. Normally I override that by changing the div class to something like "alt3" or whatever name I choose, but I can't find a place to force a div class on this product.
Everything this displays is done via its own templates, just edit them as required.
Nope, well saying that depends on what you want to reset. If you wanted to reset the counter to 0 with todays date then yes a simple SQL query on datastore to change the value to 0 with todays date then the following:
Code:
UPDATE datastore SET data = 'a:4:{s:9:"maxonline";i:0;s:13:"maxonlinedate";i:1219276801;s:15:"maxvisitorsdate";i:1219276801;s:11:"maxvisitors";i:0;}
(I think, so double check it before you run it and don't blame me if it wrecks your DB lol)
However if you want to reset the max users online figure with a date in the past you'd need to change that query so that the bits in red fit your criteria. To calculate the date in unix time I've used this online calculator.
Anyway further details, written by someone who has a clue of what they are talking about, can be found HERE.
Dont run that query as is, it will cause a lot of damage as it as it doesnt specifically reference the maxloggedin record, but even if it did - running it will wipe out other dates/values stored in that record.
Like I said, there is no easy way. Most things can be done if you have the knowledge and experience.