vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   [urgent] Most Ever Online: how i change or reset it? (https://vborg.vbsupport.ru/showthread.php?t=61602)

MentaL 02-15-2004 08:06 PM

[urgent] Most Ever Online: how i change or reset it?
 
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?

[SQL]
SELECT * FROM datastore WHERE title='maxloggedin';
[/SQL]

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:

[SQL]
SELECT * FROM template WHERE title='maxloggedin';
[/SQL]

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

Quote:

Originally Posted by KirbyDE
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

Quote:

Originally Posted by Faranth
That would delete the tempalte

Really? I though this was just a SELECT and would not modifiy anything ...

Quote:

Originally Posted by Faranth
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

Quote:

Originally Posted by KirbyDE
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

Quote:

Originally Posted by Faranth
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

Quote:

Originally Posted by KirbyDE
For vB2 it should be this record:

[SQL]
SELECT * FROM template WHERE title='maxloggedin';
[/SQL]


assassingod 02-16-2004 04:38 PM

Try this:
[sql]
UPDATE template SET template = '' WHERE templateid = '485';
[/sql]

It deletes the current record and date.

MentaL 02-16-2004 05:32 PM

thanks worked!

assassingod 02-16-2004 05:32 PM

Np.

Brad 02-16-2004 05:43 PM

Quote:

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

Quote:

Originally Posted by Brad.loo
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

Quote:

Originally Posted by KirbyDE
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


All times are GMT. The time now is 04:00 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
  • Page Generation 0.02422 seconds
  • Memory Usage 1,745KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (18)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete