Skip Navigation

[Résolu] [wpv-reset-password-form] – how to add a redirect after the change

Ce fil est résolu. Voici une description du problème et la solution proposée.

Problem:

The issue here is that the user wanted to add a redirect on their reset password form.

Solution:

You can add the redirect by using this attribute "redirect_url"

Add it to your shortcode like this [wpv-reset-password-form redirect_url='myurl']

This support ticket is created Il y a 5 années et 9 mois. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Aucun de nos assistants n'est disponible aujourd'hui sur le forum Jeu d'outils. Veuillez créer un ticket, et nous nous le traiterons dès notre prochaine connexion. Merci de votre compréhension.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Ce sujet contient 5 réponses, a 2 voix.

Dernière mise à jour par tony Il y a 5 années et 9 mois.

Assisté par: Shane.

Auteur
Publications
#1184311

Sorry but I find tracking down what I need here is confusing and bits are missing - it's probably me but maybe you can help.

I have set up a membership site and all is working except for the reset-password page does not redirect to the page I want.

After the password change, the confirmation is displayed along with the form. I want it to redirect to lien caché page after the password update.

In the forgot password page I have:
[wpv-forgot-password-form reset_password_url="lien caché"]

which works

In the reset password page I have:
[wpv-reset-password-form]

How do I add a redirect to the password reset form and where do I find these forms so that I can edit it (I seem to have lost it somehow!)? They are not in my CRED list and I cannot see where they are listed for easy access. I must have created these forms somehow but cannot work out how I did them.

Thanks
Tony

#1184406

Shane
Supporter

Les langues: Anglais (English )

Fuseau horaire: America/Jamaica (GMT-05:00)

Hi Tony,

Thank you for contacting our support forum.

Is it that you want to customize the reset password form ?

Please let me know.
Thanks,
Shane

#1184449

Hi Shane

Yes

When the user enters the new password (twice) and submits the form, the returned page is the fowm with the "details updated" message.

What I want to happen is, after the form has been submitted and the data updated, I want to display my Login page. It's not a big problem as the linkto the Login page is on the return page - it's more of a cosmetic thing to avoid the user wondering what to do next.

Kind regards
Tony
PS
I am sure there will be others interested in this option.

#1184491

Shane
Supporter

Les langues: Anglais (English )

Fuseau horaire: America/Jamaica (GMT-05:00)

Hi Tony,

Thanks for the clarity.

This is actually possible and you can add the redirect by using this attribute "redirect_url"

Add it to your shortcode like this [wpv-reset-password-form redirect_url='myurl']

Please let me know if this helps.
Thanks,
Shane

#1184497

Thanks Shane

Very simple solution - it would be really useful if the documentation at Toolset simply listed all the shortcodeswith their attributes (plus examples) - I am sure there are lots of hidden gems!!

It works perfectly.

Kind regards
Tony

#1184498

My issue is resolved now. Thank you!