Back to vBulletin 3.0 Add-Ons

Denied Symbol In a new thread
Mod Version: 1.0.1, by iSpanish

This modification is in the archives.
vB Version: 3.0.7 Rating: (1 vote - 5.00 average) Installs: 4
Released: 21 May 2005 Last Update: 23 May 2005 Downloads: 2
Not Supported  

Hi there
This is my Second hack

As requested here

Spoiler (click to open)


How can I use this hack to check for "thread titles". My members tend to use a lot of the symbols to attract attention which clutters my forum.

Close


What does this hack do?
In the new thread page it checks if the subject have a denied symbol or not. If the user enter any symbol from this + = _ # $ ^ * will get a message telling user to change the desired thread title.

Updated on 22/5/2005
Thanks to Aurous for fixing the error ( extra ";") on the denied_threadtitle.php file.

for update just replace includes/denied_threadtitle.php with the new one from attachment.

install this hack?
just upload 1 file to includes folder.
Edit functions_newpost.php file.
That's all.

1.
Open includes/functions_newpost.php
Find:

PHP Code:
$post['title'] = trim(preg_replace('/&#0*32;/'' '$post['title'])); 
Below add:

PHP Code:
 // # Denied symbol from new thread[strat]
    
require('denied_threadtitle.php');
 
// # Denied symbol from new thread[end] 
Save & uplaod includes/functions_newpost.php

2.
Upload denied_threadtitle.php (from attachment) to includes file.

Demo:
Look to the screenshot.

Please don't forget to click install

Download

This modification is archived and cannot be downloaded.

Screenshots

 

Similar Mods

Denied Symbol&Numbers Registration vBulletin 3.0 Full Releases

vblts.ru supports vBulletin®, 2022-2024