Skip to:
Content
Pages
Categories
Search
Top
Bottom

Custom Email: Send Notice When User Leaves a Group

  • @karks88

    Participant

    Now that we have this awesome ability to setup custom emails in BP 2.5, is there a way to setup an email notification to a group admin when someone leaves a group?

    Would this fall under the functionality of “Recipient’s status within a group has changed”?

Viewing 2 replies - 1 through 2 (of 2 total)
  • @djpaul

    Keymaster

    You’d need to write some PHP. 🙂

    The “recipient’s status” type is hooked to the groups-member-promoted action — so no.
    You could use the groups_leave_group action which is triggered when a user is removed from a group.

    There is some example code on our codex for how to set up custom emails. Take a look here: https://codex.buddypress.org/emails/custom-emails/

    @karks88

    Participant

    Thank you, I’ll give it a go!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Custom Email: Send Notice When User Leaves a Group’ is closed to new replies.
Skip to toolbar