XF 1.5 How To Keep Usernames In Check While Registration?

Divvens

Well-known member
I wish to not allow special characters like Japanese Kanji/Special English characters (Spanish letters that have a special o, e etc) on usernames during registration.

I want to allow: Numericals, alphabets, underscores and - , spaces.

Is this possible? I don't mind having all special characters unusable apart from just underscore too.
 
Just curious, what's the reason to don't allow this kind of weird characters in the username?
It could cause future problems in the tables or something?
For us, it makes it very difficult for users to use the @mention feature if the username starts with special characters that cannot be typed by a default (vanilla) keyboard. It just takes out that bit of the community experience and interaction with said user gets a bit difficult, so we want to maintain usernames without special characters.
 
Back
Top Bottom