Doesn't "Automatically Adjust Case of Discussion Titles" to "Sentence Case" already do that for you? Or do you want to force it on the post content also?
Never mind, I guess you want it on the post content, after re-reading the title, lol
Technically this won't work for proper nouns and acronyms and such. So I might recommend not doing the lowercase part. But the first-letter upercase makes sense to me.
Could do a check first to see if all letters in a post are capitalized and only then convert it to sentence case since the goal is simply to prevent shouting (a post with all caps).
Non custom addon path:
Step 1. Use CSS to convert all sentences as you want it to be.
Step 2. To handle acronyms, use one of the many keyword replace addons on here so they are capitalised etc. You will need to feed all the used acronyms into the addon though. Keyword replace addons are a must have anyway with most having link attribute properties to redirect your users to other knowledge sections within a site.
Non custom addon path:
Step 1. Use CSS to convert all sentences as you want it to be.
Step 2. To handle acronyms, use one of the many keyword replace addons on here so they are capitalised etc. You will need to feed all the used acronyms into the addon though. Keyword replace addons are a must have anyway with most having link attribute properties to redirect your users to other knowledge sections within a site.
In some case could be useful add a class to messageText (if the user is in a specific usergroup) so this can be used on specific user that use only CAPITAL LETTERS.
A better solution would be convert them and write on the DB.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.