Ask Your Question

How to use an alternative gravatar server?

asked 2014-02-28 12:50:00 -0600

michas's avatar

updated 2014-02-28 14:28:29 -0600

We have a local Confluence with "Confluence Avatar Server" installed.

This works exactly like gravatar but serves the avatars configured in confluence: With gravatar you use an URL like "htttp://" - With Confluence you use a URL like "htttps://". The hash is computed exactly the same way.

Is there an easy way to tell Askbot to use the avatars from confluence instead of gravatar?

A quick scan through the source shows multiple occurrences of "". Would it be possible to extract the ""htttp://" part into a variable and make it configurable?

This way I could simply set it to "htttps://" to get the avatars from confluence.

edit retag flag offensive close merge delete


Sorry for the "htttp" part. I don't have enough karma to write it correctly.

michas's avatar michas  ( 2014-02-28 14:29:25 -0600 )edit

Can anyone of your users/admins suggest an implementation and make a pull request?

Evgeny's avatar Evgeny  ( 2014-02-28 14:38:06 -0600 )edit

pull request sent.

michas's avatar michas  ( 2014-03-01 10:54:31 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2014-02-28 13:32:07 -0600

Evgeny's avatar

updated 2014-02-28 13:58:26 -0600

Currently the gravatar URLs are hardcoded and there is no support for alternatives. What is the form of the avatar URL and what is the method to calculate the avatar address in Confluence?

edit flag offensive delete link more


I am currently using the avatars from, but I would like to use the avatars served by our local Confluence. The URLs are constructed the same way. See the updated question.

michas's avatar michas  ( 2014-02-28 13:54:12 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2014-02-28 12:50:00 -0600

Seen: 1,763 times

Last updated: Feb 28 '14