#2388 closed defect (bug) (no action required)
activity_comment does not have group id
Reported by: | dwenaus | Owned by: | |
---|---|---|---|
Milestone: | 1.5 | Priority: | normal |
Severity: | Version: | ||
Component: | Core | Keywords: | activity |
Cc: |
Description
We're writing a plugin that emails out all new group content on a group by group basis. so we rely on the wp_bp_activity->item_id or wp_bp_activity->secondary_item_id for that information.
when someone replies to an activity feed, those two fields show the id of the parent and grand parent activity updates or comment. great. however now there is no group id.
Maybe we can add a tertiary_item_id and have that as the group_id for activity comments
i'm sure that value could be helpful in other regards as well such as albums, and other nested content.
In the case of nested activity stream comments, item_id points to the root item. secondary_item_id points to the item's parent (which could either be the root item, or the item which you have replied to). Let me know if you think I've got this wrong or if you've found a component which doesn't work like this. I tested this with basic activity stream comments/updates.