• Hello,

    I would like to use this plugin with ‘users_can_register’ option disabled for our site. Could you please add a setting to not require this? Or even a filter where it could be disabled, eg.:

    `
    if ( apply_filters( ‘wpau_require_user_can_register’, ! get_option( ‘users_can_register’ ) ) ) {
    require_once ‘noop.php’;
    return;
    }
    `

    But I’m working with a theme where I need that disabled, and plugins load earlier, so I can’t use such a filter – hence a setting in this plugin would be nicer, but I could create a plugin for that if needed.

    Or perhaps I’m overlooking the need for that setting? I have a web form to create the new user which adds the ‘wp-approve-user’ and ‘wp-approve-user-new-registration’ user_meta, so calling user_register() is not needed. I’m handling the notification email already, so register_new_user() doesn’t need to setup the call to wp_new_user_notification(). I might be missing something, but I think it will work if I can just bypass loading noop.php.

    Thanks,
    Jesse

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter jnorell

    (@jnorell)

    Any thoughts here? Or is there a more appropriate place to post feature requests? (the github repo is 7 years oudated, so I didn’t bother using that)

    Thanks….

    Plugin Author Konstantin Obenland

    (@obenland)

    I could create a plugin for that if needed

    You seem to have a fairly custom setup, so that seems to be a good solution.
    Filtering the option in a mu-plugin and removing that filter after plugins_loaded could work.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘rfe: not require users_can_register’ is closed to new replies.