Back to vBulletin 3 Articles

Shout filter - Allow short post shouting
by Turbosport 15 Jan 2006

Just a little quick code hack!

This simply stops short posts from going through the shout filter !

Only 1 edit

10 = lengh of post to skip.

FILE = includes/functions_newpost.php

PHP Code:
// ###################### Start stopshouting #######################
function fetch_no_shouting_text($text)
{
// stops $text being all UPPER CASE
global $vbulletin;
return 
iif($vbulletin->options['stopshouting'] AND $text == strtoupper($text) AND strlen($text) >= 10 ucwords(vbstrtolower($text)), $text);


vblts.ru supports vBulletin®, 2022-2024