Skip to Content Skip to Menu

🌲 Merry Christmas! Great savings on Professional and Developer Memberships! Get 25% off now with code XMAS-2024!

[SOLVED] Multiple user group registration

  • crpeiris
  • crpeiris
  • OFFLINE
  • Posts: 12
  • Thanks: 1
  • Karma: 0
9 years 9 months ago - 9 years 9 months ago #260501 by crpeiris
Hi
I installed joomla 3.4, Cb 2.0.7 and CB Auto action plugin 6.2.1.

I was able to auto register users with ACL user groups. I showed multiple user groups in the registration form and when user select a group, the registration process is perfect.
But, when I select more than one group, registration is not correct and new user "register" in register category only.
is there is a way to activate multiple group registration from front end?

Thank you
Ranil
Attachments:
Last edit: 9 years 9 months ago by krileon.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48616
  • Thanks: 8302
  • Karma: 1446
9 years 9 months ago #260516 by krileon
Replied by krileon on topic Multiple user group registration
Ensure you're using a "Contains" operator in your CB Auto Actions conditional. My guess is you're using an "Equal To" operator, which means it's only going to match exact values. In the case of a multi-select field (you appear to have a multi-checkbox) it's stored as VALUE1|*|VALUE2|*|VALUE3 so in that case Field = VALUE1 doesn't work.


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.
The following user(s) said Thank You: crpeiris

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

  • crpeiris
  • crpeiris
  • OFFLINE
  • Posts: 12
  • Thanks: 1
  • Karma: 0
9 years 9 months ago - 9 years 9 months ago #260526 by crpeiris
Replied by crpeiris on topic Multiple user group registration
Hi Thank you for your support.

yes, i have used equal to, but I have not correctly checked the registration detail. Although I used "equal to", it also works fine.

I have checked registration from the user treeview, although it shows only registration category they have registered to the selected groups.

Sorry for inconvenience, and I highly appreciate your service.

Thank you
Ranil
Last edit: 9 years 9 months ago by crpeiris.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48616
  • Thanks: 8302
  • Karma: 1446
9 years 9 months ago #260582 by krileon
Replied by krileon on topic Multiple user group registration
Equal To will only work if 1 value is selected. If they select more than 1 it's not going to match. I recommend changing to a Contains operator if not done already then retesting to ensure it's working with single and multiple value usage. For your usage you also should make sure you're using both the frontend and backend registration triggers otherwise you'd have to manually select their groups in backend when editing them instead of it doing it automatically based off the field selection. You'll also want to use both frontend and backend profile edit triggers if you want it to function on profile edit. So ideally should be acting on a total of 4 triggers or at least 2.


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.

  • crpeiris
  • crpeiris
  • OFFLINE
  • Posts: 12
  • Thanks: 1
  • Karma: 0
9 years 9 months ago - 8 years 10 months ago #260630 by crpeiris
Replied by crpeiris on topic Multiple user group registration
Thanks for your attention.

I checked several times with "equal to " and it works fine. But I changed all conditions to "does contain" as you suggested.

I used "after front end registration" and "after front end profile update" as triggers.

This is not a big issue but I will write here. When I checked user status in joomla user manager , there is no details of assigned groups. But, in CB user manager and profile shows as registered in groups.

Thank you
Ranil
Last edit: 8 years 10 months ago by crpeiris.

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

Moderators: beatnantkrileon
Powered by Kunena Forum