Custom Fields
Re-Envisioned
Support MB User Profile [MB User Profile] Show password meter on registration form

This topic contains 11 replies, has 3 voices, and was last updated by  Clayton Collie 1 week, 1 day ago.

  • Creator
    Topic
  • #13150
    Resolved
    Clayton Collie
    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?

Viewing 10 replies - 1 through 10 (of 11 total)
  • Author
    Replies
  • #13211

    Clayton Collie
    Participant

    Any thoughts on this Ahn?

    #13218

    Clayton Collie
    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 Tran
    Keymaster

    Hi Clayton,

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

    #13502

    Anh Tran
    Keymaster

    Hi Clayton,

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

    #13990

    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 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

    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 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

    It would be great, thanks.

    #14190

    Anh 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).

Viewing 10 replies - 1 through 10 (of 11 total)

You must be logged in to reply to this topic.