Log in

View Full Version : prevent shouting lowercasing all Instead Of Doing This


Dream
07-10-2005, 10:00 PM
if you have "prevent shouting" on, vb will capitalize the first letter of words. to make it go all lower case, open functions_newpost.php, find

return iif($vbulletin->options['stopshouting'] AND $text == strtoupper($text), ucwords(vbstrtolower($text)), $text);

replace for

return iif($vbulletin->options['stopshouting'] AND $text == strtoupper($text), vbstrtolower($text), $text);

and upload. ucwords() is bad

jesus likes pie
07-16-2005, 08:06 PM
This would be great if it was a plugin....:\

Dream
07-16-2005, 08:16 PM
This would be great if it was a plugin....:\

no hooks there unfortunately ;/

jesus likes pie
07-16-2005, 08:36 PM
aww damn.

O.K well i already edited some files so i guess there's no harm in installing this one :)


*shudders*

ugh i should install these file editing ones once 3.5 goes gold....that way i wont lose everything that involoves files...whatever

* jesus likes pie clicks install.

dwh
08-15-2005, 04:59 AM
You have my vote to make this part of the standard code.

o0Hubba0o
03-14-2006, 01:35 AM
if you have "prevent shouting" on, vb will capitalize the first letter of words. to make it go all lower case, open functions_newpost.php, find

For less experienced people you might want to change that to let them know that file is in the includes folder.

I'm gOIng tO gIvE thIs a TrY cUZ I hatE thiS TyPE of TypiNg, ANd prEveNt shOutiNG doESn'T stOp IT.

EDIT: Nope, won't work unless the first and all following letters are capitol.