Skip to:
Content

Opened 9 years ago

Closed 8 years ago

Last modified 5 years ago

#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.

Change History (2)

#1 @DJPaul
8 years ago

  • Resolution set to invalid
  • Status changed from new to closed

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.

This ticket was mentioned in IRC in #buddypress-dev by r-a-y. View the logs.


5 years ago

Note: See TracTickets for help on using tickets.