How to assign an Existing User to a new Usergroup?

ga galbur 11 Jun, 2019
Hi
​
I have a form where existing joomla Users can Update their Joomla Profile. Everything works, except one thing.
When the user submits the form, he should automatically be assigned to a new user group.
​
How can i write a new entry in the #_user_usergroup_map table?
​
Best Regards
Christoph
Gr GreyHead 11 Jun, 2019
1 Likes
Hi Christophe,
​
You can use custom PHP with the Joomla! setUserGroups method see here
​
Bob
This topic is locked and no more replies can be posted.