![]() |
Thread title first character uppercase
I like to see the thread title always start with an uppercase. I was able to figure out how to do this in newthread.php
In v3.5.0 beta 4 I added to line 133 this code... Code:
$newpost['title'] = strtoupper($newpost['title']{0}).substr($newpost['title'], 1); Can someone who understands editpost.php better take a look and see where I can add code to make edited thread titles always start with an uppercase character. Thank you. :) |
Just at a quick glance, but take a look around line 387
PHP Code:
|
*** Untested ***
Hookname: threadfpdata_presave PHP Code:
PHP Code:
PHP Code:
|
Hi Andy,
You may want to remove the code edits and try Kirby's suggestions. If what he is thinking will work, then it will be 2 less files that you have to fiddle with on upgrades. Personally, I can't wait until I have a handle on the new plugin system. I am still in find-code-modify-code mode. :p |
Thank you Christine for your time. :)
Kirby your awesome, that worked perfect. :) :up: |
Andy,
No problem. Don't know why you deleted your post, but don't forget to take out the code edits you made. That would be a Christine move. Heh. |
Hi Christine,
The Automerged Doublepost hack had me all confused. What PITA that is, people should be able to post twice in a row. |
Quote:
People posting several times in a row are a PITA! Prevent Doubleposting is one of the best Hacks ever. |
Quote:
|
Great that I labeled it untested :D
Hookname: threaddata_presave PHP Code:
|
Quote:
I still believe that you should be able to reply to specific posts, not forcing you to "automerge" 2 posts. |
Quote:
I really dislike the "automerge" function. What is the logic behind it? Is it suppose to save space? When was this hack implemented? ---------------------------------------------------------------- New post starts here Quote:
Thanks again for your time. :) |
Actually, I like auto merge for 90% of the time because of bumps, but I heartily agree about responding to posts.
My comments were in response to a post prior to mine (since deleted) that made my post look like a loon out of place talking to thin air -- not a response to a merged post that came after me. ;) |
Quote:
|
Hi Kirby,
I have been testing your plugin more carefully and it looks like threadfpdata_presave is not required. Thanks again for a great plugin. :) |
All times are GMT. The time now is 07:56 AM. |
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:
|