Forum Replies Created
-
Nice. Happy i could help!
Finally found a solution.
1) add define( ‘BP_ENABLE_MULTIBLOG’, true ) in wp-content/config.php
2) network activate buddypress
3) install rmiweb-multisite-avatar. It is a custom plugin for rmi.one website not available on wordpress repository. Can’t remember from where i grabbed it but i’ve uploaded it on my uptobox account => http://uptobox.com/543ii9u4ozoh
4) At first it wasn’t working for me on my subsite because the theme (skywarriorthemes.com/arcane/) had an issue with displaying avatar. But i’ve tried it with other 3rd party themes and wordpress default twenty seventeen and it works like a charm. So make sure that your theme is not creating some conflict too like mine did.
5) If you want to completely disable gravatar: https://wordpress.org/plugins/disable-user-gravatar/
6) Profit.Hope that helps.
Thought about that solution too but i do not want my users to create 2 accounts just to sign up on my site.
Hi,
im trying to achieve this too. Have been searching for a solution for days. Have you been able to find out something please?
Regards,
Dhi,
Been trying to set this up for a few days now, but no success. I’ve setup a multi-site network with sub-directories and buddypress network activated.
I’ve added define( ‘BP_ENABLE_MULTIBLOG’, true ); to config.php as recommanded for BP multisite install.Main site: mydomain.com
subsite: mydomain.com/subsiteWhen users upload their profile picture on main site, unfortunately it doesn’t sync with their profile when they go on the subsite.
The following codes have worked for some people but not for me. Still trying to find a solution.
function bpdev_fix_avatar_dir_path( $path ){
if ( is_multisite() && BP_ENABLE_MULTIBLOG )
$path = ABSPATH . ‘wp-content/uploads/’;
return $path;
}
add_filter( ‘bp_core_avatar_upload_path’, ‘bpdev_fix_avatar_dir_path’, 1 );
//fix the upload dir url
function bpdev_fix_avatar_dir_url( $url ){
if ( is_multisite() )
$url = network_home_url(‘/wp-content/uploads’) ;
return $url;
}
add_filter( ‘bp_core_avatar_url’, ‘bpdev_fix_avatar_dir_url’, 1 );