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.
Easy Gravatars version 1.1Related posts:
- Gravatars
" Even before the recent announcement about Gravatar joining Automattic, I had been wanting to turn on comment avatars here. I nabbed Matt’s code, fooled..." - Easy Gravatars Plugin
" Since so many people seemed to be interested, I went ahead and coded up my new Gravatars plugin: Easy Gravatars. It’s designed to be..." - Easy Gravatars with Google Analytics Plugin
" Several people have reported problems using my Easy Gravatars plugin together with Joost de Valk’s Google Analytics Plugin for WordPress. I spent some time..." - Easy Gravatars 1.2
" Earlier today, I released Easy Gravatars version 1.2. The only change (besides confirming that works in WordPress 2.5, currently in beta, due out next..." - WordPress 2.5 Beta
"I just upgraded this site to WordPress 2.5 Beta. So far, everything appears to be working just fine. And since I know lots of people..."














32 Comments
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.
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!
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!
Easy Gravatars is the easiest avatar plugin to use. I’ll be happy to see it as one-stop service for all avatars
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
or is there something in the set files I’m supposed to be adding?
HALP!
-Chuck
Thank you for the updated plugin!
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.
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
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.
I hadn’t heard of Pavatar before. Added that to my blog as well.
Thank you for making it easier! I’ve wanted these on my blog for a while, never could do it easily!
Nice work Dougal.
I’d like to see Gravatar natively inside the next version of Wordpress.
Cannot wait to spam this topic… only for gravatar (and may be favicon?) test
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…
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
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.
Daniel: The semicolon between the
$eg_span_stylevariable and thewidthrule 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.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.
Thanx for that grand Plugie. Great Work! Respect!
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
Wow, it worked. It looks great, little fish!! I am impressed.
Market Swimmer
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….
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.
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.
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!]
Can someone kindly point me the spot to download version Easy Gravatar 1.1? I kept downloading version 1.
Get the latest version of the plugin from the Plugin Repository.
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
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…
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
[...] [via] Tags: easy gravatars, easy gravatars 1.1, gravatar, pestaola, plugin, Software, wordpress gravatar Σχετικά posts: [...]
[...] reading the post about the easy gravatar plugin it triggered again an in my mind which I blogged before [...]
[...] 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 [...]
[...] 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 [...]
[...] to Dougal Campbell’s Easy Gravatars version 1.1 plugin, I now have gravatars. Gravatars are “globally recognized avatars” another name for [...]
[...] Campbell just released Easy Gravatars WordPress plugin version 1.1 and it’s also now available at the WordPress Plugin [...]
[...] mal wieder ohne Fehlermeldung u.ä aufrufen kann), das geniale Plugin «Easy Gravatars» hat hier seine Seite und kann auch bei wp.org runtergeladen [...]
[...] 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 [...]
[...] 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 [...]
[...] 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. [...]
[...] See more about it on his blog “Geek Ramblings”! [...]
[...] 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 [...]
[...] Easy Gravatars version 1.1 by Dougal Campbell [...]
[...] Visit [...]