hi guys.
I want to change this number:
How I can change??
I put in library/XenForo/DataWriter/DiscussionMessage/ProfilePost.php
this:
2500 words can writte but this number "140" don't change.
I want to change this number:
How I can change??
I put in library/XenForo/DataWriter/DiscussionMessage/ProfilePost.php
this:
Code:
protected function _messagePreSave()
{
if ($this->get('user_id') == $this->get('profile_user_id') && $this->isChanged('message'))
{
// statuses are more limited than other posts
$message = $this->get('message');
$maxLength = 2500;
$message = preg_replace('/\r?\n/', ' ', $message);
if (utf8_strlen($message) > $maxLength)
{
$this->error(new XenForo_Phrase('please_enter_message_with_no_more_than_x_characters', array('count' => $maxLength)), 'message');
}
$this->set('message', $message);
}
// do this auto linking after length counting
/** @var $taggingModel XenForo_Model_UserTagging */
$taggingModel = $this->getModelFromCache('XenForo_Model_UserTagging');
$this->_taggedUsers = $taggingModel->getTaggedUsersInMessage(
$this->get('message'), $newMessage, 'text'
);
$this->set('message', $newMessage);
}
2500 words can writte but this number "140" don't change.