Name: Easy Content Restriction - Version: 3.5.0-FREE / 3.7.1-PRO - Type: Plugin - License: GPLv3
Description: Protects content in articles with a special syntax from specified user groups or a password
Overview of all downloads of the extension: ECR - Easy Content Restriction Downloads
If you use ECR - Easy Content Restriction, please post a rating and a review at the Joomla! Extensions Directory.
Protects content in articles with a password or only displays it to approved user groups
Plugin: ECR - Easy Content Restriction
Function: With this plugin you can protect your content easily from being loaded by unauthorized users
Languages: English and German
Joomla! versions: 3.x
With this plugin you can hide text in your articles with a password or from specified user groups with a simple syntax call directly in the articles. Special features are the unusual syntax use (square brackets) and the Safe Mode to avoid hidden text to be showed in other components (e.g. search component). Because the typical plugin syntax is removed in calls from the outside, the plugin does not use curly brackets. In the Safe Mode the whole article is replaced with an empty string if ECR detects a call from outside the content component of an article which uses the plugin.
Features
- Global Password Protection (PRO)
- Protection for frontend, backend or both (PRO)
- Protects content in articles (FREE) / Protects content on the entire website (PRO)
- Password Mode - Protect your content with a password! No user account required to load the content - just the correct password
- Easy syntax to call the plugin:
[ecr]YOUR TEXT[/ecr]
- Safe Mode: Content protection not only in the article view
- Specify the allowed or disallowed user groups
- Specify allowed users using their IDs
- Set an individual replacement text
- Languages: English and German
Installation
Install the plugin in the backend, then adjust and publish it in Extensions -> Plugins -> Content - ECR - Easy Content Restriction.
Content Protection
Password Mode
In this mode you can protect the content with a password, no user account is required to load the content - just the correct password.
[ecr|password=XXX]Hidden text[/ecr]
Replace XXX with a self-defined password, e.g. asdf?!*#123
Standard Mode
In the standard mode only global parameters from the settings are used in the execution of the plugin.
[ecr]Hidden text[/ecr]
Override Mode
IDs for groups which are allowed to access the hidden text
[ecr=8,5,3]Hidden text[/ecr]
You can also toggle the permission rights! IDs for user groups which are not allowed to access the hidden text
[ecr=8,5,3|toggle]Hidden text[/ecr]
The replacement text for groups with no permission can also be set individually
[ecr|You have to login to see the text!]Hidden text[/ecr]
Of course you can use all parameters together at once
[ecr=8,5,3|toggle|You have to login to see the text!]Hidden text[/ecr]
Note: Use plg_content_easycontentrestriction in the free version instead.
Global Password Protection (PRO)
You may enable global protection for the complete website. In this mode, the plugin stops the execution of the application and shows a password input field. Visitors have to enter the global password to be able to load the content of the website.
Changelog
Joomla! 3.x
Version 3.7.1-PRO - 2021-02-10
- ^ Added some additional type checks for core trigger events since many 3rd party extensions call them incorrectly with wrong types, leading to errors as ECR uses strict types internally.
Version 3.7.0-PRO - 2021-01-25
- + Global Syntax Protection - With this option, the content syntax is checked in the complete HTML output code, not only in the content component. Thus you may protect parts of the content on the entire website, e.g. in 3rd party components or modules.
Version 3.6.1-PRO - 2021-01-07
- ^ Maintenance release
- ^ Updated language files and custom field
- ^ Code optimisations
Version 3.5.0-FREE - 2020-03-12
- First release with increased technical requirements: Increasing Technical Requirements - Joomla! Core & PHP for Pro & Free Extensions
- + Multilingual Replacement Text - You may use a language override constant to allow a multilingual output in the option "Replacement Text"! Enter a self-defined constant into the option field in the settings of the plugin and then create your translations for this constant in Joomla!'s Language Manager.
- + New option: Allowed Groups - Password Mode - User groups that are allowed to access the hidden text without a password if the Password Mode is used.
- ^ Code Optimizations
- ^ Updated Language Strings
- ^ Updated Custom Fields
Version 3.6.0-PRO - 2020-03-11
- First release with increased technical requirements: Increasing Technical Requirements - Joomla! Core & PHP for Pro & Free Extensions
- + Global Password Protection - You may enable global protection for the complete website. In this mode, the plugin stops the execution of the application and shows a password input field. Visitors have to enter the global password to be able to load the content of the website.
- + New option: Global password
- + New option: Execution location - Enables the password protection in the frontend, backend or both
- ^ Changed plugin type from "content" to "system"
Version 3.5.2-PRO - 2019-09-22
- + New option: Allowed Groups - Password Mode - User groups that are allowed to access the hidden text without a password if the Password Mode is used. Thanks for the request to Meschkam!
Version 3.5.1-PRO - 2019-08-16
- + Multilingual Replacement Text - You may use a language override constant to allow a multilingual output in the option "Replacement Text"! Enter a self-defined constant into the option field in the settings of the plugin and then create your translations for this constant in Joomla!'s Language Manager. Thanks to Stefan O. B. for this suggestion!
Version 3.4.3 - 2019-06-23
- + Custom Field - Pro Button
- ^ Updated project page URL
Version 3.5.0-PRO - 2019-04-28
- + First Pro release based on ECR version 3.4.2
Version 3.4.2 - 2018-07-26
- ^ Changed replacement function to improve performance and avoid limit error "regular expression is too large at offset x" if the article text is too long - Thanks to Kirstin G. for reporting it!
- ^ Updated Custom Field
- ^ Code Style Optimization
Download
Overview of all downloads of the extension: ECR - Easy Content Restriction Downloads