Buddypress profile pictures sync across WordPress Multisite Network

I am setting up a Multisite Network project. All websites will be handled with SUBDOMAIN_INSTALL. One of the websites will have BuddyPress, it will also serve as an entry point to the network. User will register through buddypress.domain.com and from there it will have access to other sites (portals, shops…)

I managed to setup user sync, so username and passwords are stored networkwide, but the problem is profile picture.

When user ads profile picture through BuddyPress it won’t sync on other sites, so if they leave a comment on the portal site, their avatar is empty.

Is there a way to syncronize BP user avatar across the entire network of websites?

2 Answers
2

Filter bp_core_avatar_upload_path and bp_core_avatar_url to use a global path/url rather than a site-specific one.

For example: https://github.com/mlaa/humanities-commons/blob/578b0c071956707cebe229b6a03b6cab2e3462d4/humanities-commons.php#L1089

Leave a Comment