Increase Length Of Username And Custom Title

AnimeHaxor

Retro-NulledTeam
Staff member
Moderator
Registered
Local time
10:26 AM
Joined
Nov 22, 2015
Messages
6,495
Reaction score
42,906
Points
113
Website
www.nullscripts.net
Site Script
XenForo
AnimeHaxor 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', '_verifyUsername'), 'requiredError' => 'please_enter_valid_name'),

---

Search for...

Read more about this resource...
 
AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock