Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Profile photo of MatthewByrom
    MatthewByrom
    Participant

    @matthewbyrom

    Hi, @shanebp

    Oh no, not all this is happening in the one customised plugin. I was simply describing what appears to be happening in the system as a whole when you hit the Submit button in the customised post. This thing is one tortured mass of plugins. :(

    The Custom post page is generated by Gravity Forms. This is the plugin that handles creating a post & saving it.

    The Add-a-Post-to-Activity-Stream-so-it-sends-an-Email-Like-an-Update is provided by a custom plugin that extends the functionality of BuddyPress Group Email Subscription.

    It just seems that the timing’s out a bit.

    If I can make the postmeta handling occur before the post is added to the Activity Stream, then all will be well, as my own trivial addition to this will be fine.

    I’ll take a look at wp_mail. I thought that Buddypress may override what happens in there.

    Thanks for that & apologies for posting in the wrong part of the forum. Just noticed that.

    Profile photo of MatthewByrom
    MatthewByrom
    Participant

    @matthewbyrom

    Hi @ashenkargmailcom,

    Looking at the site, we do have the groupblog plugin installed on the site, but it’s deactivated. My gaffer, John may well has installed it at some point when he was trying to get this functionality.

    I only really got introduced to our site when it was clear all the plugins weren’t working as desired, so there are a few plugins left that I honestly don’t know what they’ve had done to them.

    As it was, @becskr developed some code that adds a post into the activity stream, which uses BuddyPress Group Email Subscription as a dependency. Cracking stuff & a lifesaver in my book.

    We have a new headache, as the Users want additional functionality, but I think I’d best post as a separate issue.

    As for versions, we’re running WP 3.5 with BP 1.6.4

    Profile photo of MatthewByrom
    MatthewByrom
    Participant

    @matthewbyrom

    Hi @chouf1,

    Thanks for the reply.

    Fair point – I have taken a look at that section.

    “If your plugin posts updates to the standard BuddyPress activity stream, then group members who are subscribed via 3. Daily Digest and 5. All Email will get your updates automatically.”

    Currently this isn’t happening either.

    A blog post appears to go into the activity stream & is of type “New Post Published”. No one is being emailed, regardless of the subscribed user’s email frequency preference.

    I’m going to take another look in bp-activity-subscription-functions.php – see if I can make _all_ activities important (the users want to be notified if someone so much as sneezes on this site, apparently!..)

    Thanks again,

    Matthew.

    Profile photo of MatthewByrom
    MatthewByrom
    Participant

    @matthewbyrom

    Hi @chouf1,

    Thanks for the reply.

    Fair point – I have taken a look at that section.

    “If your plugin posts updates to the standard BuddyPress activity stream, then group members who are subscribed via 3. Daily Digest and 5. All Email will get your updates automatically.”

    Currently this isn’t happening either.

    A blog post appears to go into the activity stream & is of type “New Post Published”. No one is being emailed, regardless of the subscribed user’s email frequency preference.

    I’m going to take another look in bp-activity-subscription-functions.php – see if I can make _all_ activities important (the users want to be notified if someone so much as sneezes on this site, apparently!..)

    Thanks again,

    Matthew.

    Profile photo of MatthewByrom
    MatthewByrom
    Participant

    @matthewbyrom

    Hi There @becskr,

    We have a similar problem on a website that has blog posts & we would like the blog posts added to the group activity feed, so people can receive an email digest, but we are at a loss as to when to call the function etc.

    Can you recall how/where to declare this function? Any advice appreciated.

    Thanks.

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