• Hi, thanks for adding bpges_force_immediate_admin_notice(). I can’t seem to get it to work though – add_filter(?‘bpges_force_immediate_admin_notice’,?‘__return_true’?); has been added to functions.php but when an email is sent via the ‘Send an email notice to everyone in the group’ form on the group’s /admin/notifications/ page, it only gets sent to those members who are subscribed, and not to ones who have chosen the ‘No email’ setting. Isn’t bpges_force_immediate_admin_notice() supposed to send emails to all members even if they are on the No email setting?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Boone Gorges

    (@boonebgorges)

    Yes, the filter is intended to work this way, and in my tests that’s how it’s working.

    Looking over the code, there’s a chance that a user would be excluded from the email if for some reason they weren’t listed in the wp_bpges_subscriptions table at all. This shouldn’t happen in theory; users with the ‘No email’ setting should have a row in this table that says 'no'. But perhaps you could check: SELECT * FROM wp_bpges_subscriptions WHERE user_id = 123 AND group_id = 456 (swap out the proper IDs, obviously)

    Thread Starter pixelshrink

    (@pixelshrink)

    Thanks very much for the reply, indeed only the member that is subscribed to email is in that table, and not the 2 that are on the ‘No email’ setting.

    Maybe it’s worth saying what I’m trying to achieve: I want to be able to filter out Buddypress Docs activity notifications from https://en-gb.www.ads-software.com/plugins/buddypress-group-email-subscription/, so that users only receive the messages that are actively sent out and not ‘X has edited this document’ ones. I thought sending out ‘force admin’ messages instead of ordinary activity feed messages would do the job, as long as everyone receives them. Any ideas gratefully received.

    • This reply was modified 1 year, 6 months ago by pixelshrink.
    • This reply was modified 1 year, 6 months ago by pixelshrink.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Force admin notice not working’ is closed to new replies.