Skip to:

Re: Avatars aren’t shown after the upgrade

Hmmm…Ronia, the link to my site is

Feel free to check it out.

My bp-custom file is placed in wp-content/plugins.

Let me post the entire code just for you…other issues could be you .htaccess file. Did you copy in the Multisite codes? It could also be an issue in wp-config.php…so many possible issues.

Take a look at this code again.

function nfm_bp_avtar_upload_path_correct($path){
if ( bp_core_is_multisite() ){
$path = ABSPATH . get_blog_option( BP_ROOT_BLOG, 'upload_path' );
return $path;
add_filter('bp_core_avatar_upload_path', 'nfm_bp_avtar_upload_path_correct', 1);

function nfm_bp_avatar_upload_url_correct($url){
if ( bp_core_is_multisite() ){
$url = get_blog_option( BP_ROOT_BLOG, 'siteurl' ) . "/wp-content/uploads/";
return $url;
add_filter('bp_core_avatar_url', 'nfm_bp_avatar_upload_url_correct', 1);

You may need to adjust the $url = get_blog_option( BP_ROOT_BLOG, 'siteurl' ) . "/wp-content/uploads/"; } to show your full address instead of ‘siteurl.’ So use instead. That may fix your issues…if not, I would suggest contacting Automattic and Buddypress support and see what they have to say.

Skip to toolbar