Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)

  • deadlinkd
    Participant

    @deadlinkd

    Nice. Happy i could help!


    deadlinkd
    Participant

    @deadlinkd

    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.


    deadlinkd
    Participant

    @deadlinkd

    Thought about that solution too but i do not want my users to create 2 accounts just to sign up on my site.


    deadlinkd
    Participant

    @deadlinkd

    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,
    D


    deadlinkd
    Participant

    @deadlinkd

    hi,

    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/subsite

    When 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 );

Viewing 5 replies - 1 through 5 (of 5 total)
Skip to toolbar