• Hello,
    I like gravatar, but I use an Avatar plugin that easy change avatar from wp-profile for registered users. This way is more easy for my users.
    For people that aren’t registered I want to leave gravatars, because they may have gravatars. If it is impossible to leave gravatars for non-registered users it is ok. In any cases I want to remove gravatars for registered users.
    Does anyone know how-to?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    You don’t really purge. You’d want to wrap your call for avatar’s with an is_loggedin() grab. Something like

    if is_loggedin() {
        Show the uploaded avatar
     } else {
        Show the gravatar
    }

    Depends on your plugin, though, and how it interacts with the comment section.

    Thread Starter bublick

    (@bublick)

    I not really understand you))
    I am using User Avatar, if you know it.
    But what is the function that call and show gravatar, you don’t know?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    Looking at that plugin, it LOOKS like if you don’t have a fancy avatar, it uses the gravatar standby. You should not need to change anything, just pick the avatar you want as default.

    Thread Starter bublick

    (@bublick)

    Ok. For an example I used many widgets that show recently comments with avatars. They showed not a custom avatar that was changed with this plugin but a gravatar.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    That’s a question for the plugin developer, as it may only be replacing things for the comment page and not the widget.

    I’ve tagged this for the dev.

    Thread Starter bublick

    (@bublick)

    I red that gravatar is sewn in WP since from v. 2.5. So I couldn’t purge it?

    Hi bublick

    what is the widget that you are using. If the widget is using the build in get_avatar function the user avatar should be displayed. It might be that the widget that you are using doesn’t use that function.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘How-To purge Gravatar avatars for registered users?’ is closed to new replies.