Version: 1.00, by Xenon
Developer Last Online: Oct 2023
Version: 2.2.x
Rating:
Released: 06-22-2002
Last Update: 01-10-2004
Installs: 77
No support by the author.
We hope most of you can use it
Sinecure has had the idea, which i thought is something nearly everbody who has ever been a mod wanted to have for a long time
I have to thank sinecure for the good templates, and for finding the funny mistakes i have made *gg*
edit:
nuno, i think we can do something similar for deleted threads too
Ok, basicly this hack does exactly as it says. After you click the "Open/Close Thread" link you will be prompted to enter a reason for closing the thread. After you submit the reason for closing that thread, the reason will appear ABOVE the first post in that thread, in its own seperate box.
Can someone help me... I look into my cod, and see that i have install other hack that can`t work with this hack
It is Remove the Reply link when the thread is closed (by nakkid).
PHP Code:
01. Open showthread.php and find the code:
code:
------------------------------------
if ($thread[open]) {
$replyclose="{replyimage}";
} else {
$replyclose="{closedthreadimage}";
}
------------------------------------
Replace it with:
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")."\";");
}
}
------------------------------------
// Remove the Reply link when the thread is closed
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")."\";");
}
}
// Remove the Reply link when the thread is closed
Can someone help me... I look into my cod, and see that i have install other hack that can`t work with this hack
It is Remove the Reply link when the thread is closed (by nakkid).
PHP Code:
01. Open showthread.php and find the code:
code:
------------------------------------
if ($thread[open]) {
$replyclose="{replyimage}";
} else {
$replyclose="{closedthreadimage}";
}
------------------------------------
Replace it with:
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")."\";");
}
}
------------------------------------
// Remove the Reply link when the thread is closed
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")."\";");
}
}
// Remove the Reply link when the thread is closed