![]() |
CES Debug Mode Switcher
1 Attachment(s)
CES DEBUG MODE SWITCHER
Version: 1.1.0 vBulletin 3.6.x, 3.7.x, 3.8.x supported *** NEWS *** 4/13/2009 - created 3.8.x thread Products to Install: 1 Files to Upload: 1 Template Edits: 0 Files to Edit: 1 What It Does: Allows enabling/disabling of Debug Mode in the AdminCP. Allows Debug Mode activation using Usergroup Permissions. Query Explain works! What makes it different from other similar mods that turn on Debug Mode in the ACP? This one does require you to edit config.php (ONCE), but let me repeat the above... Query Explain works, and like the debug info, it uses the Usergroup Permissions. As of the new version, no queries are added. Known Issues:
*** Changelog *** As of Version 1.1.0: - updated: reduced file edits - updated: increased code efficiency * This mod is offered for free here. Please donate if you like this mod * |
Nice work, thank you!
Installed |
You didn't have t add so much code,query explain works with just enabling the debug mode in config.php.
|
Except then everyone can see it. The point of this mod is to add Usergroup Permissions for it, not simply turn it on or off. This way, for example, you can have debug mode enabled all the time, but only your admins can see it. Additionally, the query explain is not available to any user who knows to add &explain=1 to the URL, because it still uses permissions there too. The debug table at the bottom of the page was also expanded to include some information that was left out of the default table.
|
Not true ;),you can look at how my plugin works.
|
In truth this mod used to do it that way, but some of the output was missing on query explain (explain had not been active during datastore fetches etc). We had to turn it on earlier and use output handlers so as not to lose that info.
|
Oh OK.
|
Installed!
Thank you! |
Just out of curiosity, is Debug Mode supposed to be on in the ACP all the time? I noticed it was active before I set any permissions and before I even switched it on in Options.
|
After you make the file edit, Debug Mode is on all the time. Once set, the permissions and options will modify this on the fly.
|
All times are GMT. The time now is 08:42 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:
|