1. Registration Email Allowed In Our Database :  Yahoo * Gmail * Hotmail * Outlook * yandex * live * are allowed to register in our database. [ We Will Approve Manually After Review It ]

Add-on Title Control 1.7

Allows complete thread title control. Limit length, change case, remove certain characters and more.

  1. XFILES
    Compatible XF Versions:
    • 1.2
    • 1.3
    • 1.4
    • 1.5
    Description:

    Allows complete thread title control. Change case, remove certain characters and more.

    (Example of Options page)

    [​IMG]

    External File:

    The External File option allows the use of a PHP file that can control the final outcome of the thread title.

    Here's an example that will remove the exclamation character:

    Code:
    <?php
    
    // get title
    $title = $this->get('title');
    
    if (substr_count($title, '!') > 0)
    {
        $patterns[0] = '/\!/';
        $replacements[0] = '';
        $title = preg_replace($patterns, $replacements, $title);
    }
    
    // set title
    $this->set('title', $title);
    
    ?>
    Click the Discussion tab for other examples.

    Multibyte:

    This is used for languages that require a Multibyte PHP code.

    Installation:
    1. Download titlecontrol_v1.7.zip and unzip it.
    2. Upload the Andy folder to your server. The correct location is library/Andy.
    3. From your Admin Control Panel, go to the "Install Add-on" page.
    4. Upload the addon-TitleControl_v1.7.xml file.
    5. Click the Install Add-on button.
    External File:

    To find the environment path add this to your URL while viewing the tools tab:

    ?tools/phpinfo.php

    Locate the "DOCUMENT_ROOT" and copy/paste to External File field in the Options page, also add the /misc/TitleControl.php.

    How it works:

    When a new thread or existing thread title is saved, the Title Control add-on will apply changes to the thread title.

    Sending a donation:

    If you like this add-on, please consider sending a small donation. My PayPal email address provided upon request via Private Conversation.

    Thank you.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice