Something tiny: Password protect your forums from Mods + Supermods too!
This modification is in the archives.
By default, when a forum is password protected, mods and supermods can still access with out a password, so last nite i fixed it (looked around, couldnt find anything similiar!)
Find (in functions.php) Code:
if (!$password OR ($permissions['adminpermissions'] & CANCONTROLPANEL) OR ($permissions['adminpermissions'] & ISMODERATOR) OR can_moderate($forumid)) Code:
if (!$password OR ($permissions['adminpermissions'] & CANCONTROLPANEL)) Umm, admins can still access it w/o a pass (if you want, i can, or anyone really, change it so admins must enter the pass too!) Remember, backup all your data etc... im not responsible for anything (hopefully noone rlsd this before, i couldnt find it!) Download No files for download. |