[buddypress-trac] [BuddyPress] #4237: Adding avatar file names to db

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Tue Jun 5 17:17:23 UTC 2012


#4237: Adding avatar file names to db
-------------------------------+------------------------------
 Reporter:  modemlooper        |       Owner:
     Type:  enhancement        |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Core               |     Version:
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |
-------------------------------+------------------------------
Changes (by r-a-y):

 * keywords:   => reporter-feedback


Comment:

 Do you need the full avatar URL or just the filename?

 Have you tried the following in your script?
 {{{
 // get the avatar URL for a user
 $avatar_url = bp_core_fetch_avatar( 'html=false&item_id=' .
 YOUR_USER_ID_HERE );

 // echo the avatar URL
 echo $avatar_url;
 }}}

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


More information about the buddypress-trac mailing list