Back to vBulletin 3.0 Add-Ons

Debug-mode in Admin-CP and for super admins only
Mod Version: 1.00, by Stadler

This modification is in the archives.
vB Version: 3.0.0 Rating: (0 vote - 0 average) Installs: 10
Released: 06 Feb 2004 Last Update: Never Downloads: 1
Not Supported  

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:
require_once('./includes/sessions.php'); 
add after that:
PHP Code:
// ###################### Enable debug mode for super administrators #######################
if (in_array($bbuserinfo['userid'], preg_split('#\s*,\s*#s'$superadministrators, -1PREG_SPLIT_NO_EMPTY)))
{
    
$debug 1;

and you're done

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.

Download

No files for download.

Similar Mods

KX - Debug Mode vBulletin 3.8 Add-ons

vblts.ru supports vBulletin®, 2022-2024