Gravatar Signup Encouragement (download) is a plugin that will encourage users without avatar on Gravatar to make one. It checks e-mail address that unregistered users enter in forms or stored e-mail address of registered users on gravatar.com to see if there is avatar associated to that e-mail address. If there is no avatar, it will display message which will inform user that he doesn’t have avatar on Gravatar and give him a link to sign-up page of Gravatar which would be pre-filled with user’s e-mail address.
Checks on gravatar.com for user’s e-mail address are done via simple and fast AJAX.
Message can be shown to:
- unregistered commenters when they leave text input field for e-mail address
- registered commenters to whom their registered e-mail address is checked
- registered users on their profile page, to whom their registered e-mail address is checked
- users who fill registration form when they leave text input field for e-mail address
There is no need for editing of theme’s files in order to show message, everything is done via JavaScript.
Both AJAX and display of messages are done with use of jQuery library. This plugin will load jQuery file to head of your page if it wasn’t already loaded by theme or other plugin(s). You can speed up your web site and save on bandwidth and server resources with use of plugin Use Google Libraries which will load jQuery file from Google AJAX Libraries. See here how will this help you.
You can select in what of four cases to show message, plus you can choose for each case where on page to show message. There are several elements already available to choose for all cases and you can alternatively add custom element by providing it’s id. Since this plugin uses jQuery selectors to find element, you can add even more advanced filters for selecting. Note that all selectors start with # . Also be aware that display of message may not look good with your theme.
Customization of styles of messages is also possible. You can customize messages by defining CSS style of it. Whole message is wrapped with div with ID depending on case:
gse_comments_messagefor comment formgse_profile_messagefor profile pagegse_registration_messagefor registration page
Text of message is also customizable, you can write any message you want, even use HTML tags you want. Note that you should leave link with URL placeholder if you want to show link to Gravatar’s signup page pre-filled with user’s e-mail address. Also note that same message is shown for all cases.
There will be no mess in database made by this plugin, since it adds only one field in database which is deleted if you uninstall plugin using WordPress’ built-in feature for deletion of plugins.
This plugin is fully internationalized, you can translate all text and link to locale version of Gravatar’s site. You can find .pot file in translations folder where you should place your translation. Please send me your translation by contacting me so that I can include it in next releases.
Editing of settings is done on page Discussion Settings in administration area of WordPress, in section Avatars. Here is a screenshot of how settings should look with all cases checked.
Here are screenshots of displays of message in all cases with default settings.

Message shown to unregistered commenter on default theme with default settings

Message shown to registered commenter on default theme with default settings

Message shown on profile page with option to show below “About Yourself” header

Message shown on registration page with default settings
Gravatar Signup Encouragement is released under the terms of GNU General Public License. It is completely free so if you find it useful you can give something back to author. Your help could be done by translating plugin to your language, sending bugs and suggestions, promoting plugin in blogs, forums and other websites, or by buying web hosting and domain names through author’s catalog of industry’s best offers.
Support for this plugin could be get in comment section of this page or through WordPress support forum. Note that I don’t guarantee that I’ll respond to your entries nor that I’ll do it in short period of time. Before posting, please read documentation on this page or on plugin’s page in WordPress plugin directory. I’ll may delete questions for which answers are provided.

[...] 18th, 2009 Gravatar Signup Encouragement is my first publicly released plugin for WordPress. I got idea to write it after reading comments [...]
What a great plugin!
One minor problem, though… when I installed and tested it, it did correctly show the message when I entered an email address with no Gravatar. However, when I changed the email address to one which does have a Gravatar, the message did not disappear. This could mislead some folk.
Thank you for your comment and sorry because I didn’t reply you before; I was offline for ten days.
This issue is fixed in latest version.
Gravatar Signup Encouragement: затягиваем пользователей в сети Gravatar…
Еще один плагин (летом я писал о Gravatar Box), призванный популяризовать использование сервиса «глобальных аватаров» – Gravatar. Сервис Gravatar запущен давно и достаточно популярен. Многие блоггеры использует поддержку «гло……
I have upgraded to Version 0.94.8 and it works fine.
Thank you for fixing this.
[...] Зато сам ја направио додатак за Вордпрес под називом „Подстицај учлањивања на Граватар“ који за циљ има да корисницима који немају граватар [...]
[...] 11th, 2009 With my new plugin, Gravatar Signup Encouragement, I had a problem with translation of string that is used only on [...]
Great plugin! But now that I switched to the Carrington theme, it seems not to be working anymore. Is there something to add to a template?
I checked your website and the problem is with some nonstandard code in comment form. On my server I installed Carrington theme but it didn’t use that code as on your pages.
What version of this theme you are using and did you make any modifications to it’s files or in it’s settings? If you didn’t, do you use any other plugin related to comments?
I again checked Carrington 2.2 and I can confirm that problem is with it (I don’t know how I saw different thing when I first time tried it). Unfortunately, in order to use this plugin with this theme, you’ll need to manually edit plugin’s file.
In plugin’s file, find two occurrences of
jQuery("#email")and replace it withjQuery("input[name='email']"). Then go to plugin’s settings and in section “Comment form (unregistered users)” check “Custom ID” and fill in text filed next to itcomments. After that, this plugin should work without problem.Note that if this plugin get updated and you use built in function for automatic upgrade or you manually replace files, your edits of code will be lost so you’ll need to repeat them. Also, if you change theme, there will be no more need for this changes so you should reinstall plugin to use it with that theme.
You can check “Notify me of followup comments via e-mail” to receive e-mail notification when new comment is posted.
Sorry, only noticed now that you had replied.
I’ve checked and cannot see any active, comment-related plugins. I had changed a few items in the theme but I don’t recall fiddling with the comment form, although I still have to get familiar with Carrington’s weirdish structure.
I’m using the latest version (Carrington Blog 2.2), by the way.
Thanks for this, I’ll try that this week-end.
Now I’ve seen the email notification widget.
The more I try these things the more depressed I get for being such an obvious dunce. I have tried to do everything step-by-step and I don’t see the suggestion anywhere on my site. Can someone take a look and give me a clue where I made the mistake? I’m at the point where I’d share the ID &PW with you to find the problem.
First thing, on page “Discussion Settings” in administration of your blog, you probably checked “Users must be registered and logged in to comment”. With this enabled, users must register first on your blog and then they could post a comment, and not like you posted comment here (by providing name, URL and e-mail address). You can try this when you log-out of your blog.
Maybe you did this intentionally but I need to warn you.
Second thing, on bottom of page “Discussion Settings” there is a section called “Gravatar Signup Encouragement” where you can setup options for this plugin. If you don’t know what is what, read this blog post above and FAQ.
[...] Gravatar Signup Encouragement is a simple plugin that encourages users without an avatar on Gravatar to make one! It creates a prompt (and link to the website) for any user who’s email was not found on file at Gravatar. [...]
[...] Gravatar Signup Encouragement. Encourages commenters who do not already have a Gravatar to sign up for a free Gravatar. [...]
First of all, thanks for creating a awesome plugin. However, I’m having one problem with it and I think that it might be related to the Mystique theme that I’m using.
The problem is this: When a first time visitor that doesn’t have a gravatar account visits my website and wants to leave a comment, they are not presented with the encouragement to sign up for an Gravatar account. The comment is suppose to pop up under the Comment box and above the submit button but it doesn’t. My guess is that the comments.php is causing the problem as the encouragement message shows when you create a new account or when a login in user doesn’t have a gravatar.
A screenshot of the setting page can be viewed at this link: http://screencast.com/t/NzQ2MTQx
I would appreciate any help that you can provide.
Sorry for late reply. On settings page, enter
field-emailin field “Custom ID” in sections “Comment Form” and then try again.After that, tell me results.
Hi Milan,
Thank you for your reply, unfortunately it didn’t work. I can confirm that it is theme related as it works with the “WordPress Classic 1.5 by Dave Shea” theme that comes with WP.
I also installed the Gigya plugin and that one doesn’t work correctly with comments as well.
Any advise?
Hi Milan,
I solved the problem, I changed some code in your plugin to get it to work. I dont know if its a bug in your code or just an incompatibility with my theme. This is what I changed:
In file gravatar-signup-encouragment.php
On line 395 and 402 replace
<jQuery("#email")withjQuery("#<?php echo $gse_options['below_comments_unreg']; ?>")Please confirm that is a correct fix.
Ok, its me again… Changing the
<jQuery("#email")as i described above works but I am only able to have the notification message appear below the email field with this fix.I want the notification message to appear below the comment box instead, so I decided to go back to the file gravatar-signup-encouragment.php and change the two
<jQuery("xxxx")entrees on line 395 and 402 to<jQuery("#field-email"). Now i’m able to use the plugins settings page in the backend administrator to select where in the form that I want my notification to appear.This will probably only works for the Mystique theme.
Is there a better way to solve this? please let me know if i’m making things more complicated than they need to be.
I’m really sorry I didn’t respond to you earlier.
I can confirm that this are issues with Mystique theme. It is using
field-emailinstead of standardemailas ID of a email input fields.For now, I won’t change code at my plugin but if more themes have problems like this, I’ll consider making option to enter custom ID of email input field.
I think I found a bug. At the comment area, if an e-mail (without Gravatar) is input, the message pops up. That’s good. And if you replace the email address (without Gravatar) to another email address (with Gravatar), the message automatically disappears. That’s even better! The problem is that this message does not disappears on its own at the register page. Once the message pops up, it remains there (until you navigate away, of course). Could you please solve this problem? I am not sure if this problem is present on the profile page, though.
It’s a great plug-in. It does exactly what I want as if you can read my mind! Keep up the good job!!
Are you sure for this? I did tests (even on your site) and message disappears after you enter correct e-mail.
Howdy! Really like the simplicity of this plug-in, but I have two problems: first it says I don’t have a Gravatar (which I do), and second when the browser auto-populates forms the routine never runs (you have to manually go to the email box and type something to refresh it). I have no idea why there is a problem looking up the existence of my Gravatar, but the second issue could be solved by a jQuery after load event that checks to see if the box is already filled out, right?
I’m really sorry I didn’t respond to you earlier.
This shouldn’t happen. If you still have this problem, please give me a link to a page where this occurs.
Are you talking about a case where you post comment for a first time (and get a prompt that you don’t have gravatar) and next time you want to comment form is already filled with your data (but you don’t get a prompt that you don’t have gravatar). If so, I’m already aware of this issue and I’m planning to fix it.
I am trying to use this plug in on a website located at http://fbcflomaton.com/wordpress/?page_id=3 I cannot get it to show on the comments nor can I get it to show on the dashboard for users who are not registered with gravatar. Any help would be greatly appreciated. Thanks.
I’m really sorry I didn’t respond to you earlier.
I don’t know did you solved this problem by yourself, but I just tried to use it on your comment form and it works.
I don’t understand on what dashboard in doesn’t work?
This plugin is just what I’ve been looking for, but I haven’t been able to make it work on my site. Here are my settings:
http://dl.dropbox.com/u/3619118/gravatar.png
As you can see, I’m trying to use the message everywhere — registration, comments, and profile. Unfortunately, I don’t see it appearing in any of those places.
I have not required registration for comments. I’m using a custom StudioPress theme and do not have any other comment-related plugins. Any idea what I might be doing wrong, or how to fix the problem if it’s an incompatibility with the theme?
Thanks for your time!
I’m really sorry I didn’t respond to you earlier.
I think I have a solution for you. Edit you message and replace
"with'(this is at text field at settings page).Please tell me if this solved your problem.
Thanks for the reply, Milan.
I assume you’re referring to the double quotes (“) in the Gravatar URL. I replaced them with single quotes (‘), and the problem persists. The message still does not appear on the registration, comments, or profile pages.
Any other ideas?
Are you sure about this? I just tried on your comments and registration page and message is shown.
Hmmm. Here’s what I see on the registration page:
http://dl.dropbox.com/u/3619118/qq-register.png
Where are you seeing the message?
Lance, you didn’t read documentation. Third paragraph on this page says:
Also check last screenshot above.
You’re right, Milan. I hadn’t re-read the documentation since the original installation in April. Thanks for helping to solve the problem.
Thank you for pointing me to discovering that I don’t have a notice that users should use double quotes in message. Since they aren’t in plugin’s code, why you changed single quotes to them?