• Every time I update this plugin I have to make my own custom edit to make it work with MU – without which I get loads of bogus bot attempts to register on wp-signup.php

    if ( C4WP_Functions::c4wp_is_form_enabled( 'registration' ) ) {
    	add_action( 'register_form', array( __CLASS__, 'form_field' ), 99 );
    	add_filter( 'registration_errors', array( __CLASS__, 'registration_verify' ), 10, 3 );
    
    	// added lines for WPMU
    	add_action( 'signup_extra_fields', array( __CLASS__, 'form_field' ), 99 ); 
    	add_filter( 'wpmu_validate_user_signup', array( __CLASS__, 'mu_registration_verify' ), 10, 3 );
    }

    and then mu_registration_verify is just a setup and then call to the standard $this->registration_verify( $errors, $sanitized_user_login, $user_email );

    (I can give you the specific code I use if you want it)

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author robertabela

    (@robert681)

    Thank you for using our plugin Alanft.

    In the last update of the plugin we have added out of the box support for the registration box on multisite networks. Can you please check the latest version of the plugin and confirm if that does the trick?

    Looking forward to hearing from you.

    Thread Starter alanft

    (@alanft)

    Hi – thanks for the message. I am running on 7.5.0 which I think is the latest version, but no catcha appeared on wp-signup.php until I made my customary amendments. Is there a configuration option I missed?

    Plugin Support Lucian Padureanu

    (@lucianwpwhite)

    Hello again alanft !

    Starting with version 7.5.0, we have included an independent setting for the Multisite signup Form. in both: our “Form Placements” page, as well as in the plugin’s first-time configuration Wizard,

    Screenshots for reference: https://prnt.sc/qfjTyiYXAciy and
    https://prnt.sc/gOGtsN0o8vMI

    Can you please let me know if activating this does the trick for you? (I would propose that you comment on your custom code before trying this, of course)

    If there are any other problems or questions, let us know!

    Many thanks!

    Thread Starter alanft

    (@alanft)

    THANK YOU SO MUCH. I had totally missed that setting in the “Network” dashboard settings. Apologies for bothering you! But also thanks EVER so much – that has saved me worrying about upgrading. (I once upgraded and was inundated with sent emails from bogus addresses trying to register clogging up my sent items)

    Thread Starter alanft

    (@alanft)

    actually – not 100% sure that the solution is working. with your “Multisite Signup form” option ticked I’m now getting a higher than normal rate of sent emails for verifying signups, all with dubious looking email addresses.

    I’ve reinstated my “hack”. I’ll see if that reduces it back to zero. if so, I’ll update you

    Plugin Author robertabela

    (@robert681)

    Thank you for the update Alanft. Indeed, please do keep us posted because if there is something we can improve and work on, we’ll gladly do it.

    Looking forward to hearing from you.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Using with multi-user’ is closed to new replies.