I info5480 New Member YetiShare User Oct 18, 2015 6 0 0 Oct 19, 2015 #1 Hi, How/where do i change the length requirements for usernames upon registration? "Username must be between 6-16 characters long."
Hi, How/where do i change the length requirements for usernames upon registration? "Username must be between 6-16 characters long."
S sukhman21 Member YetiShare User Jan 26, 2015 508 3 18 Oct 20, 2015 #2 i dont think this feature is available in the script, however i am sure you can limit the characters in the username text field itself... Check in the register.html file...
i dont think this feature is available in the script, however i am sure you can limit the characters in the username text field itself... Check in the register.html file...
I ishvets5331 New Member YetiShare User Aug 24, 2015 2 0 0 Oct 29, 2015 #3 It can be done by changing a line of code in admin/user_add.php go to line 61: Code: elseif ((strlen($username) < 6) || (strlen($username) > 16)) change it to reflect your needs, for example to allow user name with 3 chars: Code: elseif ((strlen($username) < 3) || (strlen($username) > 16))
It can be done by changing a line of code in admin/user_add.php go to line 61: Code: elseif ((strlen($username) < 6) || (strlen($username) > 16)) change it to reflect your needs, for example to allow user name with 3 chars: Code: elseif ((strlen($username) < 3) || (strlen($username) > 16))