Skip to:
Content
Pages
Categories
Search
Top
Bottom

Anyway to have a new member automatically be a member of every group?


  • jordashtalon
    Member

    @jordashtalon

    For my needs I don’t really need people to join groups, once they register for the website I want them to be a part of every single group.

    Is that possible?

Viewing 3 replies - 1 through 3 (of 3 total)

  • r-a-y
    Keymaster

    @r-a-y

    Check out the “Auto Join Groups” plugin:

    http://brentandmary.net/2009/10/24/bn-auto-join-group-plugin/

    The plugin is more about targetting than having everyone join each group, but you should be able to play around with it to fit your needs.


    techguy
    Participant

    @crashutah

    This thread has someone who wants the same thing: https://buddypress.org/forums/topic/join-all-public-groups-at-once Maybe you can work together or see if they’ve found the solution beyond r-a-y’s link which is good.


    rich! @ etiviti
    Participant

    @nuprn1

    if you want to keep it all using bp functions, look at bp-groups.php

    I would set it up hooking on activating the user (or signup if you don’t care about the activation key)

    _action( 'bp_core_activated_user'

    then call (with no pagination passed in and active type)

    groups_get_groups(

    then loop over all the groups and call (which needs the user_id and group_id)

    groups_join_group(

    only downside to join_group is it will call a new activity for joining – but a plus side is it updates the groupmeta counts.

    *my standard disclaimer applies – only in theory nothing tested. :)

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Anyway to have a new member automatically be a member of every group?’ is closed to new replies.
Skip to toolbar