Resource icon

Increase Length Of Username And Custom Title

Ariel Schnee

Active member
Ariel Schnee submitted a new resource:

Increase Length Of Username And Custom Title - Longer User Names And Longer Custom Titles

library/XenForo/DataWriter/User.php

---

Search for 'maxLength' => 50

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

Change to 'maxLength' => 100

'username'
=> array('type' => self::TYPE_STRING, 'required' => true, 'maxLength' => 100, 'verification' => array('$this'...

Read more about this resource...
 
Great stuff. I love it - been looking for a way to do this for a while now. Glad I popped in and saw this. Thanks a million !! (y)
 
Back
Top Bottom