Allow registered users to join a group
Permalink
After a user registers I would like them to be able to select multiple groups to be a member of. This is a roster system and people can join a roster or not from this page. I would like to use the groups to allow these people who join that group to see content only for that group.
Is this possible or am I stretching the group functionality too much?
Regards
Ian
Is this possible or am I stretching the group functionality too much?
Regards
Ian
You can easily do that with the api, shouldn't be too hard.
I need this functionality too. Can you point me to an example of how to use API to accomplish this? Anything helps!
//$g = Group::getByID(4); $g = Group::getByName('Custom Group'); $u = new User(); //current logged in user $u->enterGroup($g);
Thanks! Is there a function to delete the user from the group?