• Resolved cartpauj

    (@cartpauj)


    Would be interested in having you add MemberPress as an integration. I’ve written the code for you even:

    function lelandf_stop_signup_spam_mepr( $errors ) {
      $email = is_email($_POST['user_email']) ? $_POST['user_email'] : false;
    
      if ( $email !== false ) {
        $ip = lelandf_stop_signup_spam_get_ip();
    
        if ( lelandf_is_signup_spam( $email, $ip ) ) {
          $errors[] = __( 'Sorry, but something went wrong. Please contact us for further assistance.', 'stop-signup-spam' );
        }
      }
    
      return $errors;
    }
    add_filter( 'mepr-validate-signup', 'lelandf_stop_signup_spam_mepr' );

    Let me know if/when it’s added, thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Leland Fiegel

    (@lelandf)

    Hi there,

    I’d be happy to add integration for MemberPress, but it’s a premium plugin and I don’t have a copy of it.

    I don’t doubt your code works, but I’d really need to test it before adding it to my plugin.

    Are you on the MemberPress team, by any chance? Or could you put me in touch with somebody who is?

    My email address can be found on my website, linked from the mail icon in the footer.

    Thanks,
    Leland

    Thread Starter cartpauj

    (@cartpauj)

    Yes, I work for the company that created MemberPress. I’ve set you up with a copy of the plugin and you should get a welcome email soon, thanks!

    When it’s completed, let me know and I’ll throw a link on our 3rd party integrations page. Thanks!

    Plugin Author Leland Fiegel

    (@lelandf)

    Hi there,

    Just wanted to let you know this has been added in the latest version of Stop Signup Spam (1.0.3).

    (I think www.ads-software.com is having some issues with plugin downloads at the moment, so it’s not reflected on www.ads-software.com yet. However, the change is reflected on GitHub.)

    Thanks so much for your contribution!

    Regards,
    Leland

    Thread Starter cartpauj

    (@cartpauj)

    Thanks Leland! I’ll get a link posted on our site soon.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘MemberPress Integration’ is closed to new replies.