drumstix42 wrote: I saw a mod once that if a topic was in all caps it would change the first letter of each word to upercase and the rest lower case.
Isn't that just a default PHP function?
drumstix42 wrote: ucwords -- Uppercase the first character of each word in a string
The only problem with your mod here, is that it does it for the post no matter what. So if they type stuff in lower case.. or a word it meant to be uppercase it will be changed
drumstix42 wrote: The only problem with your mod here, is that it does it for the post no matter what. So if they type stuff in lower case.. or a word it meant to be uppercase it will be changed
RadioFlyer wrote: I'd suggest having two admin settings...
1) An admin definable minimum percentage of the post which is in caps before the caps are changed. Example... If this is set to 25%, any post under 25% caps would not be affected by this mod. Any post over 25% caps would have all caps except the first letter of each sentence changed to lower case.
2) An admin definable minimum length of the post before the caps are changed to lower case. This way short posts would not be affected by the mod.