Username restrictions

Discussion in 'Member and Staff Management' started by Nick, Jun 24, 2009.

  1. Nick

    Nick Regular Member

    Joined:
    Jul 27, 2008
    Messages:
    7,441
    Likes Received:
    218
    Do you have a PCRE in place for usernames, restricting them to certain characters (i.e. only letters and numbers allowed) or a character-limit for the length of the username?

    What prompted you to implement these restrictions?
     
  2. Bundy

    Bundy Admin Talk Staff

    Joined:
    Apr 19, 2005
    Messages:
    842
    Likes Received:
    36
    Location:
    Boston
    Yup :)

    I have it setup so only letters and numbers: ^[a-zA-Z0-9\s]+$

    It breaks how I setup my url's plus there really is no need to have a user named */=/-*+*+/+ke&^^vin :D
     
  3. Nick

    Nick Regular Member

    Joined:
    Jul 27, 2008
    Messages:
    7,441
    Likes Received:
    218
    I think if my name was Kevin, that (*/=/-*+*+/+ke&^^vin) would be my username of choice. :D
     
  4. Bundy

    Bundy Admin Talk Staff

    Joined:
    Apr 19, 2005
    Messages:
    842
    Likes Received:
    36
    Location:
    Boston
    You know what I am saying though. People sign up with names like ~kevin~ or ...::::kevin::::... I can't stand that crap :lol:
     
  5. Paul M

    Paul M Dr Pepper Addict

    Joined:
    Jun 16, 2009
    Messages:
    449
    Likes Received:
    136
    Location:
    Nottingham, UK
    We dont have restrictions at CF, but occasionally we ask members to change thier name (tho usually this is because its unsuitable, not cause of strange chars).

    vb.org has a very old custom check, that tbh is prob obsolete now since vb has the prce facility.
     
  6. Soliloquy

    Soliloquy Regular Member

    Joined:
    Jun 3, 2009
    Messages:
    2,402
    Likes Received:
    66
    Location:
    New York City
    I also allow spaces and underscores, as many of my members prefer names with "the" something afterwards.
     
  7. Chris

    Chris Regular Member

    Joined:
    Dec 27, 2007
    Messages:
    5,422
    Likes Received:
    86
    I couldn't agree more, Kevin - that drives me insane. It's something that the younger members tend to do (i.e. an excellent example of this would be the weird profile name styling that MySpace users sometimes use).
     
  8. Tyler

    Tyler The Badministrator

    Joined:
    Dec 23, 2007
    Messages:
    3,079
    Likes Received:
    63
    Location:
    Long Island, NY
    First Name:
    Tyler
    I don't restrict them at all, but those kinds of usernames do get to me.
     
  9. Chris

    Chris Regular Member

    Joined:
    Dec 27, 2007
    Messages:
    5,422
    Likes Received:
    86
    I find them to be frustrating, particularly when they consume the width of the "Who's Online?" box.
     
  10. Bundy

    Bundy Admin Talk Staff

    Joined:
    Apr 19, 2005
    Messages:
    842
    Likes Received:
    36
    Location:
    Boston
    The thing is too, depending on how you set up your redirects for your url structures you could end up braking pages.
     
  11. BananaQueen

    BananaQueen Grand Master

    Joined:
    Oct 23, 2009
    Messages:
    554
    Likes Received:
    24
    First Name:
    not telling anyone ;)
    ours are letters and numbers

    and also your not allowed to use swear words or names like mod or admin (causes confusion)
     
  12. Abomination

    Abomination Zealot

    Joined:
    Jun 1, 2009
    Messages:
    1,514
    Likes Received:
    102
    I recently stopped allowing things like these in usernames

    .com .org .net @
     
  13. cheat-master30

    cheat-master30 Grand Master

    Joined:
    Jul 30, 2009
    Messages:
    789
    Likes Received:
    59
    I only restrict names and titles that would impersonate staff or other members. Such as using the [you] tag as your username.
     
  14. BananaQueen

    BananaQueen Grand Master

    Joined:
    Oct 23, 2009
    Messages:
    554
    Likes Received:
    24
    First Name:
    not telling anyone ;)
    yeah, links as usernames arent a good idea, and possibly are spammers, and i had no idea you could use [you] as a username, omg that would confuse everyone, it confuses people enough in posts....like when an admin of a forum i am on first added the bbcode, and the first post was "did you hear about what [you] did?????" and it made everyone panic!
     
  15. cheat-master30

    cheat-master30 Grand Master

    Joined:
    Jul 30, 2009
    Messages:
    789
    Likes Received:
    59
    Yeah, things like the [you] tag are a string that gets replaced by the username of whose reading, not a real BB code, meaning they often take effect outside of areas on a forum where BB code is enabled.
     
  16. Abomination

    Abomination Zealot

    Joined:
    Jun 1, 2009
    Messages:
    1,514
    Likes Received:
    102
    Huh?

    If someone signed up on a vb forum with the username [you] that would actually work?
     
  17. cheat-master30

    cheat-master30 Grand Master

    Joined:
    Jul 30, 2009
    Messages:
    789
    Likes Received:
    59
    You mean would it show the person viewing's name or would they be allowed to register? For at least one modification, it would work.
     
  18. techit

    techit Addict

    Joined:
    Oct 25, 2009
    Messages:
    53
    Likes Received:
    0
    First Name:
    Prabh
    yes i have setup restriction i dont allow special characters or numbers in the usernames, this was primarily done to discourage spammers. historical trends showed us that spam registrations usually have numbers of special characters in their usernames, post this change the number of spam regisrtations have dropped down to zero now for the last 3 months, prior to this it was close to 20-30 a month.
     
  19. BananaQueen

    BananaQueen Grand Master

    Joined:
    Oct 23, 2009
    Messages:
    554
    Likes Received:
    24
    First Name:
    not telling anyone ;)
    but would the person who made that name see just [you] or someone elses name?

    imagine registering on a forum under the name "[you] smells"
     
  20. cheat-master30

    cheat-master30 Grand Master

    Joined:
    Jul 30, 2009
    Messages:
    789
    Likes Received:
    59
    Whoever sees a name with [you] in it would see their own name.
     

Share This Page