The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Auto capitalizing first letter of topic title?
I want my board to automatically capitalize topic titles. For example if a user starts a new thread with the title "hello this is me" the software will automatically convert it to "Hello this is me", i.e. a capital 'H'.
I came up with a solution myself, which is to edit the newthread.php file. PHP Code:
Thanks |
#2
|
|||
|
|||
No file edit needed. Make a plugin that hooks to 'newthread_post_start' with the following content:
Code:
$vbulletin->GPC['subject'] = ucfirst($vbulletin->GPC['subject']); |
#3
|
||||
|
||||
Great suggestion, thanks a lot calorie.
For those of you who see this thread and implement the idea (which I personally feel would be a 'neat' option in vB options) don't forget to enable the plugin system otherwise it won't work - obvious I know but it's off by default. |
#4
|
|||
|
|||
You can also do this with CSS
|
#5
|
|||
|
|||
can anyone share the right way to do this? or is the OP's way just fine? id appreciate it..
Lenny |
#6
|
|||
|
|||
Quote:
Any other suggestions people? |
#7
|
|||
|
|||
people?
|
#8
|
|||
|
|||
Quote:
|
#9
|
|||
|
|||
<a href="http://www.vbulletin.com/docs/html/add_plugin" target="_blank">http://www.vbulletin.com/docs/html/add_plugin</a>
|
#10
|
|||
|
|||
This definitely works, thanks Calorie.
Here's the plugin. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|