• Not a support request but more of a feature request.

    I am receiving a lot of bot registrations and they have one 2 things in common:
    * Sensless names like asdzxcvger
    * all of them come from a valid “SEO” domain

    Registration is done with email confirmation and i am not willing to really enable admin approval for registrations.

    So how hard it would be to implement filtering by email for registering accounts. I envision something akin to the spam filtering in stock WP.

    https://www.ads-software.com/plugins/register-plus-redux/

Viewing 1 replies (of 1 total)
  • Hi!
    First, great work, thanks!
    I am agree! I want to allow only certain domains to register and the changes made in wp-login.php doesn’t work when you use the registration from the widget. Some “quick fix” that you can suggest to us?
    I need something like that (works in wp-login.php).

    elseif (! preg_match('#[@.]gmail$#i', $user_email ) ) {
            $errors->add( 'invalid_email', __( 'ERROR: Only "gmail" email address allowed.' ) );
            $user_email = '';
        }
Viewing 1 replies (of 1 total)
  • The topic ‘Filter registrations by email’ is closed to new replies.