Hello,
I would like to disable comments on required page on confluence and the confluence im using is Cloud based.
I tried html macro and script inside it, which did not work, can anyone help me here.
Thanks,
Shruthi SJ
Thanks everyone for actively responding... i did manage to remove comment permission from space level itself. (Confluence Cloud)
That sounds a way to achieve what you need.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Server solution (not sure if works in cloud):
If your OK with hiding comments space wide, you can hide various elements though Space StyleSheet:
#comments-section {
display:none !important;
}
More info can be found here: https://confluence.atlassian.com/confkb/how-to-hide-elements-in-confluence-using-css-or-javascript-313458894.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
To add to this reply, if you have something like the Style macro available, you could put a single Style macro on the pages you wish to disable comments on and use the CSS proposed by Jonathan above :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
adding for readers: as of Dec 2023, Confluence server (7.19+) solve by @Jonathan Smith still works as a space-wide solution.
To note: removing comments this way does not delete them/resolve them. If you want to unhide them, simply remove the same syntax from your stylesheet:
#comments-section {
display:none !important;
}
Perfect solution for tech writers cleaning up legacy knowledge base spaces and maybe wanting to get rid of some content without removing it entirely.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@shruthi sj just in case you use Confluence server, you can check out the answer here https://community.atlassian.com/t5/Confluence-questions/Turn-Off-comments-on-specific-Confluence-page/qaq-p/298750
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @shruthi sj,
this app promises to hide various things from pages:
I haven't tried it yet.
Another option is, putting a javascript on your page like this one described here:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ah, now I see, you are on cloud. Then, my answer is wrong, sorry. The app and javascript is only possible on server instances.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Thomas,
https://marketplace.atlassian.com/plugins/de.scandio.confluence.plugins.hideelements-macro/server/overview . - This doesn't work for cloud
https://confluence.atlassian.com/confkb/how-to-disable-commenting-on-an-individual-page-695107603.html . - i have included in html macro in particular page but no luck :(
Thanks,
Shruthi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@shruthi sj i doubt you can use those plugins in cloud. html macro is restricted for security reason in cloud as far as i recall
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, HTML macro is a restricted function in Cloud.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, Shruthi.
I understand you'd like to disable comments in specific pages, however, I'm afraid this feature was already requested in times past but not resolved, as you can check below:
* [CONF-7742 - Allow comments to be disabled on a page or blog post|https://jira.atlassian.com/browse/CONF-7742].
You might want to navigate to your Space Permission and disable Add Comment permission to certain user or group.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Suren,
Thanks for the quick reply :)
I have done the same thing, remove add comment permission but this removes it from whole space.
Thanks,
Shruthi SJ
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.