PDA

View Full Version : Debugged Options


BluPhoenix
12-02-2004, 10:00 PM
If your creating your own hack, or adding some recent ones then you need to switch debug on to do so, but this adds lots of extra info to pages and maybe you don't want to do that, so after some trial and error I found that you could effectively debug vbulletin options but leave the rest of the site as is, this is a quick but handy edit..

in admincp/options.php.

~find
log_admin_action();

~add after that
$debug="1";

and your done, click vbulletin options and you now get the developer options, such as add setting group, etc.. but the rest of your site doesn't have the queries, templates, etc showing..

Polo
12-03-2004, 06:54 PM
Cool, I might try this out.

Zachery
12-03-2004, 07:41 PM
Cool, I might try this out.
try adding $debug = '1'; at the top of the acp's global.php before the call to init

MindTrix
12-03-2004, 08:06 PM
Didnt Xenon release a debug one? Or is this different?

owner
12-04-2004, 06:33 PM
can i have a more proper description about this plz.. Thankyou

Zachery
12-04-2004, 09:32 PM
can i have a more proper description about this plz.. Thankyou
It enables debug mode for the vB Options

tcs
12-05-2004, 03:48 PM
Cool, Thanks