I'll tell Ron to release the one he did. :)I wouldn't mind seeing a plugin that provided granularity for exporting data.
I'll tell Ron to release the one he did. :)I wouldn't mind seeing a plugin that provided granularity for exporting data.
Just came across a plugin called Gravatar Signup and was created by Mark Jaquith and it has not been updated since 2005. This plugin allowed users to sign upto Gravatar from within their comment form area.
This plugin died when Gravatar changed something on their end.
http://txfx.net/code/wordpress/gravatar-signup/
Premium WordPress Hosting - WordPress Hosting, Installations and Services.
Yeah, I found that once. Basically it just submitted a signup form for you. Nowadays, the gravatar signup sends you a custom link to prove your email address before letting you sign up for it. So you can't do it via a direct submission.
I may through 3 plugin ideas your way. One for site visitors, one for site authors and one for site developers. Are usability/readability, internal WP authors/developer communication/collaboration tools, and develop/launch tools interesting subjects for your plugins project ?
I`ll make a description of my plugin ideas if you're interested.
John Myrstad
It's actually possible now that they implemented the 404 response.
This is a jQuery example that will tell you if an email address has a gravatar or not. Works across domains just fine.
On the no gravatar one, you could generate a signup link instead of showing their image. A signup link with the email already filled in looks like this:Code:// code to load jQuery here // code to load jQuery md5 extension here (http://plugins.jquery.com/files/jquery.md5.js.txt) var email = "fake@example.com"; var img = new Image(); $(img) .load(function() { alert('Yes, there is a gravatar there'); }) .error(function() { alert('Nope, no gravatar there.'); }) .attr('src','http://www.gravatar.com/avatar/' + $.md5(email)+'?d=404');
http ://en.gravatar.com/site/signup/fake@example.com
So yes, it is wholly possible with all Javascript.
I got bored. Here's a working example. Make an html file, stick this in it, load it up to see.
I estimate that it would take about 5 minutes to get this into a theme. 20 to make a portable plugin out of it.
HTML Code:<html> <head> <title>Example</title> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script> <script src="http://plugins.jquery.com/files/jquery.md5.js.txt"></script> </head> <body> <script> function gravatar(email) { return 'http://www.gravatar.com/avatar/' + $.md5(email); } $(document).ready(function () { $('#email').blur(function () { var email = $(this).val(); if (email.indexOf('@') == -1) { return; } var img = new Image(); $(img) .load(function() { $('#gravatar_box').html("<img src='"+gravatar(email)+"?s=96&d=404' />"); }) .error(function() { $('#gravatar_box').html("<p>No gravatar? <a href='http://en.gravatar.com/site/signup/"+email+"'>Get one!</a></p>"); }) .attr('src',gravatar(email)+"?s=96&d=404"); }); }); </script> <form> <!-- This is extremely similar to the comment form in WordPress --> <p><input type="text" name="name" id="name" size="22" tabindex="2" aria-required='true' /> <label for="name"><small>Name (required)</small></label></p> <p><input type="text" name="email" id="email" size="22" tabindex="2" aria-required='true' /> <label for="email"><small>Mail (will not be published) (required)</small></label></p> <p><input type="text" name="website" id="website" size="22" tabindex="2" /> <label for="website"><small>Website URL</small></label></p> </form> <!-- Put your Gravatar_box div wherever you want it, style it however you like --> <div id="gravatar_box"></div> </body> </html>
Thanks Otto, that script works very nicely. You should get bored more often.
Nice2All - Let's Talk WordPress
Huh. Once I actually sat down and did it, converting it to a portable plugin actually took half an hour. I'm getting rusty. :(
http://ottodestruct.com/blog/wordpre.../gravatar-box/
Didn't EpicAlex put together a plugin to pull in a gravatar dynamically on the wp-login.php page?
Why, yes: here it is!
Might his technique be useful?
WP TurnKey - Turn-Key WordPress installation and maintenance services
WordPress user since 2005 | @chip_bennett | chipbennett.net | cbnet Plugins