1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
Welcome to GadgetBit!

We are a community of technology enthusiats.

If you are already a registered member then you can login here

If you are new to the site then why not join up? It will only take a couple of minutes to register, by doing so all adverts will be removed from the site. You can register here or you can use your Facebook or Twitter account.

Remove Re: from replies

By Creaky · Oct 10, 2015 · Updated Oct 10, 2015 ·
Tags:
  1. Creaky
    Before starting make sure you have a backup of your files.

    Open posting.php

    Find:

    Code:
    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:
    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 and replace your files.

    Share This Article