![]() |
Capitalise First Letter of Post/Sentence
I've seen the various "capitalise" mods around the forum, but none work for me.
Hope someone can tell me how to do this. I would like to capitalise the first letter of every post on my forum, and also capitalise the first letter of each sentence. To avoid capitalising in URLs, I want the system to only capitalise after a "FULL STOP+ SPACE", so in other words ". " So links containing .com won't appear as .Com because the Full stop doesn't have a Space after it. Hope you get what I mean. Thanks,:D |
Code:
$sentences = explode('. ', $post['message']); You have the function, now just got to make it into a plugin and find the right place to put it in the code. Good luck... |
All times are GMT. The time now is 05:50 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:
|