[buddypress-trac] [BuddyPress] #4655: Template functions to get activity item's comments' author IDs

buddypress-trac noreply at wordpress.org
Fri Nov 9 15:19:24 UTC 2012


#4655: Template functions to get activity item's comments' author IDs
-------------------------+---------------------
 Reporter:  DJPaul       |       Owner:  DJPaul
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  1.7
Component:  Activity     |     Version:
 Severity:  normal       |  Resolution:  fixed
 Keywords:               |
-------------------------+---------------------
Changes (by djpaul):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 (In [6501]) Add template functions to get an activity item's comments'
 author IDs

 * bp_activity_get_comments_user_ids() returns the user IDs of everyone
 who's written an activity comment on the current activity item.
 * bp_activity_comments_user_avatars() uses the above to output the users'
 avatars, linked to their profile page, into <LI> tags.
 * Fixes #4655

 An example use case is where you want to show a list of all users
 participating in a discussion on a particular activity, above or before
 the activity comments themselves.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4655#comment:2>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list