- Compatible XF 2.x versions
-
- 2.0
- 2.1
- 2.2
Description:
Provides complete thread title control. Change case, remove certain characters and more.
(Example of Options page)
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:
Provides complete thread title control. Change case, remove certain characters and more.
(Example of Options page)
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);
}