• Resolved Rubidze

    (@rubidze)


    Hi! I have created a custom stundent dashboard page and use shortcodes for login, registration, enrolled courses and etc.

    So far all but reset password works for me. For this I could not find a shortcode and to display reset password fields.

    Reset password is displayed inside [lifterlms_my_account] if there is /lost-password/ at the end of URL. To get it working, I need to add [lifterlms_my_account] to my custom made dashboard which will then add other fields that I am displaying with individual shortcodes. I am separate shortcodes to arrange individual fields and functions to better fit our design.

    So, if there is no shortcode for reset password, would you consider adding it or there could be some php I could use to register such a shortcode?

    Thank you in advance!

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @rubidze,

    The Password Reset field depends on the LifterLMS Dashboard settings, so there’s no way to make a shortcode really that would isolate that field.

    You could theoretically just create a button or link that goes directly to the dashboard/edit-account or password reset page itself. The issue is that resetting the password is going to display differently based on if a user is logged in or logged out.

    So, if you’re wanting to display the password reset that’s part of the edit account page you can add this as a logged in view on your custom dashboard by just adding the link to display that page.

    If a user is logged out then the link to lost password should display as expected on login.

    Please let us know if you have any further questions or if I’m maybe misunderstanding the set up you’re trying to achieve!

    Thanks and take care,

    Since I haven’t heard back from you in a week I’m going to mark this thread as resolved. Don’t worry, if you have more questions or still need help just hit reply and let me know!

    Have a great day!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘shordcode for reset password’ is closed to new replies.