The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Force the first character in the thread title to be uppercase
I would like to be able to force the first character in the thread title to be uppercase?
|
#2
|
|||
|
|||
// ### newthread.php ###
Find: PHP Code:
PHP Code:
|
#3
|
|||
|
|||
That works perfect! I'll let you know if there are any issues or problems.
I used... Code:
$newpost['title']=strtoupper($_POST['subject']{0}).substr($_POST['subject'], 1); Thank you! |
#4
|
|||
|
|||
d'oh~
Yes, newthread.php. Got that people?!? *shakes fist* *edits* You're welcome, hope it works fully. |
#5
|
|||
|
|||
A better solution to this would be: ucfirst($your_string_here['something']);
Much easier. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|