[MB User Profile] Show password meter on registration form

Support MB User Profile [MB User Profile] Show password meter on registration formResolved

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #13150
    Content PilotContent Pilot
    Participant

    Is it possible to show the password strength indicator on the registration form?

    Looking through the shortcode source code this doesn't look possible nor do I see it on the available MB fields if I roll my own form.

    Could this be added?

    #13211
    Content PilotContent Pilot
    Participant

    Any thoughts on this Ahn?

    #13218
    Content PilotContent Pilot
    Participant

    I followed this tutorial on how to attach the strength meter to the form.

    https://code.tutsplus.com/articles/using-the-included-password-strength-meter-script-in-wordpress--wp-34736

    I also add this function to echo the span for the JS to bind to.

    add_action( 'rwmb_profile_before_submit_button', 'password_strength_meter_field' );
    function password_strength_meter_field( $config ) {
      if ( 'register-form' === $config['form_id'] ) {
        echo '<span id="password-strength"></span>';
      }
    }
    #13335
    Anh TranAnh Tran
    Keymaster

    Hi Clayton,

    Thanks a lot for your solution. I'll check it and add to the plugin.

    #13502
    Anh TranAnh Tran
    Keymaster

    Hi Clayton,

    This feature is available in the latest version 1.2.0. Please update.

    #13990
    proyectohappyweb@gmail.com[email protected]
    Participant

    Hello,

    When I make a register, I see strong levels of the password:

    Very weak = Is disabled the button register
    Medium = Is disabled the button register
    Strong = Is enabled the button register

    The Strong password is the only level that users can make a register. Exist any way to make posible to the register with the level medium too?

    Thanks,
    Sergio

    #13998
    Anh TranAnh Tran
    Keymaster

    Hi Sergio,

    Unfortunately, users are required to have strong password. There's no way to set the level to "medium" at the moment.

    #14003
    proyectohappyweb@gmail.com[email protected]
    Participant

    ok thanks, and remove this feature, remove this action so it does not ask for any kind of password strength? Or is not posible too?

    Thanks.

    #14006
    Anh TranAnh Tran
    Keymaster

    That's a good question. It's not available at the moment. I'll try to add another shortcode attribute to make it disable or able to set which password strength is acceptable.

    #14010
    proyectohappyweb@gmail.com[email protected]
    Participant

    It would be great, thanks.

    #14190
    Anh TranAnh Tran
    Keymaster

    Added password_strength parameter in the latest version 1.3.0, which indicates the minimum required password strength (can be very-weak, weak, medium or strong).

    #14193
    Content PilotContent Pilot
    Participant

    Ahn, this is very close. Thanks for adding it. It is working well for the first password field but does not use the Mismatch flag when working with two password fields. On my end, I have 2 password fields and put in matching strong passwords then added a few extra characters. The meter did not change to inform me that they are mismatched.

Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.