Increase Length Of Username And Custom Title

Increase Length Of Username And Custom Title 2022-05-25

No permission to download
XF Compatibility
  1. 2.2.x
Short Description
Increase Length Of Username And Custom Title
library/XenForo/DataWriter/User.php

---

Search for 'maxLength' => 50

PHP:
'username'
=> array('type' => self::TYPE_STRING, 'required' => true, 'maxLength' => 50, 'verification' => array('$this', '_verifyUsername'), 'requiredError' => 'please_enter_valid_name'),


Change to 'maxLength' => 100
PHP:
'username'
=> array('type' => self::TYPE_STRING, 'required' => true, 'maxLength' => 100, 'verification' => array('$this', '_verifyUsername'), 'requiredError' => 'please_enter_valid_name'),

---

Search for 'maxLength' => 50
PHP:
'custom_title'
=> array('type' => self::TYPE_STRING, 'maxLength' => 50, 'default' => '', 'verification' => array('$this', '_verifyCustomTitle')),
Change to 'maxLength' => 100
PHP:
'custom_title'
=> array('type' => self::TYPE_STRING, 'maxLength' => 100, 'default' => '', 'verification' => array('$this', '_verifyCustomTitle')),
---

You can now use 100 characters in the Username, and the Custom Title as well.
Author
axtona
Views
529
First release
Last update
Ratings 0.00 star(s) 0 ratings
Link was Broken? Please Send message to the Website Team and we will assist you quickly!
Support Developer If you are satisfied with the test or your project has earned you money, Click the More Information button to support the developer by purchasing.

More resources from axtona

Cool Timeline Pro - WordPress Timeline Plugin A
an advanced WordPress timeline plugin that showcases your life history timeline
Brazilian Language [PT-BR] A
Like the other available Brazilian Portuguese translation
SEO Audit A
SEO Audit 1.1.0
A comprehensive SEO auditing dashboard for XenForo administrators.

Similar resources

Top