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 | 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)
Change History (3)
Note: See
TracTickets for help on using
tickets.
This looks good and useful to me.