Skip to Content Skip to Menu

[SOLVED] auto move to groups after registration

  • fredc15
  • fredc15
  • OFFLINE
  • Posts: 37
  • Thanks: 5
  • Karma: 0
7 years 10 months ago - 7 years 10 months ago #289600 by fredc15
Hi,

I am trying to figure out whether to use a conditional or auto-action:
1. People will register placing them into one of two groups based on field selection at registration.
2. If Course 2016 is selected, then student would be in Student 2016 group
3. If Course 2017 is selected, then student would be in Student 2017 group

How do I set this up to automate movement into one of two groups based on Course selection at registration?

I think I would use an auto-action
Triggers: "onAfterSaveUserRegistration
Type: Field
User: Automatic
Acces: Everybody

Condition: I have no clue how to set this up

Thanks again for your help
Last edit: 7 years 10 months ago by krileon. Reason: Added [SOLVED] tag to subject

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

  • krileon
  • krileon
  • OFFLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
7 years 10 months ago #289612 by krileon
Replied by krileon on topic auto move to groups after registration
The below should work fine. You'll need 2 auto actions for that.

Global
Triggers: onAfterUserRegistration
Type: Usergroups
User: Automatic
Access: Public
Conditions
1: [FIELD_NAME] Equal To Course 2016
Action
Mode: Add Usergroups
Groups: Student 2016

Global
Triggers: onAfterUserRegistration
Type: Usergroups
User: Automatic
Access: Public
Conditions
1: [FIELD_NAME] Equal To Course 2017
Action
Mode: Add Usergroups
Groups: Student 2017

Replace FIELD_NAME with the actual name of your course field. I wasn't sure if you were referring to Usergroups or CB GroupJive Groups so the above is with Usergroups.


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

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

  • fredc15
  • fredc15
  • OFFLINE
  • Posts: 37
  • Thanks: 5
  • Karma: 0
7 years 10 months ago #289721 by fredc15
Replied by fredc15 on topic auto move to groups after registration
Worked very well.

Thank you!

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

Moderators: beatnantkrileon
Powered by Kunena Forum