What's new

XF 2.2 [AndyB] Thread title manager 2.0

No permission to download
Non-VIP members can only download 5 files per day. VIP members can download up to 10 files per day. Enjoy your stay at XFWORLD.NET!
If you have downloaded a resource, please leave a review for it. Thank you.
[AndyB] Thread title manager 2.0
Manages appearance of thread titles.

(Example of Options page)
pic001.jpg


(Example of error message)
pic002.jpg


Features:
All phrases start with threadtitlemanager_ for your convenience.

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

if (substr_count($title, '!') > 0)
{
    $patterns[0] = '/\!/';
    $replacements[0] = '';
    $title = preg_replace($patterns, $replacements, $title);
}

Questions and answers:
Q: Does this change old thread titles, or only new ones after the add-on is installed?
A: Only new or edited thread titles after the add-on is installed.
  • pic001.jpg
    pic001.jpg
    159.1 KB · Views: 13
  • pic002.jpg
    pic002.jpg
    30 KB · Views: 13
Top