Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How can I add gravatar support in Confluence?

Sorin Sbarnea (Citrix)
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 12, 2012

I have latest version of Confluence which is still a wiki (3.5.13) and I want to add gravatar support.

Does anyone have done it?

2 answers

1 accepted

1 vote
Answer accepted
Sorin Sbarnea (Citrix)
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 6, 2014

Shortly there is no Gravatar support for Confluence, even if JIRA and Bamboo do have it.

https://jira.atlassian.com/browse/CONF-19636<-- Send your votes & love here

Thiago Figueiro July 1, 2015

CONF-19636 is over 3 years old. I don't think Atlassian is going to action it.

1 vote
JamieA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 12, 2012

The easiest way IMHO is to front confluence with apache or nginx or similar, then you rewrite requests for profile pics either to gravatar or to some internal system. You will most likely need to rewrite first to your own servlet, then convert user IDs to md5's of email addresses, then you send a redirect for the gravatar image.

That's what I've done, works great, other people may have other ideas.

I may blog about it soon if of any interest. Of course, there are other ways, eg synching gravatar images to confluence pics. (But my way works across all the tools).

Georg Schmidl July 4, 2012

How do you redirect to the gravatar image if the profile pic request is /images/icons/profilepics/default.gif ?

JamieA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 5, 2012

It's necessary to modify the vm templates to make it default.gif?userId=blah. In later versions of confluence you also need to modify a soy template, rebuild and upload a plugin. I've done it and it's doable but it's a lot more hassle than when I first did it. Atlassian really need to blob on and add gravatar support to all their products.

Georg Schmidl July 9, 2012

I found a way without modifying templates and created a plugin ;) https://marketplace.atlassian.com/plugins/net.vicox.confluence.plugins.gravatar

Sorin Sbarnea (Citrix)
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 9, 2012

Nice George +1 and +10 for making open source. I already filed a bug as it doesn't work for Confluence 3.5. Please make your contribution a separate answer to the question, not a comment.

Justin Shapiro
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 25, 2012

Hmm, wonder how George's plugin plays with mine (https://marketplace.atlassian.com/plugins/com.cutlass.confluence.plugin.rest.cas). If George's works with mine and becomes configurable and I port mine to JIRA we could have the same avatar in JIRA, Confluence and Fisheye/Crucible.

Sorin Sbarnea (Citrix)
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 25, 2012

Jira 5.1 has working avatar already, still I doubt many people will upgrade to Confluence 5.x due to lose of wiki markup editing.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events