I can use a regex to have better usernames; but this decrease the number of registrations.
Some easy rules would help much better:
substitute everything else than 0-9, a-z, A-Z and (_-) with nothing
strtolower
ucfirst
replace all (-)+ > 1 to -
replace all (_)+ > 1 to _
Probably there will be another 100 updates to xf2; so i dont want to change the code itself.
Is there any addon handling with registering to add these small rules maybe?
Some easy rules would help much better:
substitute everything else than 0-9, a-z, A-Z and (_-) with nothing
strtolower
ucfirst
replace all (-)+ > 1 to -
replace all (_)+ > 1 to _
Probably there will be another 100 updates to xf2; so i dont want to change the code itself.
Is there any addon handling with registering to add these small rules maybe?
Last edited: