Forums

gravatar load (8 posts)

  1. ciuncky
    Member
    Posted 2 years ago #

    Hello,

    I have a problem with the template. When I (or someone else) post a comment, the gravatar is not shown. Maybe I've deleted a piece of code, but I don't remember to ever edit the comments.php section, or whatever.
    So, what can i do, or what should i write in the code to display the image?

    Kind regards, Alex

  2. Otto
    Tech Ninja
    Posted 2 years ago #

    Did you turn them off? Settings->Discussion.

  3. ciuncky
    Member
    Posted 2 years ago #

    No, it's set to Show Avatars, with Mystery Man in case of no image :)
    so...any ideas?

  4. Otto
    Tech Ninja
    Posted 2 years ago #

    What's the site url, so we can see the issue?

  5. ciuncky
    Member
    Posted 2 years ago #

    http://www.routegamer.net

    feel free to add any comms. sorry for the delay.

  6. Otto
    Tech Ninja
    Posted 2 years ago #

    Ahh. Okay, just add this line into your comments.php file wherever you want the gravatar:

    <?php echo get_avatar( $comment, 32 ); ?>

    The "32" is the size of the image you want.

  7. ciuncky
    Member
    Posted 2 years ago #

    ty a lot...
    well, this seems to fix the problem, but i can't find out how to set the image to the left, while the text to be on the right side, next to the image. i've tride the align code, but maybe i didn't wrote if fine...

    any ideas ? or should i let it so?
    thanks a lot, once again!

  8. drotar
    Member
    Posted 2 years ago #

    i am new to your amazing software and am trying to do everything perfectly. i just went into my users page and i do not see a box for My Gravatar, can you explain this. also other things are missing such as interface language, browser connection button
    etc, my blog is http://www.drotardesign.com/blog

    thanks
    d

Topic Closed

This topic has been closed to new replies.

About this Topic