MyBB Community Forums

Full Version: Moderator Permissions
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey guys, is it possible to modify moderators' permissions, and make it that they cannot post in a closed thread? It's really annoying seeing as they're too illiterate to see that.
Open ./showthread.php file and find;


  if($forumpermissions['canpostreplys'] != 0 && $mybb->user['suspendposting'] != 1 && ($thread['closed'] != 1 || is_moderator($fid)) && $mybb->settings['quickreply'] != 0 && $mybb->user['showquickreply'] != '0' && $forum['open'] != 0) 

and Change it into;


   if($forumpermissions['canpostreplys'] != 0 && $mybb->user['suspendposting'] != 1 && ($thread['closed'] != 1) && $mybb->settings['quickreply'] != 0 && $mybb->user['showquickreply'] != '0' && $forum['open'] != 0) 

In this way, you denied the use of quickreply in closed threads for Mods/Admin.