Current time: 04-24-2014, 11:01 AM Hello There, Guest! (LoginRegister)


Closed Forums
08-13-2008, 07:34 PM
Post: #1
Solved: 3 Years, 6 Months, 3 Weeks, 2 Days, 20 Hours, 56 Minutes, 32 Seconds ago Exclamation Closed Forums
I think Closed forums still should be open tu admins for post/edit etc. but they are not. Why?
Find all posts by this user
08-13-2008, 07:36 PM
Post: #2
Solved: 3 Years, 6 Months, 3 Weeks, 2 Days, 20 Hours, 56 Minutes, 32 Seconds ago RE: Closed Forums
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
Find all posts by this user
08-13-2008, 07:40 PM
Post: #3
Solved: 3 Years, 6 Months, 3 Weeks, 2 Days, 20 Hours, 56 Minutes, 32 Seconds ago RE: Closed Forums
(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.
Find all posts by this user
08-13-2008, 07:46 PM
Post: #4
Solved: 3 Years, 6 Months, 3 Weeks, 2 Days, 20 Hours, 56 Minutes, 32 Seconds ago RE: Closed Forums
The first one.

The Mercenary X Clan - http://mercx.exofire.net
Visit this user's website Find all posts by this user
03-24-2011, 10:44 AM
Post: #5
Solved: 3 Years, 6 Months, 3 Weeks, 2 Days, 20 Hours, 56 Minutes, 32 Seconds ago RE: Closed Forums
How to disable posting in closed threads for admins and moderators?
Find all posts by this user
03-24-2011, 10:57 AM
Post: #6
Solved: 3 Years, 6 Months, 3 Weeks, 2 Days, 20 Hours, 56 Minutes, 32 Seconds ago RE: Closed Forums
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

[Image: 16mJ9bI]
MyBBsmsAPP | MyStatus | ProProfile
Visit this user's website Find all posts by this user


Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us | MyBB | Return to Top | Return to Content | Lite (Archive) Mode | RSS Syndication