Skip to Content Skip to Menu

All users to be members of all groups...

  • Toulouzing
  • Toulouzing
  • ONLINE
  • Posts: 174
  • Thanks: 18
  • Karma: 2
11 hours 5 minutes ago - 11 hours 3 minutes ago #343544 by Toulouzing
Replied by Toulouzing on topic All users to be members of all groups...

Generally you'd configure this to be onAfterUserRegistration so it places them in groups when they register.

Yes, this is what we need because, all registered users should be members of most of generic groups which are not an option. So, could you help me to set the autoaction based on this trigger ? 

PS: We inaugurate our community site tonight, I added your name in the credits 
 
Last edit: 11 hours 3 minutes ago by Toulouzing.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 50258
  • Thanks: 8599
  • Karma: 1470
10 hours 51 minutes ago #343545 by krileon
Replied by krileon on topic All users to be members of all groups...
That should be a pretty simple straight forward configuration. Do you have email confirmation and/or admin approval enabled? That'd change things a little bit since you'd probably want to wait for them to be confirmed and/or approved before forcing them to join. The below for example is without confirmation or admin approval.

Registered
Global
Triggers: onAfterUserRegistration
Type: CB GroupJive
User: Automatic
Access: Everybody
Action
Mode: Join Groups
Groups: SELECT_GROUPS_HERE

That's all there is to it. They'd be placed in whatever groups you selected after they register. If you have confirmation and want to wait for them to be confirmed you can use the below. Basically just a trigger change with a condition to ensure confirmation state is switching to confirmed

Confirmed
Global
Triggers: onAfterUserConfirm
Type: CB GroupJive
User: Automatic
Access: Everybody
Conditions
Field: Custom > Value
Custom Value: [var2]
Operator: Equal To
Value: 1
Action
Mode: Join Groups
Groups: SELECT_GROUPS_HERE

Now when they confirm their email they'll be placed in the groups instead of directly after registering. If you have moderator approval it's again just a relatively simply change. Is actually just a literal trigger change from the above.

Approved
Global
Triggers: onAfterUserApproval
Type: CB GroupJive
User: Automatic
Access: Everybody
Conditions
Field: Custom > Value
Custom Value: [var2]
Operator: Equal To
Value: 1
Action
Mode: Join Groups
Groups: SELECT_GROUPS_HERE

Now when you confirm their account they'll be placed in the selected groups. Note you only need to use one of the above. Don't use all 3. Which you use is entirely up to you and your configuration.

PS: We inaugurate our community site tonight, I added your name in the credits

I appreciate it, but no need to credit me personally. We're a team here so if you do want to credit us just credit Joomlapolis. 😊


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