Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Capitalize First Letter in Thread Title Details »»
Capitalize First Letter in Thread Title
Version: 1.00, by TWTCommish TWTCommish is offline
Developer Last Online: Dec 2022 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 08-05-2002 Last Update: Never Installs: 17
 
No support by the author.

The subject describes it rather well: this hack will automatically capitalize the first letter for all new thread titles. Simple, yet effective. Enjoy.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 01-15-2003, 04:20 AM
Gutspiller's Avatar
Gutspiller Gutspiller is offline
 
Join Date: Dec 2001
Posts: 1,046
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #13  
Old 04-21-2003, 11:56 PM
Kriek's Avatar
Kriek Kriek is offline
 
Join Date: Jul 2002
Location: Florida
Posts: 135
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #14  
Old 04-22-2003, 12:00 AM
TWTCommish's Avatar
TWTCommish TWTCommish is offline
 
Join Date: Oct 2001
Location: Pittsburgh, PA, USA
Posts: 783
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
01-15-03 at 01:20 AM Gutspiller said this in Post #11
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.
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.
Reply With Quote
  #15  
Old 04-22-2003, 12:03 PM
NanoEntity NanoEntity is offline
 
Join Date: Oct 2001
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

there is better way to do it, using CSS, simple, effective...

demo at http://nekio.com/gallery/v_showentry...5&entryid=1260

Look at the comment I posted, and my Username, my name 1st letter capitilized.
Reply With Quote
  #16  
Old 04-22-2003, 03:08 PM
Kriek's Avatar
Kriek Kriek is offline
 
Join Date: Jul 2002
Location: Florida
Posts: 135
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 08:03 AM NanoEntity said this in Post #14
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

Code:
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
Reply With Quote
  #17  
Old 04-22-2003, 04:30 PM
Bison's Avatar
Bison Bison is offline
 
Join Date: Jun 2002
Location: Virginia Beach, Virginia
Posts: 522
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wondered how I forgot this one!
Reply With Quote
  #18  
Old 05-24-2003, 11:53 AM
gmarik's Avatar
gmarik gmarik is offline
 
Join Date: May 2002
Location: Mocsow
Posts: 1,288
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
04-22-03 at 05:03 PM NanoEntity said this in Post #14
there is better way to do it, using CSS, simple, effective...

demo at http://nekio.com/gallery/v_showentry...5&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?
Reply With Quote
  #19  
Old 05-24-2003, 08:27 PM
TWTCommish's Avatar
TWTCommish TWTCommish is offline
 
Join Date: Oct 2001
Location: Pittsburgh, PA, USA
Posts: 783
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #20  
Old 05-25-2003, 07:39 AM
gmarik's Avatar
gmarik gmarik is offline
 
Join Date: May 2002
Location: Mocsow
Posts: 1,288
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

TWTCommish - only NN 3 does not supports CSS, so we just will ignore them. Still, what is the CSS solution for that, Nano?
Reply With Quote
  #21  
Old 05-25-2003, 03:12 PM
TWTCommish's Avatar
TWTCommish TWTCommish is offline
 
Join Date: Oct 2001
Location: Pittsburgh, PA, USA
Posts: 783
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:08 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.09273 seconds
  • Memory Usage 2,307KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete