Support Forum

Is there any way to adjust the max number of characters for topic titles?

22 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

Interesting question. we don’t currently put any control on this but it is worth considering doing so.
We will discuss it…

KV kvr28
kvr28
Member

wow that was fast, you guys are awesome, thanks yellow 

IK Ike
Ike
Member

It was a good request! And by the look of it pretty straight forward to implement.

KV kvr28
kvr28
Member

Quick question on the functionality of it. Say I set max characters at 35. If they go beyond it will it pop up a warning max characters exceeded or will it just cut off the title at 35?

YS Yellow Swordfish
Yellow Swordfish
Member

I coded it up today to use the built in maxlength attribute of text input controls. When the user reaches the maxlength that is set the input field just refuses to accept any more characters.

FYI – the default and current setting was for 180 although the database column is capable of up to 200.

JI jim
jim
Member

Yellow Swordfish said
Will be available in 5.5.6 

SWEET! Was just looking for w ay to do this.

Thank you!

JI jim
jim
Member

Thanks again for this.

Just curious, what will happen to existing topics with titles that exceed the char. count limit set in the new option? I presume the limit will only affect new topics…

IK Ike
Ike
Member

It would be nice for Andy to confirm this, but my guess would be that current topics which exceed the max length will be unaffected. I’m pretty sure the database column will still accept the same amount of input, it just limits you from the front end.

YS Yellow Swordfish
Yellow Swordfish
Member

Confirmed. That is absolutely correct.

JI jim
jim
Member

Yellow Swordfish said
Will be available in 5.5.6 

Did this make it into 5.5.6? If so, I’m having a hard time finding the option.

Don’t see it under Content Settings or other general/global options, and as you can see we desperately need to limit topic title character count for some people… confused

Screen-shot-2015-05-11-at-2.43.10-PM.png