Skip to:
Content

BuddyPress.org

Opened 12 years ago

Closed 12 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:
Cc:

Description

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 12 years ago.

Download all attachments as: .zip

Change History (3)

#1 @boonebgorges
12 years ago

This looks good and useful to me.

#2 @djpaul
12 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.