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

Thread title limit size?

EasyTarget

Well-known member
#1
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?
 

EasyTarget

Well-known member
#3
Whoops, I meant Node title here is the

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

PHP:
$tables['xf_node'] = "
    CREATE TABLE xf_node (
        node_id INT UNSIGNED NOT NULL AUTO_INCREMENT,
        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',
 

Brogan

XenForo moderator
Staff member
#4
Ah.

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.