2008-08-13, 07:34 PM
2008-08-13, 07:36 PM
You can use forum permissions for that purpose. The "Closed" and "Active" are simple switches to disable posting from anybody, and hiding forums from everybody without having to mess around with permissions.
2008-08-13, 07:40 PM
(2008-08-13, 07:36 PM)DennisTT Wrote: [ -> ]You can use forum permissions for that purpose.
Use forum permission (instead of Closing it) to close forums from anybody except admins? Or to allow admins to post to Closed forums? please clarify.
2008-08-13, 07:46 PM
The first one.
2011-03-24, 10:44 AM
How to disable posting in closed threads for admins and moderators?
2011-03-24, 10:57 AM
Please make a separate thread instead of bumping 3 years old.
Open showthread.php file and find;
and Change it to;
This'll remove
Now to disable
and change it to;
This will deny the reply in Closed threads.
(2011-03-24, 10:44 AM)Thorondor Wrote: [ -> ]How to disable posting in closed threads for admins and moderators?
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 to;
if($forumpermissions['canpostreplys'] != 0 && $mybb->user['suspendposting'] != 1 && ($thread['closed'] != 1) && $mybb->settings['quickreply'] != 0 && $mybb->user['showquickreply'] != '0' && $forum['open'] != 0)
This'll remove
quickreply
from showthread pages.Now to disable
Full Reply
, open newreply.php and find;// Check to see if the thread is closed, and if the user is a mod.
if(!is_moderator($fid, "caneditposts"))
{
if($thread['closed'] == 1)
{
error($lang->redirect_threadclosed);
}
}
and change it to;
// Check to see if the thread is closed.
if($thread['closed'] == 1)
{
error($lang->redirect_threadclosed);
}
This will deny the reply in Closed threads.