![]() |
Thanks for the 3.7 port :)
|
Quote:
|
Sweet thanks!!!
|
Quote:
Paul can you let me know which table and record your mod is storing it's information in please, specifically the 'Most members online in a day'? *Edit - Scrap that. I'm thick lol. It is the same 'maxloggedin' record in the datastore table, just at the end. Thanks Sy |
Just awesome thank you!
|
how to restar the counter?
thank you |
No easy way.
|
Quote:
|
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;} 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. Sy |
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. |
All times are GMT. The time now is 09:15 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:
|