1. 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?

Discussion in 'XenForo Questions and Support' started by TDUBS, Jun 17, 2014.

  1. TDUBS

    TDUBS Active Member


    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: [​IMG] ( ❄ Bella ❄ )

    Thank you.
  2. Tracy Perry

    Tracy Perry Well-Known Member

    In your ACP, under user registrations -> User Name Match Regular Expression put
    ^[A-Za-z0-9 -_.]+$
    TDUBS likes this.
  3. TDUBS

    TDUBS Active Member

    Thank you! :)
  4. Tracy Perry

    Tracy Perry Well-Known Member

    Your welcome... but I can't take credit for it... I believe it was @Jake Bunce that originally relayed that information in a post.
  5. TDUBS

    TDUBS Active Member

    In that case, thank you both!
  6. bcercan

    bcercan Active Member

    how we can make this kinda thing for thread titles?
  7. TDUBS

    TDUBS Active Member

    Should probably create your own thread. Moderators/Developers tend to reply to new threads quicker.

Share This Page