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-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 02: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.01887 seconds
  • Memory Usage 1,726KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete