Addon 2x AndyB Title control 1.4

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)
title-control.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:
PHP:
PHP:
<?php

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

Đính kèm

  • Andy-TitleControl-1.4.zip
    16.3 KB · Lượt xem: 10

Hướng dẫn sử dụng

XenForo 1 XenForo 2
Translate by PVS

Dịch vụ XenForo của VNXF

Mobile/Zalo: 0906081284

Telegram: anhanhxf

Chỉ nhận web nội dung lành mạnh

Nhà Tài Trợ

Mút Xốp Không Gian
Mút Sofa Không Gian
Top Bottom