HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Hide Comments 1.0.1

Allows users to hide comments within a discussion.


HideComments plugin for Vanilla Forums Version: 1.0.1

Allows for users to hide specific comments within a discussion. The hide preference is saved and subsequent views will show a collapsed comment that can be expanded again.

Change Log

  • 1.0.0 - Initial Release
  • 1.0.1 - Added checks for roles

Version 1.0.1 Note By default, this plugin will not let users hide comments from Moderators and Administrators. To override this, place this line in your config.php: $Configuration['Plugins']['HideComments']['NoHideRoles'] = 'A,comma,separated,list'; Use role names as they are defined in your forum configuration.

Developed on Vanilla Forums 2.1.9 May work on earlier versions, but they have not been tested.


p>Note: A recently patched bug in global.js caused strange issues with this plugin when used with certain themes (such as Baseline). You can find the updated version of global.js here: https://raw.githubusercontent.com/vanilla/vanilla/master/js/global.js
Simply copy the new version over your old global.js file in the /root/js folder.

I welcome any feedback!

This plugin is released under GPL v2. See header for more information.

To install the latest version from GitHub: git clone https://github.com/xorith/HideComments.git HideComments