![]() |
Preventing all caps in message?
Has this been done yet? I did a search for "caps" and this didn't turn up.
I have one member who has her caps lock permanently on, and it's annoying. Is there some way to turn it off, from my end? |
go to you vBulletin admin panel then into vBulletin Options you need to then click the [Thread display options] options link and turn Stop 'Shouting' in titles to Yes.
|
And if you want to do that for the whole message, add this code:
Code:
if ($bbcode == strtoupper($bbcode)) { Code:
$dobbcode=$forum[allowbbcode]; |
And to make only the first letter of a sentence uppercase you could change this:
PHP Code:
PHP Code:
|
Nope, that won't work Sparkz. :) And it will also remove all the "." from it.
|
BTW you can use ucfirst() instead of ucwords() to get the first character capitalized (in the text, not the first in each sentence).
|
Thanks FireFly.
Now "ONE TWO THREE" looks like "One Two Three." I'd rather have it all lowercase... is that possible? |
PHP Code:
|
Quote:
|
Thanks Sparkz! I can deal with the lack of whitespace, but the code also adds an extra period at the end. Is there anything that can be done about that?
|
All times are GMT. The time now is 09:08 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|