andrewua
Private
- Tham gia
- 04/01/2021
- Bài viết
- 44
- Được Like
- 19
Description:
Provides complete thread title control. Change case, remove certain characters and more.
(Example of Options page)
Installation:
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:
Provides complete thread title control. Change case, remove certain characters and more.
(Example of Options page)
Installation:
- Download Andy-TitleControl-1.3.zip and unzip it.
- Copy the src/addons/Andy/TitleControl directory to your server.
- From the Admin Control Panel Install the add-on.
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:
<?php
if (substr_count($title, '!') > 0)
{
$patterns[0] = '/\!/';
$replacements[0] = '';
$title = preg_replace($patterns, $replacements, $title);
}
Đính kèm
Bài viết liên quan
Được quan tâm
Bài viết mới