Resource icon

Title control 1.4

No permission to download
Compatible XF Versions
  1. 2.0.x
  2. 2.1.x
  3. 2.2.x
Description:

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

(Example of Options page)


03202121_04.jpg




Installation:

  1. Download Andy-TitleControl-1.3.zip and unzip it.
  2. Copy the src/addons/Andy/TitleControl directory to your server.
  3. From the Admin Control Panel Install the add-on.
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

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

?>

Click the Discussion tab for other examples.
Author
anne51
Views
73
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from anne51