vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   New Posting Features - Auto-Capitalize First Letter of Each Word In Thread Title (https://vborg.vbsupport.ru/showthread.php?t=168831)

ZomgStuff 01-26-2008 10:00 PM

Auto-Capitalize First Letter of Each Word In Thread Title
 
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!

squad22345 01-27-2008 01:54 AM

sweet but where the file o.o

ZomgStuff 01-27-2008 01:56 AM

Quote:

Originally Posted by squad22345 (Post 1429738)
sweet but where the file o.o

Should be up now.:o

Enjoy.

SEOvB 01-27-2008 02:11 AM

thanks, always wanted somethin like this :D

ZomgStuff 01-27-2008 02:43 AM

I totally forgot about small words, updated to 1.01 so that it does not capitalize small words like
Quote:

of a the and an or nor but is if then else when at from by on for in to into with

soletrader 01-27-2008 02:57 AM

work with 3.7?

SEOvB 01-27-2008 04:09 AM

I installed it on 3.7b3 with no problem

MiahBeSmokin420 01-27-2008 07:18 AM

I Like it a Lot

Mainly Because I Type Like That All The Time

Thanks Buddy

choccyclaire 01-27-2008 11:10 AM

Wicked! I have a mod with OCD with it comes to thread titles not having caps lol. :up:

ChrisSy 01-27-2008 12:11 PM

Getting: Parse error: syntax error, unexpected T_STRING, expecting ')' in /home/website/public_html/newthread.php(135) : eval()'d code on line 3

ZomgStuff 01-27-2008 12:29 PM

Quote:

Originally Posted by ChrisSy (Post 1430013)
Getting: Parse error: syntax error, unexpected T_STRING, expecting ')' in /home/website/public_html/newthread.php(135) : eval()'d code on line 3

Ah, I made a silly mistake, I updated it to v1.02

ChrisSy 01-27-2008 12:43 PM

thanks! been looking for a mod like this for a while :)

bang 01-27-2008 01:18 PM

may I ask WHY would anyone want to capitalize every letter of each word?

ZomgStuff 01-27-2008 01:20 PM

Quote:

Originally Posted by bang (Post 1430046)
may I ask WHY would anyone want to capitalize every letter of each word?

So it makes your forum look more professional.

Some people might argue that, but its one of my pet-peeves.

KoC 01-27-2008 01:36 PM

Turkish charakters like 'İ,Ç' doesnt become capatilized

UncoderMom 01-27-2008 01:50 PM

I often edit some of my users titles :eek:

INSTALLED

momo2 01-27-2008 05:50 PM

been looking for this for so long :( thanks so much no more editing new members posting

Installed 3.68

daz1967 01-27-2008 08:42 PM

very nice, thank you

sheryjutt 02-17-2008 12:06 PM

This file appears to be a Plugin, not a Product. Please use the Plugin Manager to add this file.



I See This When i Try To Import:(

Majest 02-19-2008 11:01 PM

Installed. Thanks saves me a lot of time editing peoples threads.

|Jordan| 03-08-2008 06:36 AM

Is there any way to make this recursively edit existing titles?

ZomgStuff 03-24-2008 04:05 AM

Quote:

Originally Posted by |Jordan| (Post 1459872)
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.

Magnumutz 03-24-2008 05:20 PM

Make this work for 3.7 :D
If it's not...

chris1979 03-25-2008 07:47 AM

great mod!

*installed

(Works for me on 3.7 too)

Noctavia 04-07-2008 07:14 AM

Is there a way (or can someone point me to a similar mod) to only capitalize the first word in the thread title?

riverplate.com 05-17-2008 12:52 AM

i've got this installed on my board, but users continue creating threads capitalized :S (if words are all caps)

arlarson 06-18-2008 06:36 PM

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.

GraNdMaStEr-B 07-01-2008 05:25 PM

**INstalled** works perfect with 3.7 no problems at all

oz_girl 08-16-2008 08:39 AM

Awesome mod, reserved :D

vijayninel 12-05-2009 03:11 AM

Thanks working fine on 3.8.4 :)

ravenfaust 12-10-2009 09:15 AM

wish this worked on 3.8 :(

LordVader 04-11-2011 04:19 PM

Hi all

I know this is a really old topic, but is there any way it could be upgraded to work with VB-4.8 or higher.

Fingers crossed & thanks for reading.

webmastersitesi 06-17-2011 01:31 PM

How we can teach unknown chars at foreign langauges. It does not caplitilize them

Badshah93 06-30-2011 04:53 AM

works well in vb4. just changed plugin hook to 'newthread_post_start' .

DNCL 07-30-2011 03:06 PM

Hello dear ZomgStuff,
I have some cases i want it to be excluded in my forum for example i have some words starts with small letter and then it will be followed with numbers or symbols like this:
x123
v.123

with your mod they are becoming
X123
V.123

how to exclude such case?

Thank you :)

davidg 07-04-2013 08:52 PM

works fine vb 4.2.1

SBlueman 10-06-2013 03:45 PM

How can I get this to work with new forums created with the Easy Forms modification?

https://vborg.vbsupport.ru/showthread.php?t=201097

artcrimes 09-18-2014 05:39 AM

Turkish chracter "?, ?, ?" does not work :( Can you help me?


All times are GMT. The time now is 02:14 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01241 seconds
  • Memory Usage 1,780KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (38)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete