Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

Adding a CB user to joomla group after registration

  • cesarmtz
  • cesarmtz
  • OFFLINE
  • Posts: 41
  • Thanks: 1
  • Karma: 0
11 years 7 months ago #223364 by cesarmtz
Sorry to bother you but I have look I don't know how many times and I don't see where my mistake is. Values I am trying to match are identical. Also I am using a Contain operator.

When you refer to "Please make sure the substitution is absolutely correct", what exactly you mean?

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48459
  • Thanks: 8280
  • Karma: 1443
11 years 7 months ago #223389 by krileon

When you refer to "Please make sure the substitution is absolutely correct", what exactly you mean?

When supplying [FIELD_NAME] you need to ensure it's absolutely correct as seen in CB > Field Management. If you're using the substitution with the after registration trigger then you need to ensure that field is actually on registration and accessible to the user or its substitution will fail. You must also ensure the value you're checking against is absolutely correct and letter for letter the same value you see when editing the field in CB > Field Management if it's a select type field.

If still not working after checking the above please PM backend super administrator login credentials and will take a look.


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.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48459
  • Thanks: 8280
  • Karma: 1443
11 years 7 months ago #223464 by krileon
It wasn't working because you are using a GJ auto join field and was under the impression it was just a normal dropdown select. For a GJ auto join field the values are the Group ID and not the Group Name (name is just for display). This field also does not store a value so [cb_fieldname] substitution does nothing for it; you instead need to pull the value directly from the POST using [post_cb_fieldname]. I've corrected the conditional to match against the Group ID as well as fixed it so it'll function in backend too. I've confirmed is now working, please also confirm is now working.


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.

  • cesarmtz
  • cesarmtz
  • OFFLINE
  • Posts: 41
  • Thanks: 1
  • Karma: 0
11 years 7 months ago #223478 by cesarmtz
I just confirmed it's working.So I d on't need GJ auto join field?

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48459
  • Thanks: 8280
  • Karma: 1443
11 years 7 months ago #223483 by krileon
If you want them to automatically join a GJ Group at registration you do. Otherwise no, but if you change to a different field you'll need to reconfigure your auto actions for it.


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: cesarmtz

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

  • cesarmtz
  • cesarmtz
  • OFFLINE
  • Posts: 41
  • Thanks: 1
  • Karma: 0
11 years 7 months ago #223596 by cesarmtz
Now I created a second field that will show up only if MLO or Realtor is selected but it is not and I am thinking it has to do with the fact the first field is an Auto Join. Am I right?

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

Moderators: beatnantkrileon
Powered by Kunena Forum