Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Auto-Capitalize First Letter of Each Word In Thread Title Details »»
Auto-Capitalize First Letter of Each Word In Thread Title
Version: 1.02, by ZomgStuff ZomgStuff is offline
Developer Last Online: May 2012 Show Printable Version Email this Page

Category: New Posting Features - Version: 3.6.8 Rating:
Released: 01-26-2008 Last Update: 01-26-2008 Installs: 67
Uses Plugins
 
No support by the author.

This is one of the easiest and simplest ways to improve literacy and professionalism.

This hack automatically capitalizes the first letter of each word in the thread title when you submit a new thread.

This mod will not capitalize small words such as
Quote:
of a the and an or nor but is if then else when at from by on for in to into with
Example: "this is a test thread" will become "This is a Test Thread"


This is a very simple plug-in.

Installation Instructions:

1) Go to Admin CP
2) Go down to "Plugins & Products" and select "Download / Upload Plugins"
3) Scroll to the very button, hit browse and and hit import!

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
DNCL

Comments
  #22  
Old 03-08-2008, 06:36 AM
|Jordan|'s Avatar
|Jordan| |Jordan| is offline
 
Join Date: Nov 2004
Posts: 479
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there any way to make this recursively edit existing titles?
Reply With Quote
  #23  
Old 03-24-2008, 04:05 AM
ZomgStuff ZomgStuff is offline
 
Join Date: Feb 2007
Posts: 469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by |Jordan| View Post
Is there any way to make this recursively edit existing titles?
Yeah, you would have to edit it and cycle through all the thread titles in the 'thread' table in the database.


If other's would like it to, I'll put some time into it tomorrow and add that feature.
Reply With Quote
  #24  
Old 03-24-2008, 05:20 PM
Magnumutz's Avatar
Magnumutz Magnumutz is offline
 
Join Date: Feb 2006
Location: Romania
Posts: 731
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Make this work for 3.7
If it's not...
Reply With Quote
  #25  
Old 03-25-2008, 07:47 AM
chris1979 chris1979 is offline
 
Join Date: Oct 2006
Posts: 159
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

great mod!

*installed

(Works for me on 3.7 too)
Reply With Quote
  #26  
Old 04-07-2008, 07:14 AM
Noctavia Noctavia is offline
 
Join Date: May 2006
Posts: 103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way (or can someone point me to a similar mod) to only capitalize the first word in the thread title?
Reply With Quote
  #27  
Old 05-17-2008, 12:52 AM
riverplate.com riverplate.com is offline
 
Join Date: Nov 2007
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i've got this installed on my board, but users continue creating threads capitalized :S (if words are all caps)
Reply With Quote
  #28  
Old 06-18-2008, 06:36 PM
arlarson arlarson is offline
 
Join Date: Apr 2006
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Although I haven't tried it, I suspect that could be "solved" by adding at the start of the plugin,
PHP Code:
$vbulletin->GPC['subject'] = strtolower$vbulletin->GPC['subject']; 
But that in turn creates issues by changing acronyms to lower case (HTML would become Html; AOL would become Aol). It would also potentially conflict with the "small words" feature, such that a small word at the start of a sentence would be uncapitalized.

I think a nice addition to this would be to include a list of common acronyms that will automatically be capitalized (as above - for example, so "aol" becomes "AOL" instead of "Aol".) I suspect that's an easy change to make, but my programming skills are woeful.
Reply With Quote
  #29  
Old 07-01-2008, 05:25 PM
GraNdMaStEr-B GraNdMaStEr-B is offline
 
Join Date: Jun 2008
Location: JeRzEy Boi
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

**INstalled** works perfect with 3.7 no problems at all
Reply With Quote
  #30  
Old 08-16-2008, 08:39 AM
oz_girl's Avatar
oz_girl oz_girl is offline
 
Join Date: Mar 2008
Location: Australia
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome mod, reserved
Reply With Quote
  #31  
Old 12-05-2009, 03:11 AM
vijayninel's Avatar
vijayninel vijayninel is offline
 
Join Date: Mar 2009
Posts: 537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks working fine on 3.8.4
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:44 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.04762 seconds
  • Memory Usage 2,306KB
  • 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_php
  • (2)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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • 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