Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)

  • kama
    Participant

    @kama

    Just learned that there don’t seem to be current plugins that allow multiple user accounts 🙁 Ughh…this is awful!


    kama
    Participant

    @kama

    I’m thinking to use Formidable Forms for the user registration, and they offer this as an option:

    Don’t require a unique email#
    This can be used alongside a plugin that allows multiple user accounts to be registered to the same email address. This will remove the error added to the email field for a non-unique email address. Replace 50 with the ID of your Email Address field.

    add_filter( 'frm_validate_field_entry', 'remove_email_error', 25, 3 );
    function remove_email_error( $errors, $field, $value ) {
        $email_field_id = 50;
        if ( $field->id == $email_field_id && isset( $errors[ 'field'. $field->id ] ) && $errors['field'. $field->id] == 'This email address is already registered.' ) {
          unset( $errors['field'. $field->id] );
        }
      return $errors;
    }

    So I’m just curious if this would work with Buddypress.

Viewing 2 replies - 1 through 2 (of 2 total)
Skip to toolbar