[buddypress-trac] [BuddyPress] #2578: bp_get_activity_avatar() for components do not work

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Mon Aug 9 21:57:26 UTC 2010


#2578: bp_get_activity_avatar() for components do not work
-----------------------+----------------------------------------------------
 Reporter:  r-a-y      |        Owner:        
     Type:  defect     |       Status:  closed
 Priority:  normal     |    Milestone:  1.2.6 
Component:  Activity   |   Resolution:  fixed 
 Keywords:  has-patch  |  
-----------------------+----------------------------------------------------

Comment(by johnjamesjacoby):

 Primary avatars are always users, since groups and blogs don't do anything
 on their own. With that in mind, I introduced the
 bp_activity_secondary_avatar and bp_get_activity_secondary_avatar
 functions, that will behave according to the object and item_id for that
 activity.

 This gives us functions to work with to tick off secondary activity
 avatars off the 1.3 when the time comes also. All it needs is a
 str_replace on the bp_activity_action to insert it in there, which can be
 done with a filter to get it off the ground.

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


More information about the buddypress-trac mailing list