Ok, g-force2k2, buddy, here I am looking for my daily "fix" from you.
Here is the code I have in the showthread.php:
Code:
if ($thread[open]) {
$closereason="";
eval("\$replyopenclosed = \"".gettemplate("showthread_replyopen")."\";");
} else {
$thread[closereason]=bbcodeparse2($thread[closereason],0,1,1,1);
eval("\$closereason = \"".gettemplate("showthread_closereason")."\";");
if (ismoderator($thread[forumid],'canopenclose')) {
eval("\$replyopenclosed = \"".gettemplate("showthread_replyclosedmod")."\";");
} else {
eval("\$replyopenclosed = \"".gettemplate("showthread_replyclosed")."\";");
}
}
And here is the code you want me to replace it with:
Code:
// +++++++ Super Close Thread Hack [ g-force2k2 ] +++++++
if(($thread[open] == 0) OR ($thread[open] == 2)) {
$replyclose='https://vborg.vbsupport.ru/images/threadclosed.gif';
} else {
$replyclose='https://vborg.vbsupport.ru/images/reply.gif';
}
// +++++++ Super Close Thread Hack [ g-force2k2 ] +++++++
Ok, now, how do I incorporate your code into what I have so everything stays working? Everything else in the install file went in without a hitch.