Additional Info
Type
Package ID
kelvincool:hidecontent
First Created
December 19, 2014, 12:01:20 PM
Last Updated
May 30, 2022, 07:05:39 AM

Hide Content v2.1.0 Hooks only

Provides the ability to hide certain parts of a post based on a number of specified criteria.
Compatible With 2.0.9, 2.0.10, 2.0.11, 2.0.12, 2.1.1, 2.1.2
Latest version v2.1.0
Downloads 2,789
Reviews 0
Rating 0/5
Subscribers 18
License MIT License (View License)
Author(s)
Hide Content


Hide Content provides the ability to hide certain parts of a post based on a number of specified criteria.

Requirements

This mod requires PHP 7.4.10 or above.

This mod will not work without Javascript, it has been tested in Firefox 99, Chrome 100.0.4896.127 and IE Edge 101.0.1210.32.

Out of the Box

By default, the following plugins are available to use:
  • Hide By Post Count - restrict content to be viewable to users who have equal or greater post count required.
  • Hide By Login - restrict content to be viewable to logged-in users only.
  • Hide By Group - restrict content to be viewable to users belonging to a specified group, please note you can select multiple groups with this plugin, it will act as an OR condition for each group.

Extensible

This mod is written to be extensible by other mods, the above plugins are all written this way. Writing a plugin for this mod is just a case of implementing some hooks, please see the above plugins for example code.

Say Thanks now supports this mod.

Additional Notes and known limitations

  • Admins and moderators with required permissions can view any content without restriction
  • You cannot quote hidden content
  • The hide tag is not designed to be nested inside another hide tag
  • The permissions only hides the BBC button, the permissions do not stop the functionality working
  • If the original poster does not meet their own requirements they will also not see the content, however they can still edit the post.

Translation Credits
Turkish - gevv

Resource Credits

Hidden icons created by Freepik - Flaticon
1.x.x Icon courtesy of Yusuke Kamiyamane (http://www.iconfinder.com/icondetails/26317/16/exclamation_eye_view_alert_warning_icon)
1.x.x Base for modal window http://www.the-art-of-web.com/javascript/feedback-modal-window/

Support

Support for this modification can be found in the support topic.



This work is licensed under a Creative Commons Attribution 3.0 Unported License
HideContent_2.1.0.zip
17.06 KB v2.1.0 2.1.2
Manual installation info
You have to register or login to be able to leave a review
There are currently no reviews on this customization
Advertisement: