vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   Refresh Database! (https://vborg.vbsupport.ru/showthread.php?t=36434)

Neo 03-22-2002 11:18 PM

Refresh Database!
 
Does anyone know how to refresh your database so that everything is set back to nothing.. but still have all the add-ons remain?

cditty 03-23-2002 01:27 AM

Are you looking to totally empty the db out? With phpMyAdmin, you should be able to empty each table at will.

Chris

Neo 03-23-2002 01:29 AM

yes I know that.. but there is some info I need to keep in the database.. like the defualt templates and such.

cditty 03-23-2002 01:33 AM

Hmmm. Then I don't know. Maybe firefly or another mod will be able to help.

Chris

Neo 03-23-2002 01:41 AM

Hmm.. I am going to make a hack for this.. I know how to do it now.

TECK 03-27-2002 12:12 AM

hmm.. use flush()

Neo 03-27-2002 12:20 AM

and I would use this how

TECK 03-27-2002 12:24 AM

http://www.php.net/manual/en/function.flush.php
if you want to see it in action, check the VB installer.. [high]function doqueries()[/high]


All times are GMT. The time now is 12:27 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
  • Page Generation 0.01009 seconds
  • Memory Usage 1,714KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete