Skip to Content Skip to Menu

[SOLVED] Auto action, group manipulation

  • fribse2011
  • fribse2011
  • OFFLINE
  • Posts: 921
  • Thanks: 79
  • Karma: 8
12 years 7 months ago - 12 years 7 months ago #195230 by fribse2011
[SOLVED] Auto action, group manipulation was created by fribse2011
Can I move a user from one group to another, using replace or something like that?

My hierachy looks like this

registered
+-member
..+-commitee

I would like to both remove member and commitee, and move them to registered if they leave the club.

And if a new person joins, I would like to move them from registered to commitee.

The member status is reflected in a field called cb_type, so I would create a usergroup action, that checked if var4_cb_type was not equal to cb_type, and then I see a challenge.
Because as I can see it I can not do 'or' in my conditionals, so I need to create a seperate action for each case.
Furthermore I can't see how to remove a lot of groups, and add 1 if they leave the club,so I need to create duplicate for that as well.

That's going to end up in a lot of actions I think?

Best regards
Fribse

Frømandsklubben Nikon, www.nikondyk.dk
We're a volunteer driven diving club in Ishøj, Denmark.
Har du brug for en dykkerklub der rummer alle, så kom ned til os.
Last edit: 12 years 7 months ago by krileon.

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

  • fribse2011
  • fribse2011
  • OFFLINE
  • Posts: 921
  • Thanks: 79
  • Karma: 8
12 years 7 months ago #195271 by fribse2011
Replied by fribse2011 on topic Re: Auto action, group manipulation
Ok, so I guess I figured it out, the replace action will replace all groups with the selected. So that makes it a bit easier for me.

Best regards
Fribse

Frømandsklubben Nikon, www.nikondyk.dk
We're a volunteer driven diving club in Ishøj, Denmark.
Har du brug for en dykkerklub der rummer alle, så kom ned til os.

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

Moderators: beatnantkrileon
Powered by Kunena Forum