Hello Support,
I have created a tab "Reset Password" on my account page--hidden link and added shortcode "[wpv-reset-password-form]" for this but it seems not working.
Link to a page where the issue can be seen: hidden link
Please have a look in screenshot-- Code--hidden link, Frontend--hidden link
Thanks
Sid
Hi there,
[wpv-reset-password-form] shortcode should be used in combination with [wpv-forgot-password-form] shortcode, in order to produce a page where users can reset their password properly.
The steps you need to follow are:
1. Create a new page and insert the reset password shortcode: [wpv-reset-password-form]
2. Copy the URL of the page on the frontend
3. Create a new page and insert the forgot password shortcode, passing as an argument the URL of the reset password page: [wpv-forgot-password-form reset_password_url='hidden link;
This way, (logged-out) users can use this forgot page to insert their email or username and they will receive an email, including a link to the reset password page.
For more information:
https://toolset.com/course-lesson/creating-the-lost-password-page/
Thanks.
Hi Christopher Amirian,
I have tried already and it was working before but now its not working.
Please help me solve the issue.
Thanks
Sid
Hi there,
Then would you please give me the steps that you take to create the lost password?
Also, I'd appreciate it if you could give me the URL/User/Pass of your WordPress dashboard after you make sure that you have a backup of your website.
It is absolutely important that you give us a guarantee that you have a backup so if something happens you will have a point of restore.
Make sure you set the next reply as private.
Finally, please give me the URLs and the details of:
[wpv-reset-password-form]
URL of the page on the frontend
and
[wpv-forgot-password-form reset_password_url='hidden link;
So that we can check
Hi there,
I checked my account page and you need to add a link to the lost password page there and not the shortcode.
Now when it comes to the reset password and Lost password pages they will not show any form if you are logged in.
It will show only if you are logged out.
You can check this sample website that I created:
hidden link
Now the problem with your setup is that you force the lost password and reset password to go behind the login form when you are logged out and that is the issue:
hidden link
hidden link
Please make the pages above available for non-logged-in users and you will see the proper form.
On my account page just add a link to the lost password page.
Thanks.
My issue is resolved now. Thank you!
Hi There,
I want to show reset password form for logged in user as I want users to reset their password from my account page.
Is it possible to do that?
Please let me know
Thanks
Sid
Hi there,
No, unfortunately, there is no option for that in Toolset.
One custom code can be done, and that is you create a shortcode that generates a link that link will point to the lost password page and automatically force the customer to be logged out so he can see the input box.
You can add the code below:
add_shortcode( 'chr-logout-url', 'chr_logout_url_func' );
function chr_logout_url_func() {
?>
<a href="<?php echo wp_logout_url( "<em><u>hidden link</u></em>"); ?>">Lost Password?</a>';
<?php
}
Change "hidden link" with the URL of your lost password page.
Change "Lost Password?" with whatever text you want to have for the link.
To the Custom Code section of Toolset using the method below:
https://toolset.com/documentation/programmer-reference/adding-custom-code/using-toolset-to-add-custom-code/
After that on the My Account page add the
shortcode which will generate the URL that forces the user to get logged out.
Thanks.