1. REGISTRATION REQUIREMENTS:

    Register with your xenforo.com Username then start a conversation at xenforo.com w/Bob and provide the following:
    1. Your XenForo License Validation Token
    2. The Domain Name associated with the License
    NOTE: Your account will be validated once ALL requirements are verified/met. Thank you for your patience.

How To Increase 420 Comment Characters?

Discussion in 'Sportsbook Support' started by anthony parsons, Feb 25, 2013.

  1. anthony parsons

    anthony parsons Member Showcase Sportsbook Pickem

    Hey Bob,

    How do I increase the 420 character limit imposed on the comments? We have discussions, thus 420 characters is often exceeded just, and it's painful.

    Thanks,

    Anthony
     
  2. Bob

    Bob Developer Staff Member

    Its hard coded into the DataWriter, so for now, you'll need to make a simple/quick file edit.

    edit file: /library/NFLJ/Sportsbook/DataWriter/Comment.php

    Line 13: change 420 to how many characters you want
    PHP:
                    'message'        => array('type' => self::TYPE_STRING'required' => true'maxLength' => 420'requiredError' => 'please_enter_valid_message'),
     
    anthony parsons likes this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.