Page 1 of 1

Password Reset -potential for confusion

PostPosted: September 9th, 2010, 12:34 am
by condonp
I am very new to wordpress and the s2 members plugin. I have got everything working however I have one question.

On password reset when it takes me to the s2 members log in and asks for my e-amil OK
Enter in e-mail

1) The screen then shows username and password with message "Check your e-mail for the confirmation link."
- Is it possible on this link to get ride of username and password fields in this screen as there is a danger that the user will not read the important message and get confused by trying to enter in existing password?

2) Then when I click on the link, it takes me to the login screen where I have a message "Check your e-mail for your new password." again the two fields username and password are present which again causes confusion can we get ride of these for this screen?
Currently the original username and password also show here (the original cache?) which also adds to potential confusion how do I get ride of this so that these original entries are clear?

Re: Password Reset -potential for confusion

PostPosted: September 10th, 2010, 1:15 am
by Jason Caldwell
Hi there. Thanks for your inquiry.

All of this functionality is built into WordPress®. However, if you'd like to change it, you could do something like this. Place this file into your /wp-content/mu-plugins/ directory.

/wp-content/mu-plugins/my-s2member-hacks.php
Code: Select all
<?php
add_filter 
("ws_plugin__s2member_login_header_styles", "my_login_styles");
function my_login_styles ($s)
    {
        $s .= '<style type="text/css">';
        $s .= (isset($_GET["checkemail"])) ? 'form#loginform { display:none; }' : '';
        $s .= '</style>';
        /**/
        return $s;
    }
?>

If you don't have an /mu-plugins/ directory, create one.
/mu-plugins/ = Must Use Plugins ( these will be autoloaded )

Re: Password Reset -potential for confusion

PostPosted: September 10th, 2010, 3:07 am
by condonp
Many Thanks Jason,

I will try this, could you laso answer the questions as to why on the login screen the username and password still show up. I have tried this on your site and others and this seems to be clear is this related to a cookie or cache setting that needs to be invoked to ensure that any previous login is cleared.

Re: Password Reset -potential for confusion

PostPosted: September 14th, 2010, 11:35 am
by condonp
Great thats it many thanks, really impressed with the level of support !

Re: Password Reset -potential for confusion

PostPosted: September 14th, 2010, 1:11 pm
by condonp
Jason,

Just one slight issue with the process. The system will generate a system generated password that allows you to login to member site, but they will want to change the password to one they can remember.. I don't want them to go to the backend of wordpress to the user profile as this looks terrible,and is again confusing. Is there any script that can be used to reset their password once logged in. If so we then have cracked it!!

Re: Password Reset -potential for confusion

PostPosted: September 14th, 2010, 3:05 pm
by bobby10
I am also dealing with a password reset issue. The client wants to be able to click the reset link,then enter a new password, and not check their email yet again for a difficult to remember password.

I can't find a way to replace the Wordpress functions retrieve_password() and reset_password() - is this even possible?

Cheers!

Robert