The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
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? |
#2
|
|||
|
|||
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.
|
#3
|
||||
|
||||
And if you want to do that for the whole message, add this code:
Code:
if ($bbcode == strtoupper($bbcode)) { $bbcode = ucwords(strtolower($bbcode)); } Code:
$dobbcode=$forum[allowbbcode]; } |
#4
|
||||
|
||||
And to make only the first letter of a sentence uppercase you could change this:
PHP Code:
PHP Code:
|
#5
|
||||
|
||||
Nope, that won't work Sparkz. And it will also remove all the "." from it.
|
#6
|
||||
|
||||
BTW you can use ucfirst() instead of ucwords() to get the first character capitalized (in the text, not the first in each sentence).
|
#7
|
||||
|
||||
Thanks FireFly.
Now "ONE TWO THREE" looks like "One Two Three." I'd rather have it all lowercase... is that possible? |
#8
|
||||
|
||||
PHP Code:
|
#9
|
||||
|
||||
Quote:
|
#10
|
||||
|
||||
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?
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|