In newreply.php, find:
PHP Code:
// ############################### start post reply ###############################
if ($HTTP_POST_VARS['action']=="postreply") {
// check for subject and message
$message=trim($message);
if ($message=="") {
eval("standarderror(\"".gettemplate("error_nosubject")."\");");
exit;
}
BELOW it add:
PHP Code:
if ($postinfo[title]!="") {
$title="Re: ".htmlspecialchars($postinfo[title]);
}
$title = str_replace("Re: Re: ", "Re: ", $title);
Still in newreply.php, find:
PHP Code:
$title=censortext($title);
$message=censortext($message);
ABOVE it add:
PHP Code:
if ($title=="") {
$title="Re: ".$thread[title];
} else {
$title=$title;
}
$title = str_replace("Re: Re: ", "Re: ", $title);
If you have the multiple quotes hack installed, there is a couple more places you will need it, too. Let me know if you need that also.