Gravatar Signup
Please note that this plugin will not make Gravatars show up in your comments! There are plenty of other plugins to do that.
Gravatars are showing up on blogs everywhere. Want a way to make it really easy for your site’s readers to sign up for their very own Gravatar? This is the plugin for you.
Gravatar Signup
Gravatar Signup is a WordPress plugin that puts a checkbox in your comments form that says “Sign me up for a free Gravatar!” If the user checks that box, some additional text and a password field will appear right below the checkbox. If the comment form is submitted with the Gravatar box checked, with a valid e-mail address provided, and with a password in the Gravatar password field, the plugin will sign the commenter up for a Gravatar as their comment is posted. They’ll get an e-mail from Gravatar just as if they had used the signup form at the Gravatar site.
This, I hope, will help take away one of the barriers to entry for Gravatars. If people have to go to another site and fill out a form, they might not want to do it. But since they are already leaving a comment, all it takes is a “check” and a password to sign up using this plugin.
Download
Installation Instructions
- Download and open the zip file.
- Copy the
gravatar-signupfolder to your site’s/wp-content/plugins/folder. - New in version 1.4: make
/gravatar-signup/gravatar-cache.txtwritable - Activate the plugin in WordPress.
- If you are using WordPress 1.5 with one of the default plugins, you’re done! The form elements will be put in your comments form. If you are using a 3rd party template, it might not show up. If that is the case, or if you would like to change where it shows up in your form, you’ll need the next step.
- Paste the following code somewhere in your comments form:
<?php show_gravatar_signup(); ?>
Versions
- Version 1.6.3, Adapts to change at Gravatar site that broke the plugin, uses WP Snoopy
- Version 1.6.2, Plugin page pointed to here
- Version 1.6.1, Fixed XHTML invalid code
- Version 1.6, small updates for better WP 1.5.1.2 compatability
- Version 1.5, mandatory upgrade. Gravatar changed some things on their servers, so the only way you’d see the checkbox is if you didn’t have a comment cookie… Also, new code for dealing with registered WP users and compatibility with recent WP 1.5.1 builds
- Version 1.4.1, minor fix: checkbox was accidentally given tabindex of “2″
- Version 1.4, caching of known Gravatar hashes, much faster performance thanks to tip from C.S. in comments
- Version 1.2.1, small bugfix for line 93
- Version 1.2, previous commenters who already have a Gravatar won’t see the checkbox
- Version 1.1, bugfix for manually inserted code in comments form
- Version 1.0, initial release
Update: Please note that this plugin will not make Gravatars show up in your comments! There are already many great plugins for WordPress that do that, and I didn’t want to reinvent the wheel. Google is your friend.
Update: Please upgrade to version 1.5! Thanks to Geof for bringing to my attention that something wasn’t working. Gravatar changed something on their servers, so the method I was using to see if the current commenter already has a Gravatar was failing. Now, it’s using a method that shouldn’t break in the future, since it’s the new method that the people at Gravatar have recommended! Also, fixes for sites with user registration as well as compatibility with the latest WP 1.5.1 builds. You should flush out (empty the contents of) your gravatar-cache.txt file, because it’s likely filled up with hashes of people who don’t have Gravatars, due to the fact that the code was creating false positives.


I’ve got both the gravatar signup on my page and on a hosted blog on my domain and people seem to not be getting any emails about their gravatar signup’s going through.
You could check it out at http://troisieme.scudly.com I just attempted to sign up with a dummy account and nothing’s happened either.
I’m experiencing the same problem described by Scud in comment number 88. I’m using WP 2.0.2
nice plug-ins
Thank for this plugin, its wonderful
Thank you for the plugin
Does this work with 2.0? I have it installed and tested it but I never get an email confirmation.
alright, I’m getting the error someone else mentioned that was solved by making the gravitar-cache.txt rewritable, but I’m not understanding exactly how to do that…any suggestions would be wonderful, as I have exhausted myself looking about and trying to figure it out…
thanks
wait, holy cow, i got it.
thanks for the plugin
(and by the way, when i try to spell check my comment here it gives me a popup with a 403 error…)
nice plugins thanks !
Does it works in WordPress 2.0.X?
Thanks for the great plug in.. the only problem I foresee is the fact that I wouldn’t check the box if I didn’t already know what a Gravatar was..
Hi
I’ve installed it but I have the same problem as with your subscription plugin in that it adds the box way, way down the page - check out any of my articles and you’ll see what I mean http://www.connectedinternet.co.uk.
Can you help fix the problem please?
Thanks
EB
Wow, really easy to install and it works perfectly. Awesome plugin!
the confirmation email doesn’t come. is it not compatible with 2.0?
This seems to be a perfect plugin, but I can`t make it work. I am doing everything right I believe…. exactly where is it not ok to put it in the comments template?
I have WP v 1.5.2
My readers are reporting that they never got the email from Gravatar after using Gravatar Signup. I remember it used to work at some point so it’s probably due to some changes in Gravatar website?
Cool - it is working! But please note that it does not show up for people who already have a Gravatar…
Hi, nice plugin! I’m always looking for ways to minimize the number of steps required for my users to do really fun things.
Is it possible to have the sign-up checkbox be checked by default?
Thanx for this comment ! very usefull !
It’s not working for me. The email from gravatar just doesn’t come.
Version 1.6.3 has been released, which adapts to a change at the Gravatar website that was preventing this plugin from working. Mandatory upgrade (if you want it to work!)
Just wanted to say that I have indeed gotten the Gravatar Account Request email. But also to warn people that if they have the Snoopy.class.php file in their Gravatar-Signup folder from an old install they need to delete it or else you’ll get errors on submitting a comment.
Scud,
What errors? Very strange that leaving the Snoopy file would cause problems… 1.6.3 doesn’t use it at all.
Mark,
I don’t know of the errors off-hand. I just remember it gave me a php error and the page never loaded, but as soon as I deleted the snoopy file it worked.
I’ll try re-installing later today to see what the error was again.
Actually this is what I got on my sub-domain blog
Warning: fsockopen() [function.fsockopen]: unable to connect to gravatar.com:80 (Connection timed out) in /home/scudly7/public_html/troisieme/wp-includes/class-snoopy.php on line 1150
Warning: Cannot modify header information - headers already sent by (output started at /home/scudly7/public_html/troisieme/wp-includes/class-snoopy.php:1150) in /home/scudly7/public_html/troisieme/wp-comments-post.php on line 55
Warning: Cannot modify header information - headers already sent by (output started at /home/scudly7/public_html/troisieme/wp-includes/class-snoopy.php:1150) in /home/scudly7/public_html/troisieme/wp-comments-post.php on line 56
Warning: Cannot modify header information - headers already sent by (output started at /home/scudly7/public_html/troisieme/wp-includes/class-snoopy.php:1150) in /home/scudly7/public_html/troisieme/wp-comments-post.php on line 57
Warning: Cannot modify header information - headers already sent by (output started at /home/scudly7/public_html/troisieme/wp-includes/class-snoopy.php:1150) in /home/scudly7/public_html/troisieme/wp-includes/pluggable-functions.php on line 288
Quick and easy install, already enabled and working on my Blog. Thanks!
zmwxiehm wnsecogy http://wadqwuff.com sbprieng emdsnbds
Thanks for the plugin.
Easy to install, it works fine on my Blog - thanks!
great job,nice plugin! but gravatar is not good for sites witch much comments. too much traffic and side is too slowly created.
Many interesting info! Thanks. http://map45195-2.okweb12.org
Thank you it work’s fine for me at Logler.com
Thanks for this great plugin! Any chance this badboy works with Wordpress 2.1?
Thanks!
Is this going to be working with the new version of gravatar.com?
hello,
is your plugin compatible with WP2.1 and the new gravatar service?
Dear webmaster. I saw your nice stats. I came from:
[urls_url]
[urls_href]
[urls_nothing]
There is everything here, that it is necessary for me. Good job! Thanks.
Dear webmaster. I saw your nice stats. I came from:
[urls_url]
[urls_href]
[urls_nothing]
There is everything here, that it is necessary for me. Good job! Thanks.
Best my wishes to Admin. Found interesting info!
———-
my site: http://gallstonesymptom.creablog.com
Hello good site.
Dear webmaster. I saw your nice stats. I came from:
[urls_url]
[urls_href]
[urls_nothing]
There is everything here, that it is necessary for me. Good job! Thanks.
Ïðîäàæà ïðîïóñêîâ â ãèïåðìàðêåòû ” METRO Ñash & Ñerry” áåç ïðåäîïëàòû, áûñòðî è äåøåâî. Îôîðìëÿåì îôèöèàëüíî íà ñîòðóäíèêîâ îðãàíèçàöèé è ÷àñòíûõ ëèö.
Ñàéò: http://www.goldencards.ru
Email: zakaz@goldencards.ru
really nice work! congrats and thank you very much for GS!
apjwtgf. http://homepage.mac.com/streamate/streamate.html STREAMATE
ehzxy. http://homepage.mac.com/streamate/streamate.html STREAMATE
fsrgti. http://homepage.mac.com/streamate/streamate.html STREAMATE
lwdfepxy. http://homepage.mac.com/streamate/streamate.html STREAMATE
Excellent plugins in my opinion.
ilbcl. http://homepage.mac.com/streamate1/streamate.html STREAMATE
acplebcds. http://homepage.mac.com/streamate1/streamate-live-cam.html STREAMATE LIVE CAM
Gravatar signup page has changed to: http://site.gravatar.com/signup
best air asia in malaysia price ticket
Thanks!
Howdy!
Come over to my site and steal one of my WordPress Themes, leave a comment and check the Gravatar Sign-up checkbox. Let me know if you get the email?!
In my tests they never come. I at first thought to chmod gravatar-cache.txt 0777, that didn’t help. site.gravatar.com has been flaky; at times I find it out of service. That may have something to do with other complaints of no Gravatar emails?
cool idea
Cool plugin
thanks!
Information home loan.
Thanks for the code Mark, its been very useful.
Sorry I don’t have a paypal account, or a tiny support would have meant nothing in response to your work.
Very nice plug in, thanks for sharing it!