Right, we had a developer do some functionality for us, but then ceased to exist.
The Developer added created some code in the file bp-activity-subscription-digest.php to pull the associated comments & present them with a post:
$post_id = $item->secondary_item_id;
$args = array(
'post_id' => $post_id, // use post_id, not post_ID
'count' => true
$count_comments = get_comments($args);
if($count_comments > 0):
$item_message .= "<div style=font-weight:bold;'>Follow Ups To Post</div>";
$args = array(
'post_id' => $post_id // use post_id, not post_ID
$comments = get_comments($args);
foreach($comments as $comment) :
$item_message .= "Comment by: " . $comment->comment_author . ' ' . $comment->comment_content . "<div style='padding: 10px; border-top-width: 1px; border-top-color: rgb(238, 238, 238); border-top-style: dotted; margin-top:10px;'></div>";
Initially, this looks fine.
The issue with the above solution is of course that, once a digest fires, that post is no longer logged in wp_usermeta & so therefore if anyone posts a comment to that post after the digest, it will not be added to the next Digest.
Looking in wp_bp_activity, I can see that comments are being recorded as type "new_blog_comment", so the Posts being made must be Blog Posts (apologies for the confusion, I'm having to hunt this stuff out myself & there's lots to this website that I wasn't involved in)
Also the component is listed as Blogs, not Groups - So that's got to change, according you your response earlier. The Developer we hired didn't do anything with that, it seems.
The comments are being recorded by a plugin called Pods. I'm guessing that plugin changes what is added to the activity stream.
Looks like we've got to find a new developer to help.
Is anyone on these forums aware of a firm or developer that can be employed to add functionality to BPGES?