Adding "Re:" to topic [message #26042] |
Sat, 02 July 2005 18:04 |
BobB
Messages: 165 Registered: April 2005 Location: Tucson, AZ
Karma: 0
|
Senior Member |
|
|
Is there a way to set the forum to NOT add "Re:" to the subject/topic in replies? With topics going back and forth between the forum and the mailing list, they add up fast.
There has already been one case of a mailing list user manually deleting them from subject lines, which caused his replies to be mis-threaded on the forum. He did so because he was tired of seeing subject lines like "Re: Re: RE: Re: Re: RE: Re: Subject".
|
|
|
|
|
|
|
Re: Adding "Re:" to topic [message #26105 is a reply to message #26101] |
Mon, 04 July 2005 23:04 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
What you were removing was the indexing code...
What you want is something like this
<?php $this->subject = str_replace('Re: ', '', $this->subject); ?>
FUDforum Core Developer
|
|
|
Re: Adding "Re:" to topic [message #26127 is a reply to message #26105] |
Tue, 05 July 2005 20:33 |
BobB
Messages: 165 Registered: April 2005 Location: Tucson, AZ
Karma: 0
|
Senior Member |
|
|
Ilia wrote on Mon, 04 July 2005 18:04 | What you were removing was the indexing code...
What you want is something like this
<?php
$this->subject = str_replace('Re: ', '', $this->subject);
?>
|
Where would this go? I tried pasting it into a couple of locations within the file, but couldn't get it to work.
Sorry, I'm not a php programmer. If I ever get the time, I'd like to study it.
|
|
|