ElkArte Community

Elk Development => Feature Discussion => Exterminated Features => Topic started by: TE on February 13, 2013, 02:04:37 am

Title: Gravatar / default avatar pic support?
Post by: TE on February 13, 2013, 02:04:37 am
I've been working on gravatar / default avatar pic integration  :) (Made a private SMF 2.0 mod for a customer ~ 2,5 years ago) The code is somewhat "dirty" and needs to be optimized. If I'm ready with the tuning, should I send a pull request (core integration) or should I make a modification? Both features seem to be popular, thus I'd prefer to integrate it as a default feature.
Title: Re: Gravatar / default avatar pic support?
Post by: Trekkie101 on February 13, 2013, 02:51:52 am
That sounds snazzy :)
Title: Re: Gravatar / default avatar pic support?
Post by: Antechinus on February 13, 2013, 03:55:47 am
I'm neutral.
Title: Re: Gravatar / default avatar pic support?
Post by: TestMonkey on February 13, 2013, 09:26:41 am
Ah, cheers! Gravatar integration crossed my mind a few times. I believe Elk can and should make use of services that add to its ease of use. The web has changed, long ago for that matter, and people expect to easily use or reuse bits of their identities cross-sites.

This will make a nice addition to its toolset. :)

Thank you for your work on it! I'd say a pull request for default feature is best.
Title: Re: Gravatar / default avatar pic support?
Post by: Feature Cat on February 13, 2013, 09:59:34 am
/me was drooling for this in another world...
Title: Re: Gravatar / default avatar pic support?
Post by: Spuds on February 13, 2013, 12:21:15 pm
Should be core IMO  ... and Thanks!
Title: Re: Gravatar / default avatar pic support?
Post by: TE on February 25, 2013, 10:59:31 am
Quick question: Do gravatars need their own permission or is it OK if I use the 'Allow_remote_avatar' permission (gravatars are remote files, too)?
Title: Re: Gravatar / default avatar pic support?
Post by: TestMonkey on February 25, 2013, 11:59:58 am
Sorry for the quick reply.
I can see instances where you'd want to allow user remote avatars, but forbid use of gravatar site. Some for incorrect reasons, as you say. I still think it's better to allow admins to choose not to allow use of gravatar integration. (I will come back on this obliquely in another discussion.)
Title: Re: Gravatar / default avatar pic support?
Post by: emanuele on February 25, 2013, 12:40:06 pm
And I suppose people will want the option to allow different ratings for gravatars. O:-)
Title: Re: Gravatar / default avatar pic support?
Post by: TE on February 25, 2013, 01:19:54 pm
Quote from: emanuele – And I suppose people will want the option to allow different ratings for gravatars. O:-)
Ratings is already implemented, I'll add the permissions, too :)
Title: Re: Gravatar / default avatar pic support?
Post by: Antechinus on February 25, 2013, 03:49:36 pm
Ratings for avatars? WTF?
Title: Re: Gravatar / default avatar pic support?
Post by: TE on February 25, 2013, 04:01:00 pm
x is my favorite  ;D
QuoteRating
Gravatar allows users to self-rate their images so that they can indicate if an image is appropriate for a certain audience. By default, only 'G' rated images are displayed unless you indicate that you would like to see higher ratings.

g: suitable for display on all websites with any audience type.
pg: may contain rude gestures, provocatively dressed individuals, the lesser swear words, or mild violence.
r: may contain such things as harsh profanity, intense violence, nudity, or hard drug use.
x: may contain hardcore sexual imagery or extremely disturbing violence.
If the requested email hash does not have an image meeting the requested rating level, then the default image is returned (or the specified default, as per above)
Title: Re: Gravatar / default avatar pic support?
Post by: Antechinus on February 25, 2013, 04:22:31 pm
Ah. Hadn't thought of it that way, but makes sense.