• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.3 Block Alt Code and Ascii Characters?

TDUBS

Active member
#1
Hello,

I am noticing users are registering on my forums with account names that contain alt codes and/or ascii characters in which I do not want on my forums. How can I block users from registering with these?

Example:
( ❄ Bella ❄ )

Thank you.
 

Tracy Perry

Well-known member
#2
Hello,

I am noticing users are registering on my forums with account names that contain alt codes and/or ascii characters in which I do not want on my forums. How can I block users from registering with these?

Example:
( ❄ Bella ❄ )

Thank you.
In your ACP, under user registrations -> User Name Match Regular Expression put
Code:
^[A-Za-z0-9 -_.]+$