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

XF 1.1 Prohibit registering with space in nick

Discussion in 'XenForo Questions and Support' started by paul1, Oct 17, 2013.

  1. paul1

    paul1 Member


    Is possible prohibit the registration of users that includes space in the nick?


    John Doe < I want to block registering of nicks like this
    JohnDoe < Allowed

  2. Jeremy

    Jeremy Well-Known Member


    Add that as your user name validation RegEx in your options and it should work (I'd test it).
  3. paul1

    paul1 Member

    Didn't work. :(
  4. Martok

    Martok Well-Known Member

  5. Brogan

    Brogan XenForo Moderator Staff Member

    The code posted above works.
    I tested it on my local.

    Jeremy likes this.
  6. paul1

    paul1 Member


    I had set this RegEx in the wrong place.

    Thank you.

Share This Page