27.05.2006, 12:14
Tja, jetzt ist da zwar für die Mods kein "Antwort"-Button mehr, sondern ein "Geschlossenes Thema"-Button, aber wenn sie auf den klicken, dann können sie immer noch antworten.
if($forum['open'] != "no") {
eval("\$newthread = \"".$templates->get("showthread_newthread")."\";");
if($thread['closed'] != "yes" || ismod($fid) == "yes") {
eval("\$newreply = \"".$templates->get("showthread_newreply")."\";");
} else {
eval("\$newreply = \"".$templates->get("showthread_newreply_closed")."\";");
}
}
if($forumpermissions['canpostreplys'] != "no" && ($thread['closed'] != "yes" || ismod($fid) == "yes") && $mybb->settings['quickreply'] != "off" && $mybb->user['showquickreply'] != "no" && $forum['open'] != "no") {
if(ismod($fid, "caneditposts") != "yes")
{
if($thread['closed'] == "yes")
{
redirect("showthread.php?tid=$tid", $lang->redirect_threadclosed);
}
}
//if(ismod($fid, "caneditposts") != "yes") // Moderatoren können nicht mehr auf geschlossene Themen antworten
//{
if($thread['closed'] == "yes")
{
redirect("showthread.php?tid=$tid", $lang->redirect_threadclosed);
}
//}
Susanne schrieb:Im Prinzip klappt es, aber jetzt kann auch ich nicht mehr antworten.
if($mybb->user['usergroup'] != "4")
{
if($thread['closed'] == "yes")
{
redirect("showthread.php?tid=$tid", $lang->redirect_threadclosed);
}
}
if($forumpermissions['canpostreplys'] != "no" && ($thread['closed'] != "yes" || ismod($fid) == "yes") && $mybb->settings['quickreply'] != "off" && $mybb->user['showquickreply'] != "no" && $forum['open'] != "no") {
if($forumpermissions['canpostreplys'] != "no" && ($thread['closed'] != "yes") && $mybb->settings['quickreply'] != "off" && $mybb->user['showquickreply'] != "no" && $forum['open'] != "no") {
if(ismod($fid, "caneditposts") != "yes")
{
if($thread['closed'] == "yes")
{
redirect("showthread.php?tid=$tid", $lang->redirect_threadclosed);
}
}
if($mybb->user['usergroup'] != "4")
{
if($thread['closed'] == "yes")
{
redirect("showthread.php?tid=$tid", $lang->redirect_threadclosed);
}
}
if($forumpermissions['canpostreplys'] != "no" && ($thread['closed'] != "yes" || is_moderator($fid) == "yes") && $mybb->settings['quickreply'] != "off" && $mybb->user['showquickreply'] != "no" && $forum['open'] != "no")
{
if($forumpermissions['canpostreplys'] != "no" && ($thread['closed'] != "yes") && $mybb->settings['quickreply'] != "off" && $mybb->user['showquickreply'] != "no" && $forum['open'] != "no") {
if(is_moderator($fid, "caneditposts") != "yes")
{
if($thread['closed'] == "yes")
{
error($lang->redirect_threadclosed);
}
}
if($mybb->user['usergroup'] != "4")
{
if($thread['closed'] == "yes")
{
redirect("showthread.php?tid=$tid", $lang->redirect_threadclosed);
}
}