Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.
Limit number of groups a user can be in simultaneously
ISSUE SUMMARY:
Is there any way to limit the number of groups a user can be in? If not, can you point me to roughly the right area where I would insert custom PHP code? I think maybe I could figure out how to do it if I knew the right place to put it.
STEPS:
1 User clicks "Accept" on a group invite OR user clicks "Join Group" from the group page (these are the only two scenarios we care about)
2 If user is already in 3 groups, user gets an error that they can't join any more groups
3 If user is in 3 or fewer groups, user is added to the group normally
I am sorry we dont have this feature, if you wanna add the new code for this, actually you can create new plugin and use this event onGroupJoin or you modify this file components/com_community/controllers/groups.php function joinGroup()