Easy Gravatars version 1.1

My Easy Gravatars plugin is now in the WordPress Plugin Directory, and I’ve released version 1.1.

Changes:

  • Gravatar images now link to comment author’s URL, if provided.
  • Gravatar code now prepended to text instead of appended.
  • Added stylesheet for options page and improved layout. Split options into
    ‘General’ and ‘Advanced’.
  • New advanced option for selecting either ‘Comment Author Link’ or ‘Comment
    Text’ API hook.

When time allows, I’m going to try to add support for favicons on pingbacks and trackbacks, and maybe as a fallback for people without Gravatars. I’ll also see about supporting MyBlogLog and possibly Pavatars.

Other Posts of Interest

32 Comments

  1. Posted 11/16/2007 at 11:47 am | Permalink

    I like the favicon for trackbacks idea - I assume there will be some sort of caching for that? Now that Gravatar is stable I have been thinking about adding it to my own site. This could be even more of an incentive. Nice one.

  2. Andy
    Posted 11/16/2007 at 1:23 pm | Permalink

    I ditched Gravatar when it became completely unreliable and switched to MyBlogLog, but now Gravatar has started to live up to its original promise I’d like to include support again - but I’m not wanting to ditch MyBlogLog, so when you’ve incorporated both, I look forward to using this plugin with thanks!

  3. Posted 11/16/2007 at 1:24 pm | Permalink

    My last comment got accidentally sent before I’d filled in my details. I’ve filled them in on this one… I’m not one for anonymity usually! :-)

  4. Posted 11/16/2007 at 7:07 pm | Permalink

    Easy Gravatars is the easiest avatar plugin to use. I’ll be happy to see it as one-stop service for all avatars :)

  5. Posted 11/16/2007 at 8:31 pm | Permalink

    Uhmmm… I installed it and the only Gravitar I could get to work was the one you point to when You don’t have one.

    Yes, I have the same e-mail address on my Blog as I do over there.

    I just couldn’t get it to work.

    Think It’d have anything to do with me being signed on my Blog all the time?

    Just wondering.

    -Chuck

  6. Posted 11/16/2007 at 8:34 pm | Permalink

    or is there something in the set files I’m supposed to be adding?

    HALP! :D

    -Chuck

  7. Posted 11/16/2007 at 10:48 pm | Permalink

    Thank you for the updated plugin!

  8. Posted 11/16/2007 at 10:55 pm | Permalink

    Oh great.. another updates. Im currently using the version 1.0. Thanks for another awesome plugin. Can’t wait it to be linked with the mybloglog though. It seems that all my commentators are not using gravatar. So the only icon they see is my gravatar icon. Hahaha.

  9. Posted 11/17/2007 at 4:11 am | Permalink

    Great work. I think with the wide spread use of Gravatar amongst WordPress users, this should come in handy, although i personally still prefer to do things manually :)

  10. Posted 11/17/2007 at 7:50 am | Permalink

    Yes, myblogs, gravatar, forum specific avatars, digg avatars, stumble avatars, hyves avatars, wordpress blog common visitor specific local avatar set by the admin, favicons, monsters, muppets and zillions and zillions of more graphically representations of humans. So… I was wondering if there couldn’t be set a standard so e.g. apart from the favicon another tag in the main site of a person which indicates it’s avatar he wants to use around the web, wouldn’t that be awesome handy? I think I’m going to write a plugin which will handle avatars and if it cant find it search social networks intelligently by associating e-mails via searches and offline databases and spidering for a photograph anywhere on the web of that person possibly via the internet archives … :) I think I’m going to write a post about this because I’m messing up your comments with these thoughts.

  11. Posted 11/17/2007 at 5:46 pm | Permalink

    I hadn’t heard of Pavatar before. Added that to my blog as well.

  12. Posted 11/18/2007 at 9:55 am | Permalink

    Thank you for making it easier! I’ve wanted these on my blog for a while, never could do it easily! :)

  13. Posted 11/18/2007 at 6:42 pm | Permalink

    Nice work Dougal. :)

  14. Posted 11/19/2007 at 7:49 am | Permalink

    I’d like to see Gravatar natively inside the next version of Wordpress. :D

  15. Posted 11/19/2007 at 2:49 pm | Permalink

    Cannot wait to spam this topic… only for gravatar (and may be favicon?) test ;)

  16. Posted 11/19/2007 at 4:00 pm | Permalink

    I’d love to see mybloglog integration if it can’t find a gravatar image…

    I like the ease and simplicity. There’s only a few folk who leave comments that have gravatars set up, but at least people can easily pick out my comments now…

  17. Posted 11/19/2007 at 11:11 pm | Permalink

    If gravatars are included by default in wordpress they would gain a great popularity; there are some circles of users where nobody knows they exist :(
    Oh, and Thanks for the update :)

  18. Posted 11/20/2007 at 11:37 am | Permalink

    Dougal,
    Here’s a fix to a minor issue located in the style output.

    The original line you had in the plug-in was:
    $eg_style_span; width:{$eg_size}px

    Which, I switched the semi-colon to its proper place as follows:
    $eg_style_span width:{$eg_size}px;

    This allows you to include the semi-colon in the CSS options as they should be, and places the semi-colon that ends-up missing after the width attribute. (If you include the semi-colon in your style, the existing version will add a semi-colon to your string, and continue to not include a semi-colon to close-out the width attribute. This can fail CSS validation as a result.)

    I’ve also included a semi-colon to the default string to properly fix the plug-in.

  19. Posted 11/20/2007 at 3:44 pm | Permalink

    Daniel: The semicolon between the $eg_span_style variable and the width rule is there in case the user has left it out of the rules in the option. If the user has left a semicolon at the end of the option, and you end up with two in the code, it doesn’t hurt anything (it’s just considered an empty rule). But as best as I remember, a semicolon is not required on the last rule of a set of styles, only between rules.

  20. Posted 11/21/2007 at 5:18 pm | Permalink

    As far as I’m aware, that’s a property methodology applied to lists. I’ve never heard of not closing out attributes according to standard rules.

    Anyway, I guess it’s pointed-out here for anyone who wishes to have it as an alternative.

  21. Posted 11/22/2007 at 7:56 am | Permalink

    Thanx for that grand Plugie. Great Work! Respect!

  22. Posted 11/25/2007 at 1:04 pm | Permalink

    I recently created a Gavatar account, I ma not sure if this will work. If it works, I will download your plugin.

    Yes, it works, great! I like the little fishy, Wow!!!

    Thanks,

    Market Swimmer

  23. Posted 11/25/2007 at 1:07 pm | Permalink

    Wow, it worked. It looks great, little fish!! I am impressed.

    Market Swimmer

  24. Posted 11/26/2007 at 3:11 pm | Permalink

    Hi –

    I wish you would include an option for styling the link as well as the span. Ever since 1.1 the Gravatar images are all boxed in, _and_ underlined, using the Sandbox theme. Shame to customize my theme just for this….

  25. Posted 11/28/2007 at 10:45 am | Permalink

    Great plugin: using it an liking it. :)

    One suggestion: currently the plugin does not allow you to clear the inline style on the settings page. If you try, it just goes back to the default settings. I put the styles I wanted in my stylesheet, so I don’t want the inline stuff anymore. So, being able to override inline styles would be nice.

  26. Posted 11/28/2007 at 11:59 am | Permalink

    Matt: Yeah, currently if the style input is empty, it will assume that you want the defaults. But you can get around that by entering ‘;’ (a semi-colon, by itself). That should still pass validation, I think, as it’s just an empty CSS rule.

  27. Posted 12/6/2007 at 3:48 pm | Permalink

    Hi — I notice in the new version that if the commenter doesn’t have a gravatar, I still get a big box with black border (and a link underline). I realize I could go in and edit my themes’ CSS, but there are things you could do to make this work better out-of-the-box:

    1) Tighten up the CSS so that the link inside the gravatar box specifically has no underline

    2) if there is no gravatar for the commenter, there is no box at all.

    3) Allow us to change the link’s CSS in Options

    This is a cool plugin. This is all just a minor tuning. :) Thanks!

    [Update: Heh. Didn't realize I had already commented on this. Sorreee -- didn't mean to spam you comments!]

  28. Posted 12/27/2007 at 11:06 am | Permalink

    Can someone kindly point me the spot to download version Easy Gravatar 1.1? I kept downloading version 1.

  29. Posted 12/31/2007 at 9:33 am | Permalink

    Get the latest version of the plugin from the Plugin Repository.

  30. Posted 1/2/2008 at 2:30 pm | Permalink

    Good updates. I’ve now migrated my changes to include yours. I kept my admin page layout and added the following additional changes:

    - Added a border option so that a border attribute could be specified on the img tag.
    - Don’t specify width styles or attributes so that if a blank default image is specified and a non-zero border width is specified a big empty box won’t be displayed.

    You can get my changed version (I called it v1.1.1) at http://dpotter.net/Technical/index.php/2008/01/02/easier-gravatars-version-111/.

    Keep up the good work!
    David

  31. Posted 2/15/2008 at 3:54 am | Permalink

    Thank You!!! Very easy to use…
    I just need to edit the Span style in the Advanced Options to make it fits with my themes… :D

  32. Posted 2/24/2008 at 10:21 am | Permalink

    Is there a way to include gravatar to the author line, where it says something like “Posted By Author” in posts?

    Great, easy plugin!

14 Trackbacks

  1. By Easy Gravatars 1.1 on 11/16/2007 at 4:02 pm

    [...] [via] Tags: easy gravatars, easy gravatars 1.1, gravatar, pestaola, plugin, Software, wordpress gravatar Σχετικά posts: [...]

  2. [...] reading the post about the easy gravatar plugin it triggered again an in my mind which I blogged before [...]

  3. By Gravatar | AnneTannes Kruidenklets on 11/17/2007 at 8:52 am

    [...] gebruik ik voor mijn blog de uiterst eenvoudige Easy-gravatars plugin. (Maar ik merk dat ik al niet meer de recentste versie heb… één van de volgende dagen dus [...]

  4. [...] site started crapping out it started slowing down the comment section of this site. Dougal Campbell redid the gravatar plugin and released it to the Wordpress Plugin Directory yesterday. Since Gravatar was acquired by [...]

  5. By Gravatars! at Maszman Speaks! on 11/18/2007 at 6:01 pm

    [...] to Dougal Campbell’s Easy Gravatars version 1.1 plugin, I now have gravatars. Gravatars are “globally recognized avatars” another name for [...]

  6. [...] Campbell just released Easy Gravatars WordPress plugin version 1.1 and it’s also now available at the WordPress Plugin [...]

  7. [...] mal wieder ohne Fehlermeldung u.ä aufrufen kann), das geniale Plugin «Easy Gravatars» hat hier seine Seite und kann auch bei wp.org runtergeladen [...]

  8. By Basic Thinking Blog | WP Plugin Updates on 11/27/2007 at 5:11 am

    [...] klasse Kontaktformular: V 6.2 - Batch Categories, zum schnellen Umstellen von Kategorien: V 1.3.1 - Easy Gravatars zur Anzeige von Avatarpics im Kommentarbereich: V 1.1 - Sayfa Sayac zum Zählen von Hits pro [...]

  9. By Do you have your gravatar yet ? on 11/27/2007 at 10:59 am

    [...] or comments looking for an about page. I recently signed up for it and enabled this site with Easy Gravatars . ( Wordpress Plugin ) Add Gravatars to your comments, without requiring any modifications to your [...]

  10. By HappySoda · Added Easy Gravatars on 12/1/2007 at 1:59 pm

    [...] switching from the Comvatar comment avatars to Gravatar via the Easy Gravatar 1.1 plugin. One nice thing about it is you can keep your icon across any blog that is Gravatar enabled. [...]

  11. [...] See more about it on his blog  “Geek Ramblings”! [...]

  12. [...] out there - - the one that I’ve chosen to use on this blog is Easy Gravatars written by Dougal Campbell - “This plugin will display gravatars for the people who comment on your posts. You do not [...]

  13. [...] Easy Gravatars version 1.1 by Dougal Campbell [...]

  14. [...] Visit [...]

Post a Comment

Your email is never published nor shared. Comments or website URLs deemed to be off-topic or inappropriate may be deleted at the site owner's discretion.