• Hi there,

    Just trying to resolve a minor issue with a case where a plugin is logging comments twice in a User’s subscription.

    Under normal circumstances, where a User creates a post or creates a comment, there is an entry added to the ass_digest_items field of the wp_usermeta table – All good & no problems there at all.

    Digest emails & All email fires off, no issues.

    When we activate a plugin called Pods (which adds additional comment fields & puts them in wp_commentmeta), then we start getting duplicate comments entered into the ass_digest_items field of the wp_usermeta table – Not so good. 🙂

    There are no duplicate entries in the Activity Stream etc. The issue appears to lie with whatever adds to the ass_digest_items field.

    I logged a support query with the Pods Authors, asking what their plugin updates as part of the Add Comment process.

    They responded with the following thought:

    “I wonder if this plugin has integration with Pods so when you save a comment, it gets saved in Pods, and it hits both of the hooks they’re integrating with?”

    As such, I was wondering if anyone could confirm if BPGES has any integration with Pods? I would have thought not, but I thought I’d best check on these forums.

    Any advice appreciated, as always.

    http://ww.wp.xz.cn/plugins/buddypress-group-email-subscription/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author r-a-y

    (@r-a-y)

    GES does not have built-in integration with Pods.

    Since you described in a previous thread that you’re trying to add comments into the group activity stream, the problem probably lies with how you’re doing that.

    However, there are some new updates in the bleeding version of GES that removes duplicate entries from digests. Perhaps that might fix your issue?

    Give it a try:
    https://github.com/boonebgorges/buddypress-group-email-subscription/archive/master.zip

    I’m also available to help figure out what’s going on if the latest master doesn’t resolve your duplicate issue.

    Thread Starter MatthewByrom

    (@matthewbyrom)

    There is the comment issue. Basically the only thing I needed to change to add the comments to the Digests were to change the lines that only looked at groups.

    However, I agree that it’s down to that, as when I turn comments off again the problem goes away (though we don’t get any comments at that point).

    I did have to add some bodged horribleness to bp-activity-subscription-digest.php to remove duplicates. However, if the latest version of GES does that without my changes, then I’d rather use that & maintain a fighting chance of being able to keep up with updates etc without a lot of fiddling.

    Many thanks for the link & advice, r-a-y. I’ll give it a try & let you know how it works.

    Cheers Scott. I appreciate that.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Does BPGES include any integration with "Pods" plugin?’ is closed to new replies.