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

Thread title limit size?

Discussion in 'Installation, Upgrade, and Import Support' started by EasyTarget, Sep 16, 2011.

  1. EasyTarget

    EasyTarget Well-Known Member

    I did a test conversion from vb3.6 to XenForo 1.04. The field size for thread titles in vb was 100 chars. In XenForo it is 50.

    If I modify the XenForo database to make the field size 100 chars; am I risking future incompatibility issues?

    Or is the better approach to rename the titles so they are all under 50 chars?
  2. Brogan

    Brogan XenForo Moderator Staff Member

  3. EasyTarget

    EasyTarget Well-Known Member

    Whoops, I meant Node title here is the

    php from the library.XenForo.Install.Data.MySql.php file

    $tables['xf_node'] = "
        CREATE TABLE xf_node (
            title VARCHAR(50) NOT NULL,
            description TEXT NOT NULL,
            node_name VARCHAR(50) DEFAULT NULL COMMENT 'Unique column used as string ID by some node types',
  4. Brogan

    Brogan XenForo Moderator Staff Member


    You should be able to modify it, but you will also need to change the code (datawriter) for any other instances which are set to 50 characters.
    For example when a node is created.

Share This Page