protected function _getFields()
{
return array(
'xf_node' => array(
'node_id' => array('type' => self::TYPE_UINT, 'autoIncrement' => true),
'title' => array('type' => self::TYPE_STRING, 'required' => true, 'maxLength' => 50,
'requiredError' => 'please_enter_valid_title'
),
'node_name' => array('type' => self::TYPE_STRING, 'default' => null, 'verification' => array('$this', '_verifyNodeName'), 'maxLength' => 50),
'description' => array('type' => self::TYPE_STRING, 'default' => ''),
'node_type_id' => array('type' => self::TYPE_BINARY, 'required' => true, 'maxLength' => 25),
'parent_node_id' => array('type' => self::TYPE_UINT, 'default' => 0, 'required' => true),
'display_order' => array('type' => self::TYPE_UINT, 'default' => 1),
'lft' => array('type' => self::TYPE_UINT, 'verification' => array('$this', '_verifyNestedSetInfo')),
You need to change the definition of xf_node.title in the database using a program like phpmyadmin.
Node titles are limited to 50 characters.
To change this you will need to change the definition of xf_node.title in the database,
and you need to change the datawriter:
library/XenForo/DataWriter/Node.php
Files will be overwritten when upgrading, so you will need to to reapply the edits.
Most likely the database won't be affected during an upgrade, unless there is a specific reason to alter that column (which is unlikely but not impossible).
The files will be overwritten though.
You will need to create an add-on to override the default behaviour, such that your changes aren't overwritten when upgrading.
We use essential cookies to make this site work, and optional cookies to enhance your experience.