This section contains detailed articles elaborating on some of the common issues phpBB users encounter while using the product. Articles submitted by members of the community are checked for accuracy by the relevant phpBB Team. If you do not find the answer to your question here, we recommend looking through the Support Section as well as using the Site Wide Search.

Remove RE: from replies

Description: Here is how to remove the RE: from replies.

In Categories:

Link to this article: Select All
[url=https://www.phpbb.com/support/docs/en/3.1/kb/article/remove-re-from-replies/]Knowledge Base - Remove RE: from replies[/url]

First make a full backup of your forums.

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.