PDA

View Full Version : Capitalize First Letter in Thread Title


TWTCommish
08-05-2002, 10:00 PM
The subject describes it rather well: this hack will automatically capitalize the first letter for all new thread titles. Simple, yet effective. Enjoy. :)

afterlab
08-06-2002, 12:12 PM
Thanks, TWTCommish. I was in a need for something like this, i'm glad to see you releasing it. Thanks again. :D

Chris M
08-06-2002, 12:16 PM
Great!:)

Satan

Marshalus
08-06-2002, 07:11 PM
Originally posted by hellsatan
Great!:)

Satan

He is the Great Satan! ;)

Nice hack.

TWTCommish
08-06-2002, 07:15 PM
As opposed to the Pretty Good Satan? :D

zachb
08-06-2002, 07:24 PM
Nice, this comes in handy! :)

CeleronXL
08-07-2002, 01:14 AM
Just sucks if you type in "vBulletin."

TWTCommish
08-07-2002, 01:17 AM
Hehe. Yep. For most boards, though, that sorta thing isn't an issue, thankfully. If you like your threads capitalized properly, you're definitely gonna spend more time editing them without this, than with it.

memobug
08-13-2002, 11:56 PM
Is this the thread where we rewrite native php functions?

ucfirst ? Make a string's first character uppercase (http://www.zend.com/manual/function.ucfirst.php)

ucwords -- Uppercase the first character of each word in a string (http://www.zend.com/manual/function.ucwords.php)

;)

TWTCommish
08-14-2002, 12:00 AM
I forgot about that function. I haven't used it in ages. It doesn't matter, though: the hack works in an almost identical fashion and is no harder/easier to install. :)

Gutspiller
01-15-2003, 04:20 AM
There's a bug in this hack.

If you try to create a thread called test with the contents of the word test and then you try and create a thread called Test and the contents of test it never creates the 2nd thread. big bug. Found it when I first tested it. I uninstalled it as well. :p

Kriek
04-21-2003, 11:56 PM
You can (at least on my board) create a thread with the exact same title as another thread, unless of course you have some sort of modification preventing this action.

TWTCommish
04-22-2003, 12:00 AM
01-15-03 at 01:20 AM Gutspiller said this in Post #11 (https://vborg.vbsupport.ru/showthread.php?postid=342223#post342223)
There's a bug in this hack.

If you try to create a thread called test with the contents of the word test and then you try and create a thread called Test and the contents of test it never creates the 2nd thread. big bug. Found it when I first tested it. I uninstalled it as well. :p
I've got no idea what you're talking about. This hack is completely incapable of "blocking" the creation of any thread in any way.

NanoEntity
04-22-2003, 12:03 PM
there is better way to do it, using CSS, simple, effective...

demo at http://nekio.com/gallery/v_showentry.php?s=&categoryid=75&entryid=1260

Look at the comment I posted, and my Username, my name 1st letter capitilized.

Kriek
04-22-2003, 03:08 PM
Today at 08:03 AM NanoEntity said this in Post #14 (https://vborg.vbsupport.ru/showthread.php?postid=385474#post385474)
there is better way to do it, using CSS, simple, effective

Yes, as a matter of fact this is what I've been using on my personal site for ages, but I neveer thought of using it for thread titles ;)

text-transform: none
Defines normal text, with lower case letters and capital letters

text-transform: capitalize
capitalize Each word in a text starts with a capital letter

text-transform: uppercase
Defines only capital letters

text-transform: lowercase
Defines no capital letters, only lower case letters

Bison
04-22-2003, 04:30 PM
Wondered how I forgot this one! ;)

gmarik
05-24-2003, 11:53 AM
04-22-03 at 05:03 PM NanoEntity said this in Post #14 (https://vborg.vbsupport.ru/showthread.php?postid=385474#post385474)
there is better way to do it, using CSS, simple, effective...

demo at http://nekio.com/gallery/v_showentry.php?s=&categoryid=75&entryid=1260

Look at the comment I posted, and my Username, my name 1st letter capitilized.

Your link does not works. Can you fix it?

TWTCommish
05-24-2003, 08:27 PM
I don't see the CSS solution as being "better" at all. It's certainly no quicker than the hack, which is remarkably simple. What's more, using a server-side solution allows even the very few who do not support CSS to benefit from its effects.

gmarik
05-25-2003, 07:39 AM
TWTCommish - only NN 3 does not supports CSS, so we just will ignore them. Still, what is the CSS solution for that, Nano?

TWTCommish
05-25-2003, 03:12 PM
Right. Over 99% of all surfers DO support it...but a small handful don't, and the CSS solution doesn't save any time, programmer-wise or processor-wise, over the server-side solution. So why use it?

gmarik
05-25-2003, 03:59 PM
Because it's easier for the designer.
It saves years of hardcoding HTML.
Just a few lines of .CSS that can be used all over and ... when you think, it's time to change - nothing is more easier than that. Get the point? :o)

Envy-UK
05-15-2004, 07:44 AM
<font face="arial">Will this work for vB3? Or can it be ported over?</font>