Duplicate Email Check

Discussion in 'Pre-Sales Questions' started by rich2, Apr 5, 2004.

  1. rich2

    rich2 Guest

    1. Does the system check for duplicate emails in system at signup as it does for duplicate usernames?

    2. Also, noticed that the signup form allows spaces to be input in username field.. some users still don't know to make them one word without spaces.

    Thanks, Richard.

    PS: The value of aMember app is worth 10 times the $139 price. I bought it today before you raised its price!
  2. alex

    alex Administrator Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,020
    1. It can be enabled: aMember CP -> Setup
    2. No, signup form doesn't allow spaces inside username! Starting and leading spaces will be automatically removed.
  3. rich2

    rich2 Guest

    spaces allowed in username

    right, but was referring to space in between username, e.g., "user name"
  4. alex

    alex Administrator Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,020
    Please replace line in amember/signup.php:
    PHP:
     if (preg_match('/[^0-9a-zA-Z_ ]+/'$vars['login'])){
    to
    PHP:
        if (preg_match('/[^0-9a-zA-Z_]+/'$vars['login'])){

Share This Page