Sinecure,
Everything else installed fine except the following. In showthread.php, how would I put the code:
Code:
if ($thread[open]) {
$replyclose="{ replyimage}";
$thread[closereason]="";
} else {
$replyclose="{ closedthreadimage}";
$thread[closereason]=bbcodeparse2($thread[closereason],0,1,1,1);
eval("\$closereason = \"".gettemplate("showthread_closereason")."\";");
}
in what I already have here (and can it be done)?
Code:
if ($thread[open]) {
eval("\$replyopenclosed = \"".gettemplate("showthread_replyopen")."\";");
} else {
if (ismoderator($thread[forumid],'canopenclose')) {
eval("\$replyopenclosed = \"".gettemplate("showthread_replyclosedmod")."\";");
} else {
eval("\$replyopenclosed = \"".gettemplate("showthread_replyclosed")."\";");
}
}