Skip to Content Skip to Menu

How to use Auto group

  • ComLeads
  • ComLeads
  • OFFLINE
  • Posts: 37
  • Thanks: 1
  • Karma: 0
9 years 11 months ago - 9 years 11 months ago #253763 by ComLeads
How to use Auto group was created by ComLeads
Hi,

I have a list of 3700 users and I have to attribute each users to their private group.
This is a parents school lists. Each parent has from 1 to 5 children in the school, each in a different class (=group).
So each parent has from 1 to 5 profile variables telling which class / group they must belong to.

My users list is pre-populated. I have 100 groups to populate. How can I use the auto group plugin to say for example :
If user's profile says Var1 or Var2 or Var3 or Var4 or var5 equals "CP1" then put user to group CP1 ?

The idea is that when the website will be released, all groups are created and private and the parents just have access to the group(s) they belong to.

Thanks for your help.

Edit : I manage to put my conditions with variables but I don't know which trigger I should select.
My aim is that groups are populated with their users before users come to the website. Like, I import my users list and automatically they are dispatch to their groups depending on the value of their fields.
So far I keep my groups as open and I plan to switch them to private once their are populated, is it right to do it that way ?
Last edit: 9 years 11 months ago by ComLeads. Reason: to focus on trigger

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48499
  • Thanks: 8284
  • Karma: 1443
9 years 11 months ago #253798 by krileon
Replied by krileon on topic How to use Auto group
That's not how the auto integration functions. It acts on a trigger and performs its action when triggered. For example after login or after registration force the user to join XYZ group. It's not a tool to conditionally batch add users to groups. There's really no easy way to do what you're wanting. You maybe better off just initially mass adding them to the _groupjive_users database table as GJ and CB it self do not have any import features.


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.

  • ComLeads
  • ComLeads
  • OFFLINE
  • Posts: 37
  • Thanks: 1
  • Karma: 0
9 years 11 months ago #253802 by ComLeads
Replied by ComLeads on topic How to use Auto group
Hi they already are imported to CB users with CBJuice2.

I am now looking for a solution to easily add them to the groups they belong to based on their value of header variables.

Any advise ?

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48499
  • Thanks: 8284
  • Karma: 1443
9 years 11 months ago #253810 by krileon
Replied by krileon on topic How to use Auto group
There is no such feature for what you're wanting. GJ does not have an import feature. Nor does CB. Normally you'd filter the user management page then use the add groups button, but at this time that's broken until GJ upgrade release. The only way to do what you're wanting is basically use phpmyadmin and use queries to insert them directly into the database or add them to groups 1 by 1 in GJ > Users.


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.

  • ComLeads
  • ComLeads
  • OFFLINE
  • Posts: 37
  • Thanks: 1
  • Karma: 0
9 years 11 months ago #253813 by ComLeads
Replied by ComLeads on topic How to use Auto group
Well that's very bad news. When I chose CB quick start it was on the fact that affecting users to groups was easy to handle. I have 100 groups, 3700 users to distribute into 1 to 5 groups.
It was said that I could make selection on their profiles variables. How can I do that ? It's a very important feature for me. Maybe using the lists ?
I don't understand why you are saying I can't import on CB users as I did it through CBjuice2.
When is the GJ release ? It's a major feature which is missing.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48499
  • Thanks: 8284
  • Karma: 1443
9 years 11 months ago #253837 by krileon
Replied by krileon on topic How to use Auto group

Well that's very bad news. When I chose CB quick start it was on the fact that affecting users to groups was easy to handle. I have 100 groups, 3700 users to distribute into 1 to 5 groups.

It is easy to handle, but you're asking for a way to import GroupJive groups for over 3,000 users into 100 groups. No such feature exists or existed.

It was said that I could make selection on their profiles variables. How can I do that ?

I've no idea where you got this impression. No where is it stated you can select groups from your profile. The profile display is purely to show what groups a users is already in. To join a group the user goes to the group and clicks the Join button. The auto join integration allows users to be forced into a group on a CB trigger. The trigger could be for example after the user logs in. It also provides a field that is accessible on registration only for them to select groups to join; this field is not available for profile edit as it bypasses access checks and forces them into the group.

I don't understand why you are saying I can't import on CB users as I did it through CBjuice2.

You can not import users into GroupJive. We do not have anything for that. CB Juice is not provided by us and imports only CB users.

When is the GJ release ? It's a major feature which is missing.

Import/Export features are not coming anytime soon. We have never had import/export and no where have we implied we do. Once CB core has the API to handle import/export then GJ will get import/export capability. CB won't have the API until probably 3.0.

The only thing I can suggest is setup auto actions for the after login trigger and let it take its course as the users login. Use CB Auto Actions to act on the Internal Users trigger and setup actions for your various groups (I guess 100 actions) then fire off the internal users URL to execute those actions on every user row. Alternatively you could construct a database query or multiple database queries to handle creating _groupjive_users rows for your users.


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