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
Writing user macros is no sorcery. Look here for more information: https://confluence.atlassian.com/display/DOC/Writing+User+Macros
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kirstin,
with your help i created a user macro:
<ac:macro ac:name="profile-picture">
<ac:parameter ac:name="User">$paramUser</ac:parameter>
</ac:macro>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Nice to hear, you were successful, Ramin. :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The informations in the Profile Picture Macro documentations doesn't have any solution for my problem.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm sorry if it doesn't helped. You were saying that you want to edit the Welcome Message on dashboard, no?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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 ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Are you referring to Profile Picture Macro?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.