• Resolved autoupkeep

    (@autoupkeep)


    I am testing One User Avatar on my development site. My site uses the BuddyBoss platform and theme. After installing One User Avatar and changing the default avatar it is overwriting ones that a user custom uploaded and is not changing the new default to the newly uploaded default avatar if a user hasn’t uploaded an avatar.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Daniel Tara

    (@danieltara)

    If I understand correctly, you are trying to change the default avatar while keeping BuddyBoss’ custom avatar functionality and allowing users to keep using Gravatar.

    I’m afraid One User Avatar is not the right plugin for this job. It is intended to be a full replacement of the custom avatar functionality. It is currently not compatible with BuddyBoss or BuddyPress.

    However, what you are trying to do is possible, you just need to add a tiny bit of code. This should go into either you child theme‘s functions.php file or a custom plugin file:

    add_filter( 'bp_gravatar_not_found_avatar', function() {
    	return 'https://yoursite.com/path/to/default-avatar.jpg';
    } );

    Replace https://yoursite.com/path/to/default-avatar.jpg with the path to the image you want to use as default avatar. You can upload that to the media library and copy the link from there.

    Thread Starter autoupkeep

    (@autoupkeep)

    Thanks for your assistance.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Not working with BuddyBoss’ is closed to new replies.