Skip to:

Opened 11 years ago

Closed 11 years ago

#4663 closed enhancement (fixed)

Activity template function to get parent activity's user ID

Reported by: djpaul's profile DJPaul Owned by:
Milestone: 1.7 Priority: normal
Severity: normal Version:
Component: Activity Keywords:


bp_get_activity_parent_content() exists and returns the content of the parent activity item. This is used for the "in reply to" link, when an activity comment reply appears in a person's activity stream. I'd like to add a function which returns the activity parent's user ID, so templates can display information about the user that the comment was in reply to.

Patch attached.

Attachments (1)

ticket-4663.01.patch (1.2 KB) - added by DJPaul 11 years ago.

Download all attachments as: .zip

Change History (3)

#1 @boonebgorges
11 years ago

This looks good and useful to me.

#2 @djpaul
11 years ago

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

(In [6523]) Add new Activity template loop function to get the parent activity's user ID. Fixes #4663

Note: See TracTickets for help on using tickets.