Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Emails sent to members who have "No Email" set #239

Open
iamkevinjohnson opened this issue Jun 16, 2023 · 7 comments
Open

Emails sent to members who have "No Email" set #239

iamkevinjohnson opened this issue Jun 16, 2023 · 7 comments

Comments

@iamkevinjohnson
Copy link

Emails sent to members who have "No Email" set

@johnmetzler
Copy link

I am also experiencing this issue. "No email" is the default setting for all new users of a Group, but folks are still receiving email notifications for all activity.

@contemplate
Copy link

Same here. My clients are using Buddyboss.

@contemplate
Copy link

@boonebgorges in the past with Buddyboss issues you needed an updated plugin version to test.
When you are ready I can send you one. Thanks!

@boonebgorges
Copy link
Owner

Hi all - I've tested against a vanilla installation of the latest BP + BPGES and have not been able to reproduce the problem. Things to check:

  • Look in the wp_bpges_subscriptions table and see if there are entries for the users in question. If so, what are they? Users with 'No Email' should have an entry that says no. If they have no entry at all in this table, this could be the root of the problem.
  • Are you certain that the emails are coming from BPGES? What kind of activity is triggering the emails? For example, bbPress forums can trigger email notifications that are unrelated to BPGES and would not be sensitive to the 'No email' setting.

@boonebgorges in the past with Buddyboss issues you needed an updated plugin version to test.

@contemplate Thanks for this. I'm not sure that this problem is related to BuddyBoss. But if it is, I'm afraid I don't have the bandwidth or the inclination to troubleshoot it. If someone is able to identify (in this case or others) specific changes to BPGES that would help with BuddyBoss compatibility, I will certainly consider them, but I cannot sink any time into researching them myself.

@contemplate
Copy link

@boonebgorges I looked at one of the users in the db table and the type is all set to no
Screenshot 2024-01-04 at 9 25 12 PM

So I'm guessing they are receiving the default Buddyboss group email and a filter needs to be added to stop these if a digest entry is set. But perhaps an easier solution would be to simply draft these two email templates? Or does BPGES rely on these templates as well for the All Emails option?
Screenshot 2024-01-04 at 9 31 45 PM

@boonebgorges
Copy link
Owner

@contemplate Thanks for sharing these screenshots. The first one indicates that the BPGES subscriptions are being properly recorded.

The second one suggests that the problematic emails are not, in fact, coming from BPGES. The email templates in your screenshot aren't from this plugin. See

$situation_desc = __( 'A member created a group activity entry. Used by the Group Email Subscription plugin during immediate sendouts.', 'buddypress-group-email-subscription' );
and the subsequent clauses for the text you see in the 'Situations' column for BPGES emails. So this suggests the emails are coming from BuddyBoss. See https://github.com/buddyboss/buddyboss-platform/blob/19c8c1623a2320e2a0ee21b0127301e0484e665c/src/bp-core/bp-core-update.php#L2482. I don't know anything about BuddyBoss's own "group email" system - it's possible that it's supposed to work alongside BPGES, or perhaps it's meant to be used instead of BPGES. In any case, it's a question for the BuddyBoss support team, as they claim that any BP plugin should be compatible with BuddyBoss https://www.buddyboss.com/resources/docs/integrations/buddypress-add-ons/ but sometimes reality is a bit more complicated.

@contemplate
Copy link

ok @boonebgorges let me follow up with the Buddyboss team as you are right they do promote compatibility with BPGES. They recently have reworked their entire notification system so they may need to add a filter to see if BPGES is active and set to 'no' emails.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants