XF 2.1 void username with space and special characters

hellboy78

Active member
Licensed customer
how to void, during users registration, to use spaces and special characters in username field?

thats will make all easier into my payment system
 
Admin CP -> Home -> Options -> Users and Registration -> User Name Match Regular Expression

that will exclude all special characters and spaces ?
/^[a-z0-9]+$/i
 
how to edit this phrase during registration?

"Please enter a name that is at least 3 characters long"

and how to change this setting to 4 characters?
 
how to edit this phrase during registration?

"Please enter a name that is at least 3 characters long"

and how to change this setting to 4 characters?

Admin CP -> Options -> User registration -> Username length limit

Set the minimum to 4 (this will update the phrase so you do not need to edit it).
 
Admin CP -> Home -> Options -> Users and Registration -> User Name Match Regular Expression

that will exclude all special characters and spaces ?
/^[a-z0-9]+$/i

on xenforo 2.2
this doesn't allow also spaces. and it's good

but on xenforo 2.1
spaces are still allowed, I don't understand why
 
Back
Top Bottom