Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
387 views
in Q2A Core by
edited

Although we have the so-called option to limit the length of the title, the max length is actually set at 120:

'max_len_q_title' => 120,

qa-include / app / options.php

Any reason?

============

Update: Thanks Ansgar Wiechers for your answer. I'm building a Q2A site that resembles Who Wants To Be A Millionaire game, but most questions are about 140 characters long.

Admin Posting Maximum length of question title won't work because there is another interference of a Q2A builtin plugin called qa_filter_basic (or similar name). In other words, if you set the value greater than 120, it's still capped at 120. Of course, no choice but to override that plugin.

by
+2
I tested changing the maximum title length before posting my answer, and it worked as expected. You need to provide more information if it doesn't work for you.

1 Answer

+1 vote
by

As you may have guessed from the variable name $fixed_defaults that value defines the default for the maximum title length. The effective value can be changed under Admin Posting Maximum length of question title.

Restricting maximum title length is a sensible thing to do, because it encourages users to not put their entire question in the title.

...