Hi guys,
If it will help anyone in the future I managed to sync Buddypress profile avatar to this plugin by replacing this code:
if (get_the_author_meta('image', get_query_var('author')))
{
$content.= '<img class="birds_box_avatar" src="' . get_the_author_meta('image', get_query_var('author')) . '">';
}
else
{
$blank = plugin_dir_url(__FILE__) . 'img/blank.png';
$content.= '<img class="birds_box_avatar" src="' . $blank . '">';
}
With this code:
$avatar_args = array(
'item_id' => get_the_author_meta('ID', get_query_var('author')),
'type' => 'thumb',
'html' => false
);
$content.= '<img class="birds_box_avatar" src="' . bp_core_fetch_avatar( $avatar_args ) . '">';
Works perfect for me