How to definitively display Buddypress avatars in BBPress???
I know there have been a million and one posts/questions about this. The trouble is, there is a lot of conflicting instructions… and it is scattered all over the place. I feel like I am very close, but cannot for the life of me get this to work…
So far, I’ve successfully done the WordPress “deep integration.” I tested this by putting some random Buddypress tags in BBpress template files. They worked fine. Here’s where I’m running into some trouble:
I am trying to display the exact same avatar that appears in Buddypress for a particular user in BBPress as well. I tested the following template tags on my profile.php (in my BBpress theme):
bp_member_avatar(); no result (blank)
bp_core_fetch_avatar(userid); -> no result (blank)
bp_core_get_avatar(userid); -> function undefined
get_avatar(userid); -> this shows the wordpress avatar, not the buddypress one
Help. Which is the correct tag to use? I need to be able to display an avatar based on user id. That is all. Surely that’s not impossible?
If there are no existing tags that will do this, can someone just tell me how to do a database query? I found this post http://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/where-are-the-avatars/ but don’t know where to go from there…
Thanks in advance!
Running: WP MU 2.9.2, Buddypress 1.2.3, and BBPress 1.0.2
- The topic ‘How to definitively display Buddypress avatars in BBPress???’ is closed to new replies.