View Full Version : How do you set the debug?
Chris M
09-14-2002, 07:06 PM
How do you set it?
In admin/template.php, there is a mention of debug when adding a template...
How do you make it so that the "All" option appears?
Satan
Link14716
09-14-2002, 09:47 PM
Debug is a HUGE security issue, but here is how.
Add $debug=1 before ?> in admin/config.php
JulianD
09-14-2002, 10:25 PM
Yeah, I noticed the debug thing in template.php too.... Does anyone know what is this for?
Dean C
09-15-2002, 08:58 AM
/me wants to kno wat debug is too ..
- miSt
Chris M
09-15-2002, 09:15 AM
@Link14716 - Hmmm...
I dont want to activate it then...
Is there any way of making the "Add to All" function in Template.php work without the debug?
Satan
Xenon
09-15-2002, 09:51 AM
My way to handle the debugvalue:
i added a new setting so i can change the debug value from on to off in my vb-options.
when i need the debugfunctions i turn it on, after that i turn it back to off
Chris M
09-15-2002, 10:37 AM
Cool...
Could you post instructions on how to do it?:)
Satan
Xenon
09-15-2002, 10:40 AM
of course
run your admin/setting.php
at section Turn Your vBulletin on and off
klick add setting
use this:
Title
Enable Debug Mode
Variable Name
debug
Value
0
Description
If you want to add standart templates, or download templateset, you should set this to 1
Code to generate option
yesno
Display Order
3
that would be all ;)
Chris M
09-15-2002, 10:50 AM
Cool thanks:)
Satan
Xenon
09-15-2002, 10:55 AM
np :)
i think it's a very usefull option, but it can be dangerous if you forgot to set it back to no.
or if you have admins which like to destroy things ;)
Chris M
09-15-2002, 10:58 AM
Doh!;)
I have an idea;)
BRB - Seeing if it works:D
Satan
Chris M
09-15-2002, 11:10 AM
I sent you a PM;)
Satan
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.