Profile Picture on Dashboard

Hi,

maybe it's an little problem, but i cant't find a beautyful solution.

We decide to show !only! the profile pictures of our administrators on the left side of the dashboard in confluence. There is an text area (welcome message) in den Administration Console / General Configurations. The user profile Plugin (syntax={profile:user=mrtest|}) works fine on the dashboard, but we won't show all the informations about the profile. We want to insert the profile picture Plugin with it's hover-function on dashboard. Does anybody knows the right syntax to insert this plugin in the welcome message area on dashboard???

Thanks for all answers

6 answers

1 accepted

This widget could not be displayed.

Writing user macros is no sorcery. Look here for more information: https://confluence.atlassian.com/display/DOC/Writing+User+Macros

This widget could not be displayed.

Hi,

I haven't found anything on how to access the profile-picture macro directly via wiki markup. But I succeeded in writing a user macro, that inserts the profile picture of a selected user using the profile-picture macro.

## @param User:title=User Name|type=string|desc=Specify the Confluence User Name.|required=true

<ac:macro ac:name="profile-picture">
    <ac:parameter ac:name="User">$paramUser</ac:parameter>
</ac:macro>

On the dashboard, I inserted this self-made macro using wiki-markup as follows:

{own-profile-picture-macro:User=<confluence user name>}

This worked with our Confluence installation - the picture was displayed.

Cheers,
Kirstin

Hi Kirstin,

thank you for posting your user macro code + syntax. Maybe we going to try your user-macro, but its the first time we use a user-marco and i have to inform myself how i create a user macro ;)...

I got an answer from atlassian support why "profile-picture-macro" doesn't work on dashboard:

I'm sorry to inform you that it is currently not possible to add profile picture macro into the "welcome message". This is because the "welcome message" still uses wiki-markup storage format which is no longer supported by new macro created after Confluence 4.1. New macro such as profile picture uses XHTML storage format. I will raise a feature request to developer that suggest them to allow "welcome message" to support the XHTML format if that is fine with you.

Kind regards,

Ramin


This widget could not be displayed.

Are you referring to Profile Picture Macro?

This widget could not be displayed.

The informations in the Profile Picture Macro documentations doesn't have any solution for my problem.

I'm sorry if it doesn't helped. You were saying that you want to edit the Welcome Message on dashboard, no?

First of all.. Thank you for helping me to find a solution...

It's correct, we want to edit the Welcome Message on Dashboard. We inserted teh "Profile marco" and it works fine, but it shows too much infortmations about any user. We want to insert the "Profile Picture macro" on dashboard, but can't find the right syntax for it (because the welcome-message-editor doesn't support macro/plugin-autocomplete-function like the normal confluence page-editor).

Maybe you know the right syntax for "Profile Picture macro" to insert it on dashboard/welcome message area.

Thanks

because the welcome-message-editor doesn't support macro/plugin-autocomplete-function like the normal confluence page-editor

I am curious on why this could happen. Perhaps you can share ?

Sorry, can't share it. But maybe i can explain it in a way better than my last description: You know the Welcome Message Area in Administration Configuaration Settings? When you start typing {profile... there isn't a popup (autocompletefunction) for plugin or macro selection avaible.

So what i really want to know is the right name of the "Profile Picture macro" to insert it manually like {<macroname>:user=<name>}

Thanks

This widget could not be displayed.

Sorry, can't share it. But maybe i can explain it in a way better than my last description: You know the Welcome Message Area in Administration Configuaration Settings? When you start typing {profile... there isn't a popup (autocompletefunction) for plugin or macro selection avaible.

So what i really want to know is the right name of the "Profile Picture macro" to insert it manually like {<macroname>:user=<name>}

Thanks

This widget could not be displayed.

Hi Kirstin,

with your help i created a user macro:

    1. Picture Macro for Dashboard
    2. @param User:title=User Name|type=string|desc=Specify the Confluence User Name.|required=true

<ac:macro ac:name="profile-picture">
<ac:parameter ac:name="User">$paramUser</ac:parameter>
</ac:macro>

Works fine
Best Regards
Ramin

Nice to hear, you were successful, Ramin. :)

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

258 views 2 4
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you