Skip to:
Content
Pages
Categories
Search
Top
Bottom

Allow users to join only one group?

  • @timmadden

    Member

    Hi, I see where you can restrict users to creating one group, but is it possible to allow users to only be able to join one group?

    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • @mrjarbenne

    Participant

    Depending on the size of your userbase, you could make all the groups Hidden, then use the Invite Anyone plugin to manually invite (or have established group admins manually invite) the users who belong in each separate group. Don’t get thrown by the first bullet in the description of the plugin, in this instance the power of this plugin will be in your ability to invite people to a group even if you aren’t friends with them (bullet 2 in the description on the link below). Perfect if you are using the Followers plugin as well and have Friend Connections turned off:

    https://wordpress.org/extend/plugins/invite-anyone/
    https://wordpress.org/extend/plugins/buddypress-followers/

    @timmadden

    Member

    Thanks for the reply. That’s a very clever solution. So the only people that could invite someone to a group is the admin of that group or could anyone who is a member of that group invite someone?

    @timmadden

    Member

    I do want members of one group to be able to see other groups though, so maybe this wont work.

    @mnasir79

    Member

    Put If Condition around the code which display Group Join/Leave Button…

    Go to your Database and search in table groups_members… If current Logged in user id exists in that table, then the join of leave button will not appear to that logged in user…
    So there will be no need to set private groups.. it will only show the joining option to the members who have not joined any group…

    @timmadden

    Member

    Hi Nasir, that is an excellent solution. Thank you, and mrjarbenne, appreciate it.

    @esther011

    Participant

    What code is needed for this solution?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Allow users to join only one group?’ is closed to new replies.
Skip to toolbar