Skip Navigation

[Resolved] account login

This support ticket is created 2 years, 5 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 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 1 reply, has 2 voices.

Last updated by Waqar 2 years, 5 months ago.

Assisted by: Waqar.

Author
Posts
#2217481

Tell us what you are trying to do?
Hi, I am creating a site for car transport.
The site includes two categories of users who can register and thus have access to a control panel. The two categories of users are: "customers" (those who need transport) and "transporters" (those who provide transport). I created 2 account pages, one for customers and one for transporters. The problem is that if I register as a customer and log in, the site also sees me logged in as a carrier. How can I solve the problem?

Is there any documentation that you are following?

Is there a similar example that we can see?
I'm trying to create a website like this: hidden link

What is the link to your site?
hidden link

#2218089

Waqar
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

Thank you for contacting us and I'd be happy to assist.

You don't have to create two separate account pages for the two types of users, as you can show different content and content template on the same page, conditionally, based on their user role.

This means that the website will have a single common account page that will show to all users after login, but depending on their user role, they'll see different content on that same page.

We have the guides on the topic of conditional content template assignment and content display at:
https://toolset.com/lesson-placement/lesson-placements-1645291-2019391/
https://toolset.com/lesson-placement/lesson-placements-1645291-1292451/

The information on redirecting users to the account page after login, is available at:
https://toolset.com/lesson-placement/lesson-placements-1645837-1622351/#redirect-users-after-they-log-in

I'll also recommend going through our entire free course on creating a membership website, to fully understand how different Toolset components can be made to work together:
https://toolset.com/course/wordpress-membership-sites/

I hope this helps and please let me know if you need any further assistance around this.

regards,
Waqar

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.