Hi,
I have a problem...
I use Userplane chat for my buddypress site but i have a issue with the avatars,
I'm trying to do it so the buddypress avatar is called instead of the userplane avatar for use in chat,
This is because i have to upload to seperate avatars, 1 for profile 1 for chat, i don't want that, i just want the 1 avatar through out, "the BP avatar,
here is the code that is used to display the avatar in chat:
public function get_user_chat_icon($pic, $tag) {
if ($pic == '') {
return '';
}
return "<$tag>" . get_option('siteurl') . '/wp-content/images/avatars/' . $pic . "</$tag>";
}
I have tried different combo's including bp_core_fetch_avatar, without no look.
Hopefully someone will have a solution for this,
Also the 2 main files i have for calling the avatar in userplane are:
http://www.ruddernation.com/upl_common_profile.php
http://www.ruddernation.com/upl_common_user.php
Take a look see if you can suggest something for me to try please.
Also @Brajesh, If you still have the details for the test site please delete that as i had problems with my host and had get a new 1 so gonna start a few fresh test sites on 3 seperate hosts.
Regards