vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Undo queries (https://vborg.vbsupport.ru/showthread.php?t=53654)

Leah 05-31-2003 07:06 PM

Undo queries
 
I need to uninstall the canned text hack because I've done something that causes a lot of errors and can't find out what it is. So I want to uninstall and start from scratch, but I dont know what queries to run to undo these:

PHP Code:

Creating Settings...
Getting current highest 1 displayorder for settings...

query_firstSELECT MAX(settinggroupid) + AS newdisplayorder FROM setting
Creating settings group
...

queryINSERT INTO settinggroup (titledisplayorderVALUES ("Canned Text"44)
Getting newly created settinggroupid...
Writing script to create individual settings...
Caching highest settingid 1...

query_firstSELECT MAX(settingid) + AS sidplusone FROM setting
Creating setting 
"Maximum allowed canned text items"...
queryINSERT INTO setting (settinggroupidtitlevarnamevaluedescriptionoptioncodedisplayorder)
            
VALUES (45
"Maximum allowed canned text items"
"ctmax"
"5"
"The maximum allowed number of unique canned text responses users can save. Set to 0 to disable the use of canned text.",
""
0

Can anyone help me?

filburt1 06-01-2003 12:26 AM

The queries are listed in the top of the installer, although a better idea would be to get the original problem resolved instead by posting in the hack's support thread.

Leah 06-01-2003 09:48 AM

The problem is that I don't know which one of the hacks I installed that day that causes the errors. But I think I've successfully uninstalled this one now. Thanks. :)


All times are GMT. The time now is 06:51 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.02396 seconds
  • Memory Usage 1,718KB
  • 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
  • (3)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