vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Remove old options from AdminCP? (https://vborg.vbsupport.ru/showthread.php?t=97226)

KeithMcL 09-30-2005 02:03 PM

Remove old options from AdminCP?
 
Hi folks,

I'm using 3.5.0 gold now but in the vBulletin Options menu I still have two old hacks options (HTL & EvB Stats).

How do I remove these from the list? Also, should I be removing anything else (mysql tables etc)?

Thanks.

Andreas 09-30-2005 02:41 PM

Warning, dangerous! Backup your Database first.

Assuming that you currently don't have any Hacks installed (it would corrupt them)
[sql]DELETE FROM setting WHERE product != 'vbulletin'[/sql]
[sql]DELETE FROM settinggroup WHERE product != 'vbulletin'[/sql]
[sql]DELETE FROM phrase WHERE languageid=-1 AND product != 'vbulletin'[/sql]
[sql]DELETE FROM phrasetype WHERE phrasetypeid > 150 AND phrasetypeid < 1000[/sql]
[sql]DELETE FROM template WHERE styleid=-1 AND product != 'vbulletin'[/sql]

Rebuild Styles, Languages and Settings (by opening one setting group and just hitting save).
Then post the schema of your language table, as there might be columns that need to be dropped.

KeithMcL 09-30-2005 08:13 PM

Ok, that sounds a little too dangerous for my liking. How about telling me how to remove the options from the menu in the admincp and leave it at that :)

deathemperor 10-01-2005 02:23 AM

unable your forum to debug mode, then open those settings you want to remove -> delete

KeithMcL 10-01-2005 05:19 AM

That's by adding $debug=1 to the end of the config file right?

I tried that but don't see any option to delete.

Edit:
I found out setting the debug mode is different in 3.5.0. The line for the config file should read $config['Misc']['debug'] = true;

Thanks for your help :)


All times are GMT. The time now is 08:39 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.02218 seconds
  • Memory Usage 1,711KB
  • 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
  • (5)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