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

How to allow more characters

Discussion in 'XenForo Development Discussions' started by Matthew Hawley, Aug 22, 2013.

  1. Matthew Hawley

    Matthew Hawley Well-Known Member

    How would I allow more characters to be added to something in the admin cp?
     
  2. Chris D

    Chris D XenForo Developer Staff Member

    More characters to what specifically in the Admin CP?
     
  3. Matthew Hawley

    Matthew Hawley Well-Known Member

    Upgrade titles.
     
  4. Chris D

    Chris D XenForo Developer Staff Member

    As in, the title here? upload_2013-8-22_16-49-49.png


    There is a maxLength value of 50 set in: XenForo_DataWriter_UserUpgrade

    And the database column has a maximum value of 50. That can be amended to 500 with this query:

    Code:
    ALTER TABLE `xf_user_upgrade` CHANGE COLUMN `title` `title` VARCHAR(500) NOT NULL
     
    Matthew Hawley likes this.

Share This Page