Implemented  Automatic Title Case

Anthony Parsons

Well-known member
This is more of a neatness effect, so a forum admin can adopt a specific style to forum titles. Since PHP has the functions to change strings to lowercase, uppercase, startcase, etc... I believe it is a little nicety that refines a forum and removes the often clunky, misguided methods of typing thread titles.

Sentence case: http://www.php.net/manual/en/function.ucfirst.php
Start case: http://php.net/manual/en/function.ucwords.php
Lower, Upper, etc: http://www.php.net/manual/en/function.mb-convert-case.php

Would be nice as an admin to just check an option to enforce a set title casing across the forum, regardless what users type.
 

jmurrayhead

Well-known member
I fully supported this suggestion at vBulletin...I will fully support it here, as well. :)
It would be an admin option; so it would be easy to turn off and on.
Exactly...just because it won't work for other languages, doesn't mean we shouldn't have it for the language(s) it DOES work for.
 

James

Well-known member
Can't you just use text-transform in your CSS to do this? It'll save on the serverside code (if you're doing it via PHP).
 

Kier

XenForo developer
Staff member
Can't you just use text-transform in your CSS to do this? It'll save on the serverside code (if you're doing it via PHP).
text-transform couldn't do sentence case, but otherwise yes you could.
 

Nick

Well-known member
I don't oppose this feature since it's optional, but I honestly don't see why one would want to apply these changes to a thread title.

What if my thread title includes a book/movie/other-work title? Then it's going to get changed and essentially be improper. e.g., "Have you read State of Fear?" (proper) -> "Have you read state of fear?" (improper).

I personally would be irked if a forum changed my thread titles from proper capitalization to improper capitalization.
 

Brogan

XenForo moderator
Staff member
Seems a bit draconian to me.

What if I want to do a thread title in all lower or uppercase?
 

Onimua

Well-known member
Seems a bit draconian to me.

What if I want to do a thread title in all lower or uppercase?
Then on your board you can. While all lowercase isn't bothersome, READING A TITLE LIKE THIS WOULD BE QUITE ANNOYING. People generally find all caps more annoying than anything else.
 

Forsaken

Well-known member
Was implemented way too quick? That's a new one on me. Besides which, it ships with the option disabled, so there are no draconian measures here.
We demand you be much slower in development, or we'll be angry!!!!!11111
 
Top