Default behavior is to send the member an email when their request is approved or denied.
Are those emails not being sent ?
hmm. i didn’t think they were sending ?? Where is that hook or function located ?
Thanks for your reply @shanebpdev
If they aren’t sending, you have a less specific problem.
In BP 1.7beta2, this sends the email:
`groups_notification_membership_request_completed()
in
bp-groups/bp-groups-notifications.php`
If you are getting internal notifications but no email, make sure your install can send any email.
Thanks so much!!
If I wanted to customize this per group ID, how would I achieve this ?
** so per group approval — I would send a different message to each ?
Create an add_filter on one or both of the apply_filters_ref_array(…) near the bottom of that function.
Put it in your theme/functions.php or your plugin or plugins/bp-custom.php
If you don’t know how to use add_filter, it’s a basic WP call so google it.
@shanebp Thanks for those hints!!
Wondering if I could pay you for this small “add_filter” ?
If so, let me know – I can pay PayPal instantly!
I would just need :
if ($group_id == 1) { email this to user accepted }
Thanks!!
@eberswine
You can contact me thru the info in my profile under profile link.