Hiding “Start New Discussion” Button on Forum


The Forum offers a message board where users create discussions on various topics. When you want to control the topics discussed, it’s helpful to prevent members from creating new discussions. We offer the ability to hide the “Start New Discussion” button for a given board with CSS or by removing the permission to “Add Discussion” for a role.

To hide the “Start New Discussion” button, follow these instructions:

  1. On the front-end, go the Forum and find the Forum whose “Start New Discussion” button you want to hide.
  2. In the URL for the Forum, find the Board ID; the number after the Forum’s title, i.e. “19”.
  3. Go to Admin then choose Design in the top menu and go to CSS in the left menu.
  4. Add the following code:     [data-board-id="Board ID"] .add-discussion-box {display: none !important;}
  5. Replace Board ID with your specific Board ID.

The link to “Start New Discussion” will remain active. The link can be found in the “a href” element and looks like “https://*.cmnty.com/discussion-board/boards/1/discussions/create” for the Overview page and “https://*.cmnty.com/discussion-board/Your-Discussion-19/discussions/create” for the Board page.

If you want to make sure members cannot create discussions at all in Forum, you can turn the permission off on a role basis.

To turn off permission to add discussions:

  1. Go to Configure in the top menu of Admin.
  2. Under User in the left menu, click Permissions.
  3. Follow the Member column until Forum.
  4. Click off the Add Discussion feature and Save.

Now on the front-end, view the Discussion as a member and see the button is gone. If you use permissions instead, you do not need to hide button with CSS.

As a final option, we allow closing a Board to prevent new Discussions and comments.

To close a Forum follow these steps:

  1. Go Edit the Discussion Board in Admin.
  2. Under Discussion Board Settings, find Closed.
  3. Set to On.