Page Comment Locking allows forum topics to be locked preventing comments from being added, edited or removed. This functionality is implemented user servlet filters, blocking access to the default Confluence comment actions.
Unfortunately while the comment actions can be blocked there is no way for a plugin to prevent the links to those actions from being displayed without theme modifications. Therefore when you are considering enabling this functionality you should also consider some of the theme modifications mentioned below.
Comment locking can enabled from the Confluence adminustration console.
On the Page Locking Configuration page you can select to enable or disable page comment locking, and choose the permission that users require to be able to lock and unlock pages.
If the allow space override option is selected, Space Administrators will be able to choose the permission required to lock pages in their space.
While the plugin can prevent the comment actions being used, it can't actually get rid of the links to those actions. To create a better user experience some theme modifications should be considered to hide the comment links when a page is marked as being locked.
By default the plugin ships with a servlet filter which prevents the comment edit boxes from appearing on a page. This doesn't actually remove the links to add a comment, but when these comment links are clicked on will prevent the edit area being displayed.
If you are using a theme that supports Custom HTML (such as default Confluence theme or Options Tab.), you can add the script to the "End of <body>" section of Custom HTML (found in Confluence's main Administration Console). If using Theme Builder, make sure you have not disabled the Custom HTML features on the
This script will hide the comment links based on the presence of the Comments Locked menu item under the Add menu. This should go at the of the html body to make sure every thing else has loaded before it executes.