easy-digital-downloads
easy-digital-downloads copied to clipboard
Build front-end "Forgot Password" form
I seem to get this regularly... users wishing to purchase a renewal or making another purchase who forget their password. On the login screen of the checkout page, there should be an option to get and/or reset the password.
I already have in very plain sight (on the main site nav) a "My Account:" page which has the forgot password link but I think it would be beneficial to have it on the checkout/login page too.
Thanks for your consideration of this enhancement request!
I agree. We should include one as part of the [edd_login]
short code.
This was done recently in RCP: https://github.com/pippinsplugins/restrict-content-pro/pull/209
:+1:
Would be great if we could get this into 2.7 :) 👍
@cklosowski this actually needs to go further than just adding a link to the checkout screen. I need a full, frontend reset password form.
Ok, that wasn't part of his original statement:
I already have in very plain sight (on the main site nav) a "My Account:" page which has the forgot password link but I think it would be beneficial to have it on the checkout/login page too.
That mentions the link. We can build out a full reset form if we desire that.
See https://github.com/easydigitaldownloads/easy-digital-downloads/issues/3827#issuecomment-142969419
Just to be clear, we'll have to do this in two places.
The original request was for a password reset on the checkout page, which doesn't use [edd_login]
but a hand built form for the login process.
So we need to build a forgot password form for:
- [ ] [edd_login]
- [ ] Checkout Login Form.
:+1:
After some discussions with the team, we're going to punt this to 2.8 in need for awesomemotive/easy-digital-downloads-pro#27...we just don't have the proper means to guarentee an endpoint to show this interface, like RCP does...yet :)
:( On Tue, Jan 17, 2017 at 12:43 PM Chris Klosowski [email protected] wrote:
After some discussions with the team, we're going to punt this to 2.8 in need for awesomemotive/easy-digital-downloads-pro#27 https://github.com/easydigitaldownloads/easy-digital-downloads/issues/5398...we just don't have the proper means to guarentee an endpoint to show this interface, like RCP does...yet :)
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/easydigitaldownloads/easy-digital-downloads/issues/3827#issuecomment-273242462, or mute the thread https://github.com/notifications/unsubscribe-auth/AAtlGOCCbtNyzSR9lMpm7k3bAUTgazBZks5rTP20gaJpZM4GDJxp .
Sorry @adampickering as I started working on it, we just don't have a spot we can guarentee will work on all sites, without significant changes to the current shortcodes, which will likely cause an uproar, since we'll be altering the front end for logged out users.
That still has not happen - right?
Correct.
So after a year on it, do we have any update? :)
@Basilakis not at this time as it's not a top priority. It's definitely important but the most important set of items right now is completing our migration to custom tables and revamping reports, which is approaching completion.
I built this recently, works with EDD already. It uses mostly default WordPress functions with some slight alterations. Anyone is free to take a look and maybe include some code in EDD.
https://wordpress.org/plugins/frontend-reset-password/
Adding a vote for this. A built-in front end password reset system would be really beneficial IMO.
Five years later still using backend pw resets? Bruh.
If you just need checkout/login 'Forgot Password' you can use this code.
jQuery(document).ready(function( $ ){
// Your code in here
if( $('.edd-checkout').length ){
setTimeout(function(){
$( '<p class="edd-lost-password"><a href="https://YourDomianName.com/wp-login.php?action=lostpassword&redirect_to=https%3A%2F%2FYourDomianName.com%2Fwp-login.php%3Fcheckemail%3Dconfirm%26edd_reset_password%3Dconfirm%26edd_redirect%3Dhttps%253A%252F%252FYourDomianName.com%252Fcheckout%252F">Forgot Password?</a></p>' ).insertAfter( "#edd_checkout_login_register #edd-user-login-submit" );
},1600)
}
});
This would be a nice thing to finally have as it would also allow the Auto Register extension to remove the plain password completly https://github.com/awesomemotive/edd-auto-register/issues/111