Remove RE: from replies
Description: Here is how to remove the RE: from replies.
In Categories: Modifications
- Link to this article: Select All
[url=https://www.phpbb.com/support/docs/en/3.0/kb/article/remove-re-from-replies/]Knowledge Base - Remove RE: from replies[/url]
Then follow these easy instrutions:
Open posting.php
FIND:
Code: Select all
if (($mode == 'reply' || $mode == 'quote') && !$submit && !$preview && !$refresh)
{
$post_data['post_subject'] = ((strpos($post_data['post_subject'], 'Re: ') !== 0) ? 'Re: ' : '') . censor_text($post_data['post_subject']);
}
REPLACE WITH:
Code: Select all
if (($mode == 'reply' || $mode == 'quote') && !$submit && !$preview && !$refresh)
{
$post_data['post_subject'] = ((strpos($post_data['post_subject'], 'Re: ') !== 0) ? '' : '') . censor_text($post_data['post_subject']);
}
Save replace file.