@ronia I’m not sure but there’s one more thing… Are you using BP Groups CSS plugin?
No only WP and BP nothing else.
OK. I thought BP Group CSS plugin may cause the problem but I was wrong and you confirmed that…
Hmmm…Ronia, the link to my site is http://www.realestatemarbles.com.
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 http://www.example.com/wp-content/uploads/ instead. That may fix your issues…if not, I would suggest contacting Automattic and Buddypress support and see what they have to say.
@bennadler The problem with doing it that way (in BuddyPress core) is for installs where /wp-content/ is moved out of the WordPress root and located somewhere else, which is a common configuration for the more security minded folks.
That fix will work for most everyone else however.