Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • pak77

    (@pak77)

    Hi,

    Not sure if you are still looking for an answer to this, or maybe it will help someone else in the future. But I was having the same problem and got the indicator to work by doing the following

    Ok it turns out the issue is that the password strength plugin (which is a default wordpress plugin and not WPUF’s) is not calling a required js file when used with WPUF

    I managed to get it to work by adding the following to the “wp-content/plugins/wp-user-frontend-pro/wpuf-functions.php” file

    /**
    * Enqueue script for password strength meter
    */
    function password_score_script() {
    wp_enqueue_script( ‘zxcvbn-async’, ‘/wp-includes/js/zxcvbn-async$suffix.js’, array(), ’1.0.0′, true );
    }

    add_action( ‘wp_enqueue_scripts’, ‘password_score_script’ );

    Add the above to the end of the functions file and it should then work as expected.

    Hi Max,

    Thanks for the quick response. Please contact me at [email protected] so I can send you my details.

    Thanks again

    Paul

    This is exactly what I need but for some reason it is not working for me.

    I have added the code you suggested to my functions.php which adds the input on my User Frontend form no problem, but it is not protecting the file after submitting the form.

    Do I need to include files in my header or something? It would be a great help to get this working.

    Thanks for your help

Viewing 3 replies - 1 through 3 (of 3 total)