inlineACL Content Plugin PluginExtension Specific Addon

The functionality of this plugin is similar to the RokAccess mambot. The access to your articles or even a part of them can be hidden/shown for the users of your site. You can allow/disallow the access by user IDs, user names or Joomla! groups by entering the appropriate details into the tags. This plugin can be used with Community Builder as well: when you specify a CB field name in the plugin parameters, then the content between the tags will be visible/invisible if the value of the user is available in the list.

The usage of the plugin is very easy:

* {iACL type=userid 1,62,84}Your text{/iACL} - the content between the tags is visible only for the user with the specified IDs. The ID of the unregistered users is 0!
* {iACL type=!userid 1,62,84}Your text{/iACL} - the content between the tags is invisible for the users with the specified IDs. The ID of the unregistered users is 0!
* {iACL type=username admin,username}Your text{/iACL} - the content between the tags is visible for the users with the specified usernames.
* {iACL type=!username admin,username}Your text{/iACL} - the content between the tags is invisible for the users with the specified usernames.
* {iACL type=group author,guest}Your text{/iACL} - the content between the tags is visible for the specified groups only. Possible values are: guest, registered, author, editor, publisher, manager, administrator, super administrator, special
* {iACL type=!group author,guest}Your text{/iACL} - the content between the tags is invisible for the specified groups. Possible values are: guest, registered, author, editor, publisher, manager, administrator, super administrator, special
* {iACL type=cbfield value1,value2}Your text{/iACL} - please specify a real Community Builder field name in the parameters of this plugin. The content between the tags is visible if the value of the user is available in the list. This way you can create any number of user groups
* {iACL type=!cbfield value1,value2}Your text{/iACL} - the content between the tags is invisible for the groups specified in the above option

Report

I was looking for a simple mechanism to password protect article pages. After trying external php programs that were called with countless modules that wrapped php tags (some worked but were clunky), I found this.

The plug-in worked as soon as you enable it in the plug-in management area but you also have to make sure the Access Level in the Configuration Detail of the plug-in is set to "Registered" or the plug-in will only disable content and not allow the intended user(s) to see the content. This is undocumented but seems to work...

Again, great plug-in... Exactly what I was looking for...
bycraude on October 26, 2008
Great idea for a plugin, unfortunately on a clean 1.5.7 installation the text gets hidden but does not appear when the related user is logged in. The developer does not respond to emails. Looks like that plugin is dead already, that's a pity!
byDirkums on September 3, 2008
Good install, activate and it goes. Tried a few others. this is really one of the best. Requires tags in the content, but allows part of a page to be behind a log in which is much better than getting a 403 or similar. Thanks for the extension. Using it on 1.5.4