29.08.2014, 16:11
Suche in der Plugin Datei nach (ab Zeile 89 - 96)
und ersetze es mit
PHP-Code:
if(basename($_SERVER['PHP_SELF']) == "showthread.php") {
if($thread['threadsolved'] != "1" && ($mybb->user['uid'] != 0 && ($mybb->user['uid'] == $thread['uid'] || $mybb->user['usergroup'] == "4" || $mybb->user['usergroup'] == "3"))) {
$threadsolved_button = "<a href=\"showthread.php?tid=".$thread['tid']."&marksolved=1\"><img src=\"".$theme['imglangdir']."/solved.gif\" border=\"0\" alt=\"\" /></a> ";
}
if($thread['threadsolved'] == "1" && ($mybb->user['uid'] != 0 && ($mybb->user['uid'] == $thread['uid'] || $mybb->user['usergroup'] == "4" || $mybb->user['usergroup'] == "3"))) {
$threadsolved_button = "<a href=\"showthread.php?tid=".$thread['tid']."&marksolved=0\"><img src=\"".$theme['imglangdir']."/notsolved.gif\" border=\"0\" alt=\"\" /></a> ";
}
}
und ersetze es mit
PHP-Code:
if(basename($_SERVER['PHP_SELF']) == "showthread.php") {
if($thread['threadsolved'] != "1" && ($mybb->user['uid'] != 0 && ($mybb->user['uid'] == $thread['uid'] || $mybb->user['usergroup'] == "4" || $mybb->user['usergroup'] == "3"))) {
$threadsolved_button = "<a href=\"showthread.php?tid=".$thread['tid']."&marksolved=1\" class=\"newthbutton\">Erledigt</a> ";
}
if($thread['threadsolved'] == "1" && ($mybb->user['uid'] != 0 && ($mybb->user['uid'] == $thread['uid'] || $mybb->user['usergroup'] == "4" || $mybb->user['usergroup'] == "3"))) {
$threadsolved_button = "<a href=\"showthread.php?tid=".$thread['tid']."&marksolved=0\" class=\"newthbutton\">Nicht Erledigt</a> ";
}
}
Mit freundlichen Grüßen
MrBrechreiz
MrBrechreiz