Hi Jeff,
I’m using version 5.1.6 (Can’t upgrade to 6.0 for some reasons). The custom passwords (or even the auto-generated passwords) aren’t working for me either. But if I go through the lost-password process and create new password, that always works. Any ideas?
Why can’t you upgrade to 6.0? This is a HIGHLY recommended upgrade.
Hi Jeff,
First of all, thanks for the great plugin! I finally did upgrade to 6.0, but the problem is still there. Here are the details:
1 If I register using wp-login with autogenerated or custom passwords, then the passwords work
2 If I register using theme-my-login, then neither autogenerated nor custom passwords work
3 If I re-create passwords using lost-password in theme-my-login, then the passwords work
4 The emails that I get always have the exact passwords that I had entered for registration
Another minor problem is that I have added the re-Captcha plugin, but the recaptcha box shows up between the email field and the password field. The box should be after the password field.
Can I have admin access to your site to try and figure out what is going on?
If so, send it to jeff [at] jfarthing [dot] com.
One of your plugins is conflicting, as it works fine when disabling them all.
The problem was W3 total chache. I have now added /login/.* to “never cache the following pages” in DB cache settings, and everything’s working fine. Hopefully this’ll help someone else.
One last thing, do you know how to make the recaptcha box show below the custom passwords in registraion page?
Create a file called theme-my-login-custom.php in your plugins directory. Then, try adding this to it:
<?php
function tml_reposition_pass_fields() {
global $Theme_My_Login;
remove_action( 'tml_register_form', array( &$Theme_My_Login, 'password_fields' ) );
add_action( 'tml_register_form', array( &$Theme_My_Login, 'password_fields' ), 11 );
}
add_action( 'tml_modules_loaded', 'tml_reposition_pass_fields' );
?>
If that doesn’t work, try changing the 11 to something higher until it does.
The above solution did not work for me and so I did some work around in the templates/register-form.php on line 20
changing the order of following code
do_action_ref_array( ‘tml_register_form’, array( &$template ) ); //TML hook
do_action( ‘register_form’ ); // WordPress hook
in register form template fixed this