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

Hide user's real name in Confluence comments?

Robert Hall June 6, 2013

I have a client requirement to hide or obfuscate user's names in comments on Confluence pages. Wondering if this is possible with a plugin or possibly modifying vm files in confluence itself ?

5 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

2 votes
Renjith Pillai
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.
June 6, 2013

If a quick hack, you can add this to your space header and get rid of the user-logo and the username

AJS.$('.comment-header').remove();

AJS.$('.comment-user-logo').remove();

MatthewC
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.
June 6, 2013

snap! sort of..... jquery to remove the data from the DOM or get the browser to hide it.

Both solutions have the same strength & weaknesses. The data is still there for those that want to dig deep enough.

1 vote
Robert Hall June 7, 2013

Thanks for the suggestions. I modified a specific velocity template (comments.vmd in <confluence-install-dir>/confluence/decorators/components and it worked. A comments now have 'Customer' as the author.

1 vote
MatthewC
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.
June 6, 2013

There is one way you could without a plugin, it's not 100% effective as the name is still in the source of the page, but you could use CSS to hide the name.

.comment-header h4.author {
visibility: hidden;
}
.comment-user-logo {
visibility: hidden;
}

and some links on how to get the CSS in there

https://confluence.atlassian.com/display/DOC/Styling+Confluence+with+CSS

1 vote
Ellen Feaheny [AppFusions]
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.
June 6, 2013

Yes, it would be possible with a custom plugin. I do not know of one that is available otherwise..

We could help you with this if needed - info@appfusions.com

0 votes
UdayK
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.
June 6, 2013

We can do it by changing the vm files. If you want i can try for you- uday.madigatla@gmail.com

MatthewC
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.
June 6, 2013

That would affect every space in Confluence, maybe a bit wide reaching?

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

TAGS
AUG Leaders

Atlassian Community Events