Hi Bryan,
If you want the creator of the current page that the user macro is on then you can use:
$content.getCreatorName()
in your user macro. Is that what you wanted?
Andrew.
UPS !!! doesn't work on production server. I test it on the developer server and work but on production server doesn't work... I need to use that with Bubbles community plugin. THNX !!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Could you post the contents of your macro here and I'll have another look? Also, is it the creator of the current page you want, or the creator of a page listed by one of the Bubbles macros?
Thanks,
Andrew.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ah, ok. If you use Tools -> Info on the forum root page and make a note of the pageID you could use something along the lines of:
#set ( $forumRoot = $pageManager.getPage(589833) ) <ul> #foreach ($topic in $pageManager.getDescendents($forumRoot)) <li>Topic = $topic.getDisplayTitle(), Creator = $topic.getCreatorName()</li> #end </ul>
where 589833 is the pageID of the root page I searched from in the above example.
It loops through all the child pages of the root page (which is what I think topics are?) and displays the title (topic) and who created it.
Needs tweaking to fit your exact needs, but hope it helps?
Andrew.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
that looks awesome... but is not that I need... Only I need to display the creator profile inside the topic, something like
$content.getCreatorName() but inside bubbles forum... :S this parameter doesn't work in bubbles... show:
com.atlassian.renderer.v2.macro.MacroException: No user $content.getCreatorName()
|
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm confused. Where are you entering $content.getCreatorName() ? Could you post the contents of your user macro or macro parameters on this thread?
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.