WordPress.org

Ready to get started?Download WordPress

Forums

No Gravatars Seem to show up (1 post)

  1. Rev. Voodoo
    Volunteer Moderator
    Posted 3 years ago #

    Well, this isn't a biggie, but it's been bugging me a bit. I'll post it up in case anyone has a suggestion.

    Whenever anyone leaves me a comment, I just get a red x wart instead of a gravatar.

    On both the commentd end, and in the recent comments dashboard widget.

    here's an example img src link to a gravatr
    http://1.gravatar.com/avatar/51e3df0200b17145365d44a3630d9515?s=50&d=http%3A%2F%2Fwww.rvoodoo.com%2Fempire%2Fwp-content%2Fthemes%2Fvoodooempire3%2Fimages%2FvoodooEmpire.png%3Fs%3D50&r=X

    I have no idea how they should look, does that look properly formed....?

    Now that I look at it, it seems something has gone wrong with code I use to drop in a default gravatar of my own if the user doesn't have one....

    // THIS ADDS CUSTOM DEFAULT GRAVATAR
    if ( !function_exists('fb_addgravatar') ) {
        function fb_addgravatar( $avatar_defaults ) {
        $myavatar = get_bloginfo('template_directory').'/images/voodooEmpire.png';
        //default avatar
        $avatar_defaults[$myavatar] = 'The Voodoo Empire';
        return $avatar_defaults;
        }
     add_filter( 'avatar_defaults', 'fb_addgravatar' );
    }

    anybody see a conflict that would cause issues? I've been using that code for quite some time, I think maybe the problem started with WP3.0?

    EDIT-Well, I don't think it's that code, when I switch to default theme the problem persists. Even with plugins deactivated. It looks like if I swap to generated gravatars, my gravatr shows up, but nobody else's does. Not even the generated ones.... the link looks like this

    http://1.gravatar.com/avatar/51e3df0200b17145365d44a3630d9515?s=50&d=monsterid&r=X

    So I have no idea

Topic Closed

This topic has been closed to new replies.

About this Topic