vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Community Lounge (https://vborg.vbsupport.ru/forumdisplay.php?f=13)
-   -   question (https://vborg.vbsupport.ru/showthread.php?t=48787)

GoTTi 02-11-2003 04:59 AM

question
 
is there a way to reset the Most Online Users data?

Tigga 02-11-2003 06:35 AM

Run this query in phpMyAdmin and it should do the trick. :)

UPDATE template SET template='' WHERE title='maxloggedin';

Erwin 02-11-2003 07:10 AM

Run this one instead:

PHP Code:

UPDATE template SET template='0 0' WHERE title='maxloggedin' AND templatesetid=-2

This will fix it permanently. The other query is incomplete, and the error will reoccur.

Tigga 02-11-2003 01:38 PM

Eh? Just out of curiosity, could you please explain what error? The query I gave would delete the info, then the next time somebody goes on the board it will start over again... Or at least that's what I thought. :ermm:

Erwin 02-11-2003 09:05 PM

No, I didn't say that your query will cause an error, it's just that if the template is corrupted, running your query will solve the problem temporarily, but it will reoccur (talking from personal experience). If you run the full query making sure you are changing the correct template in the right templateset, the error will not come back. This is assuming that there is a problem with the maxloggedin template - if not, no problems.

Tigga 02-12-2003 12:16 AM

Ahhh, thanks for explaining Erwin. I was just curious if there was something I was missing since he didn't say anything was wrong with it, just asked how to reset it. :)


All times are GMT. The time now is 07:30 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.01080 seconds
  • Memory Usage 1,716KB
  • 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
  • (1)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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