Please Log in to join the conversation.
INSERT INTO `#__user_usergroup_map` ( `user_id`, `group_id` ) VALUES ( [user_id], GROUP_ID );
UPDATE `#__users` SET `usertype` = 'GROUP_TITLE' WHERE `id` = [user_id];
INSERT INTO `#__user_usergroup_map` ( `user_id`, `group_id` ) VALUES ( [user_id], 3 );
UPDATE `#__users` SET `usertype` = 'Author' WHERE `id` = [user_id];
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Shouldn't be the case, SQL Actions aren't CMS dependent. If updating the _users table and giving a user a subscription from backend then it won't work as _users and _comprofiler manipulation doesn't work in backend through SQL Actions due to order of execution (known issue).but it seems that SQL Actions don't work in CB Subs with J 1.6 either
Not yet, for now direct queries will be necessary to get user subscription information.Is there an API for CB Subs?
Please Log in to join the conversation.