Forums

Gravatars are not displaying. (6 posts)

  1. Jazzkitten
    Member
    Posted 3 years ago #

    Hello there,
    I've been having this issue all day. I dont know if it's a server problem (allow_url_fopen is disabled on Dreamhost) because sometimes the gravatars actually show up.
    Check here to see what I mean. There should be two comments there with gravatars, and two with defaults. But sometimes they all work, sometimes none of them do, and sometimes its only the defaults. Can anybody spot what's up? Here's that part in my comments.php:
    <div class="altbox">
    <?php foreach ($comments as $comment) : ?>

    <div class="<?=($alternate%2)?"alt1":"alt2";$alternate++;?> clearfix">
    <div class="gravatar">
    <img src="<?php gravatar("R", 40, "http://www.jazz-kitten.org/files/img/gravatar1.gif"); ?>" alt="gravatar" />
    </div>
    <?php comment_author_link() ?><br />On <?php comment_date() ?> at <?php comment_time() ?>.<p />
    <?php comment_text() ?>
    </div>

    <?php endforeach; ?>
    </div>

    Help would be greatly appreciated, since I have spent a day trying to find an answer with no luck.

  2. vkaryl
    Member
    Posted 3 years ago #

    Have you made sure that the gravatar.com server isn't having problems today?

  3. Jazzkitten
    Member
    Posted 3 years ago #

    Seems fine, other Gravatar-enabled blogs seem to be working perfectly, and today I submitted a new gravatar for my account and it was rated within an hour... Although I don't suppose that really has anything to do with it.
    Do they have a status page or something?

  4. vkaryl
    Member
    Posted 3 years ago #

    I don't think so.... it was just that the last time I thought there was a wp problem, it was really gravatar.

  5. Jazzkitten
    Member
    Posted 3 years ago #

    Ah.
    I was thinking it could possibly be a server problem. Does anyone know of a way to use cURL in this plugin instead of allow_url_fopen? That might help... Although it seems to work occasionally.

  6. Jazzkitten
    Member
    Posted 3 years ago #

    Some gravatars are now showing for older posts, but some posts which should have a gravatar dont, and the default image isnt displaying.

Topic Closed

This topic has been closed to new replies.

About this Topic