• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
Title Control

Title Control 1.7

No permission to download
Compatible XF 1.x 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)

pic001.jpg


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:

PHP:
<?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.

https://www.paypal.me/andybajka

Thank you.
Author
AndyB
Downloads
205
First release
Last update
Rating
5.00 star(s) 9 ratings

More resources from AndyB

  • Member Notes
    Member Notes
    Allows staff to create member notes.
  • Similar threads
    Similar threads
    Shows a list of similar threads when a user is creating or viewing a thread.
  • Trader
    Trader
    Allows giving feedback on sellers and buyers.
  • Most posts
    Most posts
    Displays a Most Posts widget.
  • Most likes
    Most likes
    Displays a Most likes widget.

Latest updates

  1. See description

    Title Control v1.7 changes: Removed Option to add "Poll:" to title because of a conflict during...
  2. See description.

    Title Control v1.6 changes: Removed thread title field in options. This didn't work very well...
  3. See description.

    Title Control v1.5 changes: Added Poll in Options. Allows adding a phrase if the thread...

Latest reviews

In my case, the addon work as intended and @AndyB is a kind person and a great developer.
He is always ready to help us and I really want to say him, thank you, AndyB.
Great add-on. Does exactly as advertised with minimal of fuss... makes the core Title Control option completely redundant. This should be implemented in the Core.
All I need. Thanks.
My users are human beings so this add-on is extremely useful. Thanks AndyB!
Very handy! Thanks for sharing with the community
It's work perfectly. Thanks so much, AndyB.
Very useful add-on.
Thank you very much.
Excellent resource Andy!
Thank you very much for helping me out, and providing a very useful addon for the Community.
This add-on really takes thread title control to the next level. Andy is right there with assistance and support when you need it. Once people get into it I imagine there will be a number of control files available so you won't have to come up with them yourself.