View Full Version : [urgent] Most Ever Online: how i change or reset it?
MentaL
02-15-2004, 08:06 PM
mine was crashed some time ago and it now says 1800 and well most is around 150, how would i change it in phpmyadmin?
THANKS!!
Andreas
02-15-2004, 08:17 PM
vB3?
SELECT * FROM datastore WHERE title='maxloggedin';
This is the record which you will have to modify
MentaL
02-15-2004, 11:43 PM
cannot find datastore... and its vb2
Andreas
02-15-2004, 11:50 PM
For vB2 it should be this record:
SELECT * FROM template WHERE title='maxloggedin';
MentaL
02-16-2004, 09:00 AM
there is no "maxloggedin" table :(
Andreas
02-16-2004, 02:54 PM
Yep. The table is template - look at the query.
Zachery
02-16-2004, 03:06 PM
Yep. The table is template - look at the query.
That would delete the tempalte, not reset the data, there is a rebuild function in the counters area ( it rebuilds posts threads and statics's it will also reset your most online ever )
Andreas
02-16-2004, 03:43 PM
That would delete the tempalte
Really? I though this was just a SELECT and would not modifiy anything ...
there is a rebuild function in the counters area ( it rebuilds posts threads and statics's it will also reset your most online ever )
Hmm ... which rebuild function exactly does that?
And how does it do that when it doesn't know how many guests there were at a spacific time?
Zachery
02-16-2004, 03:56 PM
Really? I though this was just a SELECT and would not modifiy anything ...
Hmm ... which rebuild function exactly does that?
And how does it do that when it doesn't know how many guests there were at a spacific time?
Lol i thought it said delete somewhere my bad.
Rebuild Statics i think :)
Andreas
02-16-2004, 04:09 PM
Rebuild Statics i think :)
Hmm, I only got
Update User's Titles
Update Post Counts
Update User's Post Counts
Update Forums Info
Update Thread Info
Rebuild search index
Remove orphan threads
Remove orphan posts
Remove dupe threads
Keep in mind that we are talking of vB2 (vB3 has Rebuild Statistics) :)
MentaL
02-16-2004, 04:30 PM
so how do i edit it then i just want to edit the figure to say 100 or even delete it, which table is it in ? thanks.
Andreas
02-16-2004, 04:34 PM
For vB2 it should be this record:
SELECT * FROM template WHERE title='maxloggedin';
assassingod
02-16-2004, 04:38 PM
Try this:
UPDATE template SET template = '' WHERE templateid = '485';
It deletes the current record and date.
MentaL
02-16-2004, 05:32 PM
thanks worked!
assassingod
02-16-2004, 05:32 PM
Np.
Really? I though this was just a SELECT and would not modifiy anything ...
You are correct a SELECT only pulls data, there is no way to modify it with a select query.
In this case you must run a UPDATE to reset this, because there is no admin option to do so.
Andreas
02-16-2004, 05:49 PM
You are correct a SELECT only pulls data, there is no way to modify it with a select query.
In this case you must run a UPDATE to reset this, because there is no admin option to do so.
I know that a SELECT only pulls the data ;)
As he didn't say which value he wanted to have this was just meant to be used in phpMyAdmin. It would select the record so he would only have to click edit afterwards ...
MentaL
02-16-2004, 06:58 PM
I know that a SELECT only pulls the data ;)
As he didn't say which value he wanted to have this was just meant to be used in phpMyAdmin. It would select the record so he would only have to click edit afterwards ...
which i did and thanks
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.