Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I'm interested in the theory of a user being able to register/upload a gravatar directly in their user account within a hosted WP system.

Is this feasible?

share|improve this question

4 Answers 4

up vote 1 down vote accepted

If you are looking to connect your sites sign-up with Gravatar then you simply can't, since Gravatar don't have a sing-up api you can use.

But if you are just looking to let your users upload there own photos the either Simple Local Avatars Plugin that Chip suggested or one I've used a lot before is User Photo will do the job just fine.

But the better part of User Photo plugin is that it has an overwrite function get_avatar which will get the user photo if exists or the gravatar if not.

share|improve this answer
    
Simple Local Avatars also works by filtering get_avatar(). –  Chip Bennett Apr 19 '11 at 22:31
    
cool didn't know that! thanks. –  Bainternet Apr 19 '11 at 22:39
    
"you simply can't, since Gravatar don't have a sing-up api you can use" Ah, I suppose that answers that for me. Thanks! –  Chad Von Lind Apr 20 '11 at 0:23

Try the Simple Local Avatars Plugin. It works exactly as advertised!

share|improve this answer
    
Yes, the SLA plugin is useful, but they won't be globally recognized, for third party plugins that integrate with WP and make use of gravatar. –  Chad Von Lind Apr 19 '11 at 21:21
2  
They don't need to be globally recognized. They only need to be recognized by get_avatar() within WordPress - which this Plugin does. –  Chip Bennett Apr 19 '11 at 21:48
    
Thanks Chip. I'm using the Disqus commenting system with a site that allows users to register advanced profiles. I'd like them to be able to upload their gravatar when filling in the other profile fields. Using SLA to upload an avatar means that when they comment using Disqus, the image will not show the SLA avatar, when it would normally show a gravatar. This is why I was interested in it being globally recognized. But I'm still working this theory out and how to best approach it. –  Chad Von Lind Apr 19 '11 at 23:40
1  
Disqus has user profiles, and allows for complete template customization. Why not just use the avatars available through Disqus profiles? –  Chip Bennett Apr 20 '11 at 0:40
    
It's a community driven website. So I'm trying to figure out the best approach to have their profile pic show on their profile and within their Disqus comments. –  Chad Von Lind Apr 20 '11 at 18:52

Mark Jaquith a WP core developer wrote a plugin called Gravatar Signup which checks if the user has a Gravatar when the leave comments (and maybe when the first signup) and if not shows a link to the gravatar site. They would still need to sign up at Gravatar.com but this may be a simple fix to your problem.

Personally I try to stay away from plugins that allow users to upload their own author pics but that's just personal preference.

share|improve this answer

There's also Gravatar Box which I wrote. It's handy for a comments form, to increase Gravatar awareness.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.