• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Not a bug Adjust Case for Thread Titles Cant Handle Special Chars

Jaxel

Well-known member
#1
I am using the "Title Case" option for this...

I want to name a thread:
[Feb 24, 2011] World Game Cup (06400 Cannes - France)

Instead it gets named:
[feb 24, 2011] World Game Cup (06400 Cannes - France)

The title casing should ignore the first bracket system and leave the F in Feb capitalized... but it doesnt.
 

Mike

XenForo developer
Staff member
#2
This is mostly going to be down to the behavior of the built in ucwords() PHP function (though we use a UTF-8 compatible version). I'm not sure if it's worth writing a custom implementation to handle these cases as well.
 

Jaxel

Well-known member
#3
This is mostly going to be down to the behavior of the built in ucwords() PHP function (though we use a UTF-8 compatible version). I'm not sure if it's worth writing a custom implementation to handle these cases as well.
Okay... well the thread title was automatically generated using my XenAtendo mod... is there a way to get the system to bypass the thread title limitations the same way you can bypass thread posting limitations?
 

Kier

XenForo Developer
Staff member
#4
PHP:
// init writer
$writer->setOption(XenForo_DataWriter_Discussion::OPTION_ADJUST_TITLE_CASE, false);
// set data and save