![]() |
|
|
Article Options |
|
Howto: Fast enable debug mode
Xenon
Join Date: Oct 2001
Posts: 12,979
I was born, saw the world, and tried to change it because i doesn't like it as it is now.... ;) Bavaria
by
Rating:
Sometimes it is needed to enable the debug mode (when you want to download templatesets, or adding global templates by hands...) normally you have to open config.php and enter $debug=1; in it. but that's annoying if you need it more often here's a fast way to give you the chance to enable/disable it from within your admin-cp: 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 WARNING: enabled debugmode is a security risk. so always disable it after you've done what you wanted..... No members have liked this post.
Last edited by Xenon : 21 Sep 2002 at 16:26. |
|
Views: 2492
|
| Comments |
|
#2
|
||||
|
||||
|
great tip.
![]() thanks.
__________________
Floren Munteanu Axivo Inc. Axivo Community - Visit the forums to find out more about us Why Queued - My personal blog No members have liked this post.
|
|
#3
|
|||
|
|||
|
thanks!
![]()
__________________
[Signature Goes Here] No members have liked this post.
|
|
#4
|
|||
|
|||
|
Thanks! I will definately be using that :
No members have liked this post.
|
|
#5
|
||||
|
||||
|
a very late post but I've recently noticed this tip! great hint!
Should be a default vb feature
__________________
Logician's Blog | WebTemplates for vb 4.x : VB Integrated Content Management System I do NOT do custom work, so please do not PM/email me for such projects. Thanks for understanding.. No members have liked this post.
|
|
#6
|
||||
|
||||
|
There's a quicker phpinclude way... but I leave that up to Stefan to reveal...
![]() No members have liked this post.
|
|
#7
|
||||
|
||||
|
*gg*
some secrects shouldn't be revealed ![]()
__________________
Unfortunatelly i am completely out of vbulletin buisness, so i won't upgrade any of my hacks anymore. Everyone who wants to upgrade my hacks or use part of my codes is allowed to do so, without needing any special permission by me anymore. You just have to mention my full name if you want to reuse some of my work, thats all i ask for. No members have liked this post.
|
|
#9
|
||||
|
||||
|
A quicker way to do this, run this query:
__________________
[Signature Goes Here] No members have liked this post.
|
||||
|
#10
|
|||
|
|||
i like experimenting with it... i usually like going the config.php way... but thanks for the neat idea Xenon ![]() didn't think of it that way before... regards, g-force2k2
__________________
Custom vBulletin Hacker => Making Ideas Into Working Programs => No Idea Can Ever Be A Bad Idea -- My vb3 Hacks -- [ Posting Required Before Poll Voting ] | [ vb3 Font Color Hack ] | [ vb3 User Forum Activeness Hack ] | [ vb3 Postbit Style Option ] | [ vb3 User Ratings Hack ] No members have liked this post.
|
|
#11
|
||||
|
||||
|
well, but not everything is possible with this way....
$explain=1 wouldn't work, because the phpinclude is evaled after the explain is reset in global.php
__________________
Unfortunatelly i am completely out of vbulletin buisness, so i won't upgrade any of my hacks anymore. Everyone who wants to upgrade my hacks or use part of my codes is allowed to do so, without needing any special permission by me anymore. You just have to mention my full name if you want to reuse some of my work, thats all i ask for. No members have liked this post.
|
|
#12
|
||||
|
||||
|
when would you want to edit global templates
No members have liked this post.
|
|
#13
|
||||
|
||||
|
if you have a lot of templatesets and want to change one template in all of them for example?
__________________
Unfortunatelly i am completely out of vbulletin buisness, so i won't upgrade any of my hacks anymore. Everyone who wants to upgrade my hacks or use part of my codes is allowed to do so, without needing any special permission by me anymore. You just have to mention my full name if you want to reuse some of my work, thats all i ask for. No members have liked this post.
|
![]() |
«
Previous Article
|
Next Article
»
Similar Article
|
||||
| Article | Author | Type | Replies | Last Post |
| Enable/Disable Debug Mode | Jase2 | vBulletin 3.7 Add-ons | 30 | 20 Sep 2012 15:35 |
| Enable VB Debug Mode without hacking config.php | MrEyes | vBulletin 3.7 Add-ons | 2 | 05 Jul 2008 07:01 |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
| Article Options | |
|
|
| New To Site? | Need Help? |
All times are GMT. The time now is 07:15.






