![]() |
Debug-mode in Admin-CP and for super admins only
Ok, this hack enables the debug mode in your Admin-CP only (not on the user-side) and limited to super-admins there. In other words: You have to be in your ACP and listed as a super-admin to 'see' the and use debug-mode.
I think it's quite useful to be able to fiddle around with your MASTER-style, -settings on your online forum and so on, without displaying the debug-stuff for everyone else. To apply this hack do the following: find in /forum/admincp/global.php: PHP Code:
PHP Code:
Note: I haven't tested this, but I suppose you can apply the same to /forum/global.php if you want to enable this everywhere on your forum, but still for super-admins only. |
Nice job :)
|
i still like my enable debug mode more.
it does the same, but works on cookiebase, so you can use it logged out as well, which is usefull when checking for differnt templates.. |
So what do I get from this?
Any screenshots, I don't get it .... And yes - it would be fine if super admin could log as user in the vB3 Gold by default ... |
add $debug = 1; to your config.php and you can see it ;)
What I've done was limiting it to the admincp and super-admins |
Installed. Definitely useful indeed. good job.
|
Quote:
Not all debug-messages will appear in the ACP, but I personally don't need the debug-messages. Access to the MASTER-stuff is much more important to me ... |
One more tip :)
If you will add one yesno setting with var for example show_debug and write (in same place - after sessions.php include) in global.php in root vb folder PHP Code:
|
does not work :(
|
What 'does not work' ?
|
nothing i need to do 0 on the debug
now ist"s work tnx! |
All times are GMT. The time now is 07:35 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:
|