15 years on The Web
miniBB ® miniBB®
miniBB Support Forums
 | Forums | Register | Reply | Search | Statistics | Manual |
The Other miniBB Support Forums / The Other /   


Author sandren
#1 | Posted: 25 Nov 2009 18:33 
Are there any means of removing (or extending) the 'hard' limit on the maximum length of posts? Setting this variable to '0' doesn't seem to help.

Author tom322
Active Member
#2 | Posted: 25 Nov 2009 19:04 
Put 900000 :)

Author sandren
#3 | Posted: 25 Nov 2009 20:42 
Is that as high as I can set it? I'm working with very large documents.

Author Paul
Lead Developer
#4 | Posted: 26 Nov 2009 04:04 
This option's value should correspond to the size of the 'post_text' field under 'posts' table. By default this field has a 'TEXT' string type, and regarding mySQL manual, it's allowed to store up to 65536 bytes in such field. That's why putting 900000 will not give a big effect, since mySQL will cut spare chars anyway.

For using bigger values, you should change the type of the above mentioned field to MEDIUMTEXT or LONGTEXT.

"Very large" documents are not actually suitable for searched context. As I heard, search engines most likely could even ignore text documents larger than 100 Kb in size. It of course depends on the nature of your forums, but from my experience, having TEXT field and $post_text_maxlength set to 30000 is enough for almost all kind of even big texts.

Author sandren
#5 | Posted: 26 Nov 2009 08:39 
It's a private forum so search engine optimization is not a consideration. Thanks for your help!

The Other miniBB Support Forums / The Other / $post_text_maxlength Top

Your Reply Click this icon to move up to the quoted message

 Short link for this topic:

You are welcome to post anonymously, by entering a nickname with no password (if the similar Username has not been taken yet), or by leaving both fields empty. If you have a forums account, you can also sign in from this page without posting a message, or sign in and post at once.

Before posting, make sure your message is compliant with our forum posting rules. If not, it may be locked or deleted with no explanation.
miniBB Support Forums Powered by Forum Software miniBB ® Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contacts
Install the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
Captcha Addon for miniBB