Project

General

Profile

How to add gravatar into my account?

Added by Ismail SEZEN over 16 years ago

Eric told me about gravatars but i didn't see any way how to add on Redmine 0.7.3? Any idea?


Replies (8)

RE: How to add gravatar into my account? - Added by Eric Davis over 16 years ago

Ismail SEZEN wrote:

Eric told me about gravatars but i didn't see any way how to add on Redmine 0.7.3? Any idea?

Gravatars are not in Redmine yet, I was asking if that would work for you (Feature #1776). The links I gave were to my Redmine install with custom Gravatar code which I can port to the core if people are interested.

Eric

RE: How to add gravatar into my account? - Added by Ismail SEZEN over 16 years ago

Sure! It works for me but in fact, it must be an optional feature in the Redmine instead of internal avatar feature. I've an gravatar account now. By the way, I didn't know gravatar.com :) Thank you :)

RE: How to add gravatar into my account? - Added by Wynn Netherland about 16 years ago

Eric,

I, too, modified Redmine to support gravatars since it helps us quickly scan to see who did what on the activity view and journals on tickets. Would you want to team up on making this a plugin?

RE: How to add gravatar into my account? - Added by Eric Davis about 16 years ago

Wynn Netherland wrote:

Eric,

I, too, modified Redmine to support gravatars since it helps us quickly scan to see who did what on the activity view and journals on tickets. Would you want to team up on making this a plugin?

That sounds like a great idea, I like your gravatar implementation better. Should we start a GitHub project for this?

Eric

RE: How to add gravatar into my account? - Added by Wynn Netherland about 16 years ago

I'm not sure the best approach. To do it as a plugin, we'd need to add a few very surgical view_hooks anyway. It might be better to submit a patch that bascially had a global switch to turn them on/off? What do you think?

I basically dropped in the gravatar Rails plugin, put a gravatar_for_email in a few views and few lines of css to style them.

RE: How to add gravatar into my account? - Added by Eric Davis about 16 years ago

Wynn Netherland wrote:

I'm not sure the best approach. To do it as a plugin, we'd need to add a few very surgical view_hooks anyway. It might be better to submit a patch that bascially had a global switch to turn them on/off? What do you think?

You might be right, there might be too many hooks for it to be a good plugin. I'll take a patch if it's configurable and if others +1 it.

I basically dropped in the gravatar Rails plugin, put a gravatar_for_email in a few views and few lines of css to style them.

Same here, just a lot less lines of CSS than you. :)

Eric

RE: How to add gravatar into my account? - Added by Eric Davis about 16 years ago

I went ahead and pulled in Wynn's code from GitHub and committed it for #1776. The CSS could probably use a bit of cleaning up from a designer though.

Eric

    (1-8/8)