Skip to Content Skip to Menu

Auto Join Groups

  • AlanJones
  • AlanJones
  • OFFLINE
  • Posts: 509
  • Thanks: 42
  • Karma: 2
2 years 3 weeks ago #331378 by AlanJones
Auto Join Groups was created by AlanJones
I'm trying to get users to join groups at registration by field selection (multiple selection check-box).
The AutoAction works great if a user updates their profile, but I can't get it to work on registration.

The triggers i'm using are noAfterUserProfileSaved and onAfterUserRegistration. I've tried many others and can't seem to get it to work.
Any triggers I should try?

J 4.2.4
CB 2.7.4+build.2022.10.21.15.41.28.56bdcdeab
GJ 3.5.0
AutoActions 9.1.0

Own Your Own Community!

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
2 years 3 weeks ago - 2 years 3 weeks ago #331386 by krileon
Replied by krileon on topic Auto Join Groups
CB GroupJive comes with an Auto Join fieldtype. You should be able to use that to let them select groups to join during registration. Simply create a new field of type Auto Join. If you still want to use CB Auto Actions for that then onAfterUserRegistration is the correct trigger to be doing this on.


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.
Last edit: 2 years 3 weeks ago by krileon.

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

  • AlanJones
  • AlanJones
  • OFFLINE
  • Posts: 509
  • Thanks: 42
  • Karma: 2
2 years 3 weeks ago #331390 by AlanJones
Replied by AlanJones on topic Auto Join Groups
Ahhh, I should have known you guys would have a way for that.
I made that feld, but strangely though it does not appear on my registration form...  www.kidsmin.grouplands.com/sign-up
It's published, in the correct position set to profile, registration, and profile edit. 
Is there a plugin I need to enable?

Own Your Own Community!

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
2 years 3 weeks ago #331399 by krileon
Replied by krileon on topic Auto Join Groups
It respects access permissions. Are guests able to see and access those groups? Category access is usually the biggest culprit. Category or group being unpublished would also make them unavailable. Groups of Page type also won't be there as Page groups don't have user management.


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.

  • AlanJones
  • AlanJones
  • OFFLINE
  • Posts: 509
  • Thanks: 42
  • Karma: 2
2 years 3 weeks ago #331400 by AlanJones
Replied by AlanJones on topic Auto Join Groups
They'e all open groups. But they are not viewable by guest, and that's important for me.
Maybe I can do a two stage registration?
But even for a registered user the field doesn't show in their profile edit.

There used to be an "enable plugins" button somewhere in CB Config or login modules? Does that still exist? I was looking for it. Maybe that is switched off.

Own Your Own Community!

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
2 years 3 weeks ago #331401 by krileon
Replied by krileon on topic Auto Join Groups
The groups can be private. Their type doesn't matter except for Page type being excluded. Category access matters though. What's the Access parameter of their category set to? CB GroupJive itself in CB > Plugin Management should also be marked Public or the plugin won't load.


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