narcis VIP
Total posts: 138
13 Окт 2015 15:16

Hello,

I want to assign user to two different joomla groups, but apparently, i can't use "Change user Group" action twice to assign user to two different groups at once, so i want to use SQL Action to assign user to another joomla group. I'd like know how set sql action to assign user to specific joomla group on successful subscription, and to remove him to this group on subs finish.

Regards.

Последние изменения: 24 Окт 2015


pepperstreet VIP
Total posts: 3,837
13 Окт 2015 20:09

narcis assign user to two different joomla groups, but apparently, i can't use "Change user Group" action twice to assign user to two different groups at once

Hello narcis, actually you should be able to setup multiple actions. Did you try that?
Are you getting any error or the wrong result? What happens if you choose more than one action?

Example setup:
emerald_actions_usergroup_multiple


narcis VIP
Total posts: 138
14 Окт 2015 10:07

Hello pepperstreet,

When i add another Change User group Action, it works; but after saving of the plan (if needed), the second Change User Group action becomes like the first. Could you reproduce this to your place ?

Before saving

Before Saving.PNG

After Saving

After saving.PNG


pepperstreet VIP
Total posts: 3,837
14 Окт 2015 23:52

narcis after saving of the plan (if needed), the second Change User Group action becomes like the first. Could you reproduce this to your place ?

Confirmed! :(

Sorry, seems to be a bug. I can recreate the issue on the official demo site.
@Sergey ?


Sergey
Total posts: 13,748
19 Окт 2015 06:55

I tested it an could not reproduce it. After to actions created and plan was saved few times, user get new subscription but it still do not chnage the group in plan actions.

Most probably I'll need an access to go further.


pepperstreet VIP
Total posts: 3,837
19 Окт 2015 16:42

Sergey Most probably I'll need an access to go further.

I could see and recreate it on your demo site, too.

Options set to apply 3 different groups.

mj_emerald_actions_changeusergroup_multiple_different

After Apply/Save plan

The last setting appears in all 3 actions.

mj_emerald_actions_changeusergroup_multiple_equal


Sergey
Total posts: 13,748
20 Окт 2015 13:38

I have updated Emerald to latest on demo server and now it works fine.


Sergey
Total posts: 13,748
21 Окт 2015 18:04

That means that narcis have to update Emerald too to avoid this problem.


narcis VIP
Total posts: 138
24 Окт 2015 09:41

Ok, Thank you.

Работает на Cobalt