Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author shanebp

    (@shanebp)

    What version of BP are you using?

    I can’t duplicate your issue.

    Are you using a theme or other custom code that affects avatars?

    The only way a user cannot have an avatar, afaik, is to delete their avatar via their profile. In that case, BP will use this default avatar:
    /wp-content/plugins/buddypress/bp-core/images/mystery-man.jpg

    And the next time that user logs in, an avatar will be created for them.
    If they have their own Gravatar, it will be saved locally.

    Plugin Author shanebp

    (@shanebp)

    also – have you tried the ‘Bulk Generation’ link in the Dashboard under Settings > Discussion near the bottom of that page ?

    I can’t tell from your info whether you mean for users existing before you installed this plugin or for new users.

    Thread Starter mycru.io

    (@kawaiikawaii)

    @shanebp I haven’t installed your plugin yet. I just wanted to know if it is possible to select a fallback gif avatar.
    I am using the latest BP- I am sure your plugin works fine. I only have a custom avatar gif that I would need to continue to use.
    Also at the moment I have these ugly placeholder written names when people- for a reason that i still don’t know_ register and the system doesnot take their image.
    So i also want to know if this would be gone with your plugin.
    thx

    Plugin Author shanebp

    (@shanebp)

    You can use this approach to replace the BP default avatar.
    Put it in your theme functions.php or in plugins/bp-custom.php

    function kawaii_default_avatar_url() {
        return 'https://example.com/avatar.jpg';
    }
    add_filter( 'bp_core_default_avatar_user', 'kawaii_default_avatar_url' );

    …at the moment I have these ugly placeholder written names when people- for a reason that i still don’t know_ register and the system doesnot take their image. So i also want to know if this would be gone with your plugin.

    Maybe, lol. Sorry, but it sounds like you have issues specific to your install. This plugin uses the existing BP avatar dir structure in the uploads folder. So unless your code does something different, there should be zero danger is trying this plugin.

    Plugin Author shanebp

    (@shanebp)

    closed.

    Plugin Author shanebp

    (@shanebp)

    .

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘custom default avatar ?’ is closed to new replies.