PDA

View Full Version : Custom thread close


Platinum [JSI]
01-31-2003, 02:45 PM
Ok ive looked around and seen soimalar things however nothing to my exact needs.

What im after is once the thread is closed then somewhere probably after the thread title a message is dispalyed such as "Resolved", this to be seen when people are browsing the forum and not when they are in the thread.

Xenon
02-01-2003, 10:29 AM
try that:
open forumdisplay.php find: while ($thread=$DB_site->fetch_array($threads)) { // and $counter++<$perpage) {
$thread['movedprefix'] = '';

and change to:
while ($thread=$DB_site->fetch_array($threads)) { // and $counter++<$perpage) {
$thread['movedprefix'] = '';
if($thread['open'] == 0) $thread['movedprefix'] = 'Resolved';

Platinum [JSI]
02-03-2003, 09:31 AM
]Cheers worked a treat, you are the man :D

Xenon
02-03-2003, 02:59 PM
:)
you're welcome :)

JohnBee
06-29-2006, 02:44 PM
This is awesome! - is there any way to do this for specific forums?