In postings.php replace this:
Code:
if ($action=="stick") {
$threadid=verifyid("thread",$threadid);
$threadinfo=getthreadinfo($threadid);
if (!$threadinfo[visible]) {
$idname="thread";
eval("standarderror(\"".gettemplate("error_invalidid")."\");");
}
if (!ismoderator($threadinfo[forumid],"canmanagethreads")) {
With this:
Code:
if ($action=="stick") {
$threadid=verifyid("thread",$threadid);
$threadinfo=getthreadinfo($threadid);
if (!$threadinfo[visible]) {
$idname="thread";
eval("standarderror(\"".gettemplate("error_invalidid")."\");");
}
if (!$permissions['cancontrolpanel']) {