View Full Version : How do I do this?
I want to create a setting in my vB options page in adminCP, with yesno switch, to switch debug mode on and off with ease...
What's the query to run to achieve this?
NTLDR
12-11-2002, 05:47 PM
Use setting.php to add them, thats the best way ;)
What do I enter in the following fields:
Variable name:
Value:
? Is variable name 'debug' and value 1 ?
Xenon
12-11-2002, 06:11 PM
<a href="https://vborg.vbsupport.ru/showthread.php?s=&threadid=43721" target="_blank">https://vborg.vbsupport.ru/showt...threadid=43721</a>
Dean C
12-11-2002, 06:15 PM
Does this add a column to the setting table then?
- miSt
Originally posted by Xenon
https://vborg.vbsupport.ru/showthread.php?s=&threadid=43721
Thanks :D
Hmm ok now what do I add to the URL again? I tried a few things with debug, none seem to work...lol
Dean C
12-11-2002, 06:48 PM
Lol row yes :)
- miSt
Figured out the url. it was &showqueries=1 or something...
NTLDR
12-11-2002, 08:15 PM
&showqueries=1 and &explain=1
I find sowqueries most usefull, also you'll notice a few new menu options in the ACP if you didn't already know they existed ;)
I did know they existed, I used to use debug mode a long long time ago and still do, just forgot a few simple things ;)
Xenon
12-11-2002, 09:33 PM
i think the best one is, that you can edit the global templateset
creating new custom templates ;)
just be sure to backup them before upgrading ;)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.