MyBB Community Forums

Full Version: how to increase title capacity
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
when user start creating a new post the title textbox allow a limit keywords so is there any mod or way to increase title capacity to accept more keywords.
any help here ???????????????
Admin CP..

Templates -> Modify Templates -> Expand -> New Reply Templates -> newreply

find:
<td class="trow2"><input type="text" class="textbox" name="subject" size="40" maxlength="85" value="{$subject}" tabindex="1" /></td>
replace the "85" with a larger number.

save.

With the default database settings you can set it up to 120 without having to edit the database.
Quote:With the default database settings you can set it up to 120 without having to edit the database.

how to do that?
For simplicity, replace
maxlength="85"
with
maxlength="x"
where x is a number less than or equal to 120.
softsoft Wrote:how to do that?

??? do you mean how to edit the database to get it more than 120 characters?
Quote:??? do you mean how to edit the database to get it more than 120 characters?

yes,please.
Try these SQL codes:
ALTER TABLE `mybb_posts` CHANGE `subject` `subject` VARCHAR( 255 )
ALTER TABLE `mybb_threads` CHANGE `subject` `subject` VARCHAR( 255 )

That will give you up to 255 characters
DennisTT Wrote:Try these SQL codes:
ALTER TABLE `mybb_posts` CHANGE `subject` `subject` VARCHAR( 255 )
ALTER TABLE `mybb_threads` CHANGE `subject` `subject` VARCHAR( 255 )

That will give you up to 255 characters

thanks, it is working now.