2007-02-10, 09:29 PM
2007-02-10, 09:59 PM
Open newreply.php
Find
now open showthread.php
find
ALso find
regards
Find
if(is_moderator($fid, "caneditposts") != "yes")
{
if($thread['closed'] == "yes")
{
error($lang->redirect_threadclosed);
}
}
replace withif($thread['closed'] == "yes")
{
error($lang->redirect_threadclosed);
}
now open showthread.php
find
// Show the appropriate reply button if this thread is open or closed
if($thread['closed'] == "yes")
replace with// Show the appropriate reply button if this thread is open or closed
if($thread['closed'] == "yes" && $ismod == true)
ALso find
if($forumpermissions['canpostreplys'] != "no" && ($thread['closed'] != "yes" || is_moderator($fid) == "yes") && $mybb->settings['quickreply'] != "off" && $mybb->user['showquickreply'] != "no" && $forum['open'] != "no")
replace with if($forumpermissions['canpostreplys'] != "no" && $thread['closed'] != "yes" && $mybb->settings['quickreply'] != "off" && $mybb->user['showquickreply'] != "no" && $forum['open'] != "no")
regards
2007-02-10, 10:59 PM
Thanks Zaher. That's a lot of changes... think I'll try turning that into a plugin
2007-02-11, 04:33 AM
What's the use in that if the mod/admin can open the thread, post a reply, then lock the thread?
2007-02-11, 12:14 PM
Quote:What's the use in that if the mod/admin can open the thread, post a reply, then lock the thread?
NOT MY FAULT i did what was requested
but good point i thought about it