PDA

View Full Version : Hack to stop suport mods from entering password forums w/o a password


Predator668
05-22-2004, 06:36 PM
Will anybody create a hack to stop super moderators from going into a password forum and not being asked for a password? I want them to enter a password.

Predator668
05-23-2004, 11:58 AM
Any replies?

dookie
06-05-2004, 07:40 AM
*Searching for this too*
All moderators and administrators have to enter a password for entering a protected forum.

Brad
06-05-2004, 08:29 AM
In /includes/functions.php find:

if (!$password OR ($permissions['adminpermissions'] & CANCONTROLPANEL) OR ($permissions['adminpermissions'] & ISMODERATOR) OR can_moderate($forumid))
{
return true;
}

Remove it, that will force everyone (admins, supermods, and the mods of that forum) to enter the password before they are allowed in.

dookie
06-05-2004, 08:39 AM
works, thx :)

Brad
06-05-2004, 08:45 AM
works, thx :)
No problem :D