Unfolded90
11-13-2013, 12:30 AM
Hello,
I've changed the settings so users can only create 1 social group.
but i would like to have it so they can only join 1 until they leave the other that they have joined.
I can tell you that there is no default setting to do this and that you will need to write a plugin. I guess when they click to join a group, the plugin would run a query to see if they are in any other groups and if so, spit out a message saying they can't join that group until they leave the other.
Actually, looking at the code around line 1395 or group.php, there is no plugin, so you will need to add the code directly.
I've changed the settings so users can only create 1 social group.
but i would like to have it so they can only join 1 until they leave the other that they have joined.
I can tell you that there is no default setting to do this and that you will need to write a plugin. I guess when they click to join a group, the plugin would run a query to see if they are in any other groups and if so, spit out a message saying they can't join that group until they leave the other.
Actually, looking at the code around line 1395 or group.php, there is no plugin, so you will need to add the code directly.