• I followed the instructions word for word for the gravatars plugin. While the options menu and plugins menus appear just right, my blog page is gravatarless. Its not that they are just in the wrong place, they just aren’t there at all. Any ideas what may have happened?

Viewing 15 replies - 1 through 15 (of 19 total)
  • You have made the appropriate calls in your comments.php file or whatever you are using for your comments?

    Just installing/activating the plugin will get you the Admin option menus, but will not actually put the gravatars in your comments, until you make the call to the plugin.

    If you are using Skippy’s Gravatar plugin (and it sounds like you are), you will have to make a call to “gravatars();” in your comments file.

    Regards

    Thread Starter cleverclio

    (@cleverclio)

    Yup, editted my comment.php according to the site’s directions

    Do you even see your default gravatar?

    Also a link to your site would be good so that we can take a peek ourselves.

    I had gotten Skippy’s plugin working, but reverted back to using the plugin that is availbale from the Gravatar website itself after I had issues with Skippy’s version.

    Regards

    Thread Starter cleverclio

    (@cleverclio)

    the website is https://www.cleverclio.com. I can see my avatar in the options menu but not on the site. I think maybe my definitions (ie .gravatar) are entered wrong or something. Thanks you in advance for anyhelp you could give me.

    Did you intend your “avatar.jpg” to show up on every post or did that happen after you started playing with the Gravatar’s??

    If that is indeed supposed to be your default avatar or your gravatar, then you’ve placed the Gravatar function call in the wrong location.

    I don’t see any mention of the gravatar calls in the Comments section. Usually, there is a <img> tag with the class of GRAVATAR.

    Please paste your comments.php file into https://pastebin.com so that I can see what it looks like and help you debug this issue.

    Regards

    Cyper, could you take a look at mine, please.. Gravatars are not showing up.

    https://www.xeenat.com/wordpress/2005/07/04/testing-images/#comments

    https://pastebin.com/308086

    Thank you.

    This is what I put. Seems perfect.

    <img src="<?php gravatar("R", 50, "https://xeenat.com/gravatar.jpg","000000"); ?>" alt="Xeenat" align="right"/>

    Take a look at my comment page here

    I inserted it after <li class="<?php echo $oddcomment; ?>" id="comment-<?php comment_ID() ?>">. I’m using the Kubrick template.

    Can someone tell me if I’m doing everything right, please?

    I too had problems using skippy’s plugin instructions for displaying the gravatar housed at your own site. At first it was not displaying at all & then it displayed in every single comment on my blog.

    I reverted to calling my gravatar from the gravatar.com site rather than from the image on my own site. That caused the image to display properly. So if you’re linking to the gravatar on your own site I’d try linking instead to your image at the gravatar site.

    I’m going to host a default gravatar on my website.

    Suppose “X” person didn’t have a gravatar and later on he did. So will it automatically change the default gravatar hosted on my website to his own gravatar which is uploaded on Gravatar.com, once it get’s accepted?

    I hope it’s making sense… =/

    Also, how would I use mine? It should automatically replace it, right? o_O

    You provide a default gravatar for everyone to use as a “fall-back” option. Basically you send a query for a given email address to the gravatar.com site, if it has a gravatar associated with that email address, it will be returned to you, otherwise it will use the default gravatar you would have given as part of your query.

    The gravatar query is something along the lines of:


    https://www.gravatar.com/avatar.php? gravatar_id=279aa12c3326f87c460aa4f31d18a065
    &rating=R
    &size=40
    &default=https://www.somesite.com/someimage.jpg
    &border=FF0000

    This is all on one line of course. ?? But, anyways, the “default” portion of the URL tells gravatar.com to return that image if it can’t find a valid gravatar.

    So in your example, if person “X” didn’t have a gravatar, you would display the default gravatar for them. The moment they get a gravatar, it will be automatically returned from gravatar.com without you having to do anything.

    I hope I make sense. ??

    Regards

    Yes, I get it now. Thank you Cypher. =]

    One last question. Check here.

    The text is coming on top of the gravatar in the last comment. How to fix that?

    Thanks, in advance. ??

    BK add this to your gravatar css


    margin: 5px 0px 10px 10px;

    Those margins translate to top, right side, bottom, left side of grav image. You can alter them to suit your own tastes.

    Thanks a lot Marc. ??

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘Gravatar Plugin No Result’ is closed to new replies.