Solved: 3 Years, 10 Months, 3 Weeks, 5 Days, 21 Hours, 55 Minutes, 33 Seconds ago Closed Forums
#1
Solved: 3 Years, 10 Months, 3 Weeks, 5 Days, 21 Hours, 55 Minutes, 33 Seconds ago Exclamation 
I think Closed forums still should be open tu admins for post/edit etc. but they are not. Why?
#2
Solved: 3 Years, 10 Months, 3 Weeks, 5 Days, 21 Hours, 55 Minutes, 33 Seconds ago
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.
Dennis Tsang
http://dennistt.net
#3
Solved: 3 Years, 10 Months, 3 Weeks, 5 Days, 21 Hours, 55 Minutes, 33 Seconds ago
(08-13-2008, 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.
#4
Solved: 3 Years, 10 Months, 3 Weeks, 5 Days, 21 Hours, 55 Minutes, 33 Seconds ago
The first one.
#5
Solved: 3 Years, 10 Months, 3 Weeks, 5 Days, 21 Hours, 55 Minutes, 33 Seconds ago
How to disable posting in closed threads for admins and moderators?
#6
Solved: 3 Years, 10 Months, 3 Weeks, 5 Days, 21 Hours, 55 Minutes, 33 Seconds ago
Please make a separate thread instead of bumping 3 years old.

(03-24-2011, 10:44 AM)Thorondor Wrote:  How to disable posting in closed threads for admins and moderators?

Open showthread.php file and find;
PHP Code:
    if($forumpermissions['canpostreplys'] != && $mybb->user['suspendposting'] != && ($thread['closed'] != || is_moderator($fid)) && $mybb->settings['quickreply'] != && $mybb->user['showquickreply'] != '0' && $forum['open'] != 0

and Change it to;
PHP Code:
    if($forumpermissions['canpostreplys'] != && $mybb->user['suspendposting'] != && ($thread['closed'] != 1) && $mybb->settings['quickreply'] != && $mybb->user['showquickreply'] != '0' && $forum['open'] != 0

This'll remove `quickreply` from showthread pages.

Now to disable `Full Reply`, open newreply.php and find;
PHP Code:
// 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;
PHP Code:
// Check to see if the thread is closed.
if($thread['closed'] == 1)
{
    
error($lang->redirect_threadclosed);


This will deny the reply in Closed threads. Wink


Forum Jump:


Users browsing this thread: 1 Guest(s)