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

XF 1.3 Eliminate the required minimum characters for creating a thread.

#1
As the title suggest,

I want to eliminate or ignore the requirement of at least X characters in the message when a user creates a thread in one of the forums on my site.

Thank you
 

Brogan

XenForo moderator
Staff member
#4
You would need to modify the code in:
library\XenForo\DataWriter\DiscussionMessage.php
library\XenForo\DataWriter\DiscussionMessage\Post.php

Code:
'message'                => array('type' => self::TYPE_STRING, 'required' => true,
Changing the true to false will do it for all forums but I wouldn't recommend editing the php files as any changes are wiped out when upgrading.

Hence why you need an add-on.
 

Mike

XenForo developer
Staff member
#7
Wait, there's no X character requirement, unless you mean X = 1 in which case @Brogan's comment is correct (we require some text). If there's a higher character requirement, that would be from an add-on.