![]() |
I know I posted this before, but I need to know the answer.
The most members online over 24 hours was XXXX How do I reset the the XXXX value to 0? Thanks. |
There is no method to do this.
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. |
If you can tell me the table name and what column to search on, I can find and update that row to change it back to 0.
Thanks. |
Im afraid its not that simple, which is why I said you really need to know what you are doing.
The data is stored in the Datastore (table), as part of a serialised array, in the maxloggedin row. |
Change this line in the manage plugin area in the admin:
Code:
if ($totaltoday > intval($vbulletin->maxloggedin['maxvisitors'])) Code:
if ($totaltoday < intval($vbulletin->maxloggedin['maxvisitors'])) |
Nice script change! Thanks for sharing!
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. |
Quote:
Quote:
|
Quote:
it sure did thanks |
great and thanks Paul...my vb3.8.4 is updated...;):up:
|
Paul, im using the 3.7 version on a 3.8.4, it works perfect (or at least seems to) do i need to upgrade to this one?
|
All times are GMT. The time now is 01:07 AM. |
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:
|