![]() |
Debug Mode In Admincp Only
What this does:
This will turn debug mode on in the admincp area only. Sometimes you might want to make a change to the master style, or add a quick vBulletin option but don't want your users seeing any query/template info on the footer of your forums. I placed this as a hack since you have to hack a file to do it. I was debating if it was more of a how-to or a hack. I'll let the mods decide. In /includes/config.php Find: PHP Code:
PHP Code:
|
Hmm i think there was once a talk about adding an Admin only debug mode over at vb.com, and it was agreed by jelsoft staff that this could be very usefull. But i like this also.
|
i have an admin only debug mode hack released for 3.0 which works for 3.5 as well :)
|
Quote:
|
thanks for that ....
|
as the debug var is one of the most important things, it has to be a file edit ;)
it has to be set in config.php |
Quote:
Satan |
Quote:
|
Quote:
Installed LiveWire, many thanks |
Quote:
Satan |
Quote:
|
Quote:
|
Quote:
[/high] There there, I'm sure you'll get over it :p Satan |
Quote:
|
I used this in combination with a patched up version of Stefan's hack to turn debug mode on by clicking a link in the admincp. Life is good. :)
Amy |
Quote:
|
No. Sorry. It's Stefan's mod and he gets the priv. of porting it. Besides, I didn't write down what I was doing when I did it.
Amy |
i will release the ported version when i am back :)
@Bob: the patch of init.php was not nessesary, it was just to enable debugmode when you are logged out as well ;) but let's stop discussing another hack here, this is Live Wires's hack thread. |
Ya get out of here! :p
|
I'm gone! bi-bi ;)
|
Livey, my boy, you're looking at this the wrong way :D The more we talk in here - and it doesn't matter about what cause nobody reads it anyway :D - the higher your mod stays in the list. You have a bug-free hack here. Without us yapping, it would sink like a stone in the forum list.
Amy |
lmao good point. Boofo come back!!!!!!one. :p
|
Great hack Live Wire! Should be standard feature in vB :)
|
Quote:
@Live Wire - thank you Sir. |
LMAO @ Zach
|
is thr any way to enable debugmode in acp just for userid 1? or like tht.. 1,2,3 etc etc
|
PHP Code:
|
hehe tried but even it wont start debug option auch.. Kirby.. requesting u to make a solution.. it would be usefull coz not all the admin need the debug option in acp..
/ping Kirby :P |
Did you change the X to the userid of choice?
|
Quote:
nothing work :( |
Yea, it's because the config.php file is read before those variables take place. I would ask Kirby, he might have an answer for you. :)
|
How about making this a plugin? ;)
If you do, variables in question might start workin'. ;) I'd make some turn on/off option in vbulletin options, with a couple of permissions or something. :) |
Quote:
Oh man great news.. how many minutes i hav to wait? hehe plz make it quick.. either liviwire or Psionic Vision :) |
I believe LiveWire can do it on his own :)
|
Quote:
|
All times are GMT. The time now is 04:15 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|