I’m using buddyBlog with buddyPress and expecting a comment on a (buddy)blog to appear in the activity feed. However nothing happens. This means my site is full of photo comments but no blog comments. If this behaviour is not expected, what can be wrong? If is expected, how can we fix it?
yep, “Site Tracking” is enabled. Comments are posted into the activity feed against photos/images (mediaPress OK), but not against blog posts (buddyBlog NOT OK) posts 🙁
Just to be clear here, the commenting is fine across the site. It’s the posting into the activity feed which is non-functional for buddyBlog posts only.
- This reply was modified 3 years, 11 months ago by Richard Foley.
Are you using a custom post type for BuddyBlog? That seems the only explanation as I am using posts post type and the tracking is working for me.
BuddyPress needs us to do a few things extra to enable the activity tracking for custom post type.
Also, Please ,ake sure you are not using any code from here
thanks for your helpful feedaback and tips. I’ve added the bp-custom.php code to “manually” insert the activity and still nothing. I think there must be something screwy going on in my code somewhere, which is blocking the blog-comment-activity add somehow, so I’ll investigate that further – closing.
Ah, slowly making progress here. It appears the comment (on the buddyBlog post) is being saved to the database just fine. It’s just not being displayed in the activity feed. To be clear, it’s the “$user commented on the post $post_title” activity entry is not being displayed *unless* one *shows* comments explicitly from the buddyPress activity-filter popup selector. So, I think it’s the “default items/types to show” is wrong. Now just to find that…
I’ve (re-)found your activity filter guide here: https://buddydev.com/set-default-filter-buddypress-activity/
and am using it like this:$filter = ‘activity_update, created_group, new_blog_post, new_blog_comment’;
I’ve also dumped my cookies and reloaded. However, the blog comments simply refuse to show *until* I use the popup filter selector to show comments. Then the comments appear, but disappear again when I use “Everything”.
It’s rather odd…
You must be logged in to reply to this topic.