Skip to:
Content
Pages
Categories
Search
Top
Bottom

Is there an Action available upon Joining a Group

  • Profile photo of Roland Fauster
    Roland Fauster
    Participant

    @rfauster

    Hi

    First of all, GREAT Job on the 1.2 Beta… I just upgraded to it (and had to rewrite my whole theme) but I am VERY impressed.

    HAve been working with BP towards my Go Live for the past 2 months and I am falling more and more in love with it..

    Enough praise — I was wondering if there was an action available that I can hook into when a user joins a group?

    What I want is that everytime one of my editors joins a group, he gets automatically moderator status so he can get the admin nav displayed and can admin in the group.

    Best Regards

    Roland

Viewing 3 replies - 1 through 3 (of 3 total)
  • Profile photo of Andy Peatling
    Andy Peatling
    Keymaster

    @apeatling

    do_action( 'groups_join_group', $group_id, $user_id );

    Profile photo of Roland Fauster
    Roland Fauster
    Participant

    @rfauster

    HI Andy

    Thank you very much…

    Worked like a charm and put it in a plugin.. If people think they can use it, I am happy to share.

    Profile photo of D Cartwright
    D Cartwright
    Participant

    @aekeron

    Please do. It would be a very useful base for a lot of very nice features :)

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Is there an Action available upon Joining a Group’ is closed to new replies.
Skip to toolbar