I am trying to make it so i can limit which usergroup doesn't need to have password to access their section but i keep messing it up.
PHP Code:
global $permissions, $usergroupcache, $bbuserinfo, $stylevar, $scriptpath;
PHP Code:
if (!$password OR ($permissions['adminpermissions'] & CANCONTROLPANEL) OR ($permissions['adminpermissions'] & ISMODERATOR) OR can_moderate($forumid) OR <b>!($usergroupcache["$USERGROUPID"]['forumpermissions'] & NOPASSWORD)</b>)
i just can't figure out what to set so it looks at my forumspermissingroup and see if it says to bypass password or not.