PDA

View Full Version : Debugged Options


BluPhoenix
03 Dec 2004, 16:20
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


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



~add after that


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



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
03 Dec 2004, 19:54
Cool, I might try this out.

Zachery
03 Dec 2004, 20:41
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
03 Dec 2004, 21:06
Didnt Xenon release a debug one? Or is this different?

owner
04 Dec 2004, 19:33
can i have a more proper description about this plz.. Thankyou

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

tcs
05 Dec 2004, 16:48
Cool, Thanks