Feature #465
closed
Group blog posts not showing in activity stream
Added by Sarah Morgano almost 14 years ago.
Updated about 9 years ago.
Category name:
Group Blogs
Description
Blog posts from group blogs do not appear in the group's activity stream. I've noticed this on the SPS, ePortfolio, and ePortfolio Subcommittee groups. The drop down filter has "Show External Blog Posts" but doesn't have "Show Blog Posts".
Best,
Sarah
- Assignee set to Boone Gorges
- Target version changed from 1.0.3 to 1.1.3
- Status changed from New to Assigned
- Target version changed from 1.1.3 to 1.2
I don't think this ever happened - at least, I can't see in the code what would have made it happen.
It might be possible, but it will take some research. My sense is that it will take some finagling, because BP natively uses the same metadata position to store the blog_id associated with an activity item as it uses for the group_id associated with the activity item. I will essentially have to those items directly into the group activity stream, as will be no native way to filter them.
- Tracker changed from Bug to Feature
Ahh, I had a feeling that might have been the case. If it's possible it would be a cool feature to add.
Best,
Sarah
- Target version changed from 1.2 to Future release
I've looked into this a little bit, and I'm afraid I don't have good news. The way that the activity stream is structured, it's going to be impossible to get the group blog posts into the group activity stream without major hackage.
Here's a brief explanation. BP activity items support up to two pieces of metadata about the associated items: item_id and secondary_item_id. Those metadata are used differently depending on the type of activity item. For example, activity updates on your profile use neither; activity updates in a group use the group's ID number as the item_id; new forum topic activity items use the group's ID as the item_id and the topic's ID number as the secondary_item_id; etc. Whenever activity items are displayed, they are called up according to this kind of metadata - so a group's activity items are those with item_id = group_id, more or less.
The problem is that blog post activity items use the blog's ID as item_id and the post ID as the secondary_item_id. The group ID isn't stored with the activity item. As a result, there's no obvious way to make BP recognize those items as being associated with the group.
Future versions of BP will be more flexible about this. For that reason I'm going to file this under Future Releas.
Too bad for now, but definitely something we should try to implement in the future. Thanks.
- Category name changed from BuddyPress (misc) to Group Blogs
- Status changed from Assigned to Rejected
- Target version deleted (
Future release)
At some point, bp-groupblog was updated so that group blog posts appear as expected in the stream. Marking this one as closed.
Also available in: Atom
PDF