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

Message Lenth

Discussion in 'XenForo Questions and Support' started by Blakefire, Aug 8, 2012.

  1. Blakefire

    Blakefire Active Member

    My user says the Profile length is 420 but in the ACP the max message length is 10,000.... Any ideas?
     
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Profile posts are meant to be short.

    I think you want this:

    library/XenForo/DataWriter/DiscussionMessage/ProfilePost.php

    Code:
    	protected function _getDefaultOptions()
    	{
    		$options = parent::_getDefaultOptions();
    		$options[self::OPTION_MAX_MESSAGE_LENGTH] = 420;
    
    		return $options;
    	}
    
    You can edit the file directly or create an addon to extend the datawriter.
     
  3. Digital Doctor

    Digital Doctor Well-Known Member

Share This Page