Skip Navigation

[Resolved] Access to My Account page / Login Form not working correctly

This support ticket is created 6 years, 9 months ago. 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.

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)

This topic contains 5 replies, has 2 voices.

Last updated by christinaB-2 6 years, 8 months ago.

Assisted by: Shane.

Author
Posts
#626954

I followed the instructions on this page:
https://toolset.com/documentation/user-guides/cred-training-course/part-7-building-account-page-login-form/

Link to a page where the issue can be seen:
hidden link

When I am logged out I expect to see the login form layout. Instead I see the My Account page that is supposed to show only when I am logged in.

When I am logged in the page looks like it is supposed to, with the caveat that I may have to do a hard refresh of the page first before it will shows my username.

The other issue I have is that I can't figure out how to show a link to this page when the user is not logged in. How do I show a link to 'Log In' that points to this page?

#627026

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Christina,

Thank you for contacting our support forum.

Could you let me know what Happens when you disable the Yoast plugin ?

Thanks,
Shane

#627148

Thanks! Disabling the Yoast plugin fixed the problem so that the login form now shows when users are not logged in.

Now all I need to know is how to display a link to this page when the user is not logged in.

#627295

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Christina,

You can take a look at the link below.
https://toolset.com/documentation/user-guides/access-control-texts-inside-page-content/

This should be able to guide you through this.
Thanks,
Shane

#630415

I'm not able to use the instructions at that link because the link I need to show is part of a Menu specified in the Accelerate theme.

At hidden link
the menu at the top right shows: Donate Contact My Account
only if I am logged in. I need it to show the 'My Account' link even if users are not logged in. (Otherwise, how will they get to the page to log in?!)

Thanks for any advice you can offer!
Christina

#630550

I figured out a solution. I stopped using Access to control access to the entire page. Now guests and logged-in users can all get to the page and the link to the page always shows in the top menu. Within the page I use Access to show the login form only to guests and to show the page content only to logged-in users.

Thanks for your help. The link you provided ultimately got me to this solution. I wonder if you might want to revisit the instructions on this page, though, because it seems a flaw in the setup that the link to the login form is automatically hidden when the user is not logged in: https://toolset.com/documentation/user-guides/cred-training-course/part-7-building-account-page-login-form/