Skip to Content Skip to Menu

🌟Discover the Joomla AI Plugin that wrote its own story! - CB Editor Assistant 1.1now for Joomla 3, 4 & 5!
✍️ 5-Day Free Trial, then 🎯 save up to 30% with our 🛍️ Intro Offer (First 50 users, ends Dec. 25th)
🌲 Merry Christmas! Great savings on Professional and Developer Memberships! Get 25% off now with code XMAS-2024!

Single login for multiple accounts

  • dhtai
  • dhtai
  • OFFLINE
  • Posts: 1
  • Thanks: 0
  • Karma: 0
  • Add-ons
1 month 4 weeks ago #339461 by dhtai
Single login for multiple accounts was created by dhtai
Hello, 

We are using CB as a client portal for a doggy daycare business. In short, each profile represents one dog and we use articles as like report cards for each dog. So far it works like a charm and has been great. 

Question, is there a way that we can create a script that may allow profile access to multiple profiles (dogs) that may belong to a same owner? In other words, a registered user can log in to view his own profile and another profile that is approved with permission?

Thank you,

Tai 

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48616
  • Thanks: 8302
  • Karma: 1446
1 month 3 weeks ago #339465 by krileon
Replied by krileon on topic Single login for multiple accounts
I'm not sure it's going to be possible to do that without completely modifying the login flow. You'd need some sort of second stage process to the login to select the profile they want to login as. So that would require a lot of custom coding work.

Typically for a site like this you'd make the profiles the customer and in those profiles you'd use something like CB Field Groups to have a repeating group of fields that they would use to fill out information about their dogs. This way they'd only have 1 profile, but can display information about each dog on that profile perfectly fine.

It might be possible with something like CB Auto Actions to quickly let them switch to a different account using the Login action type, but they'd still be 2 completely separate accounts. This would be like our Login As buttons on our demo site where you simply click it and automatically login as that user.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum