Forgot?

Ninja Access Plugin

Ninja Access - Plugin allows you to hide or show portions of content depending on the access level of the viewer.

It is useful for selectively hiding content from different users, such as hiding ads from administrators and subscribers. Or hiding valuable content from un registered users while still allowing access to those with a specific groupid.

This plugin is used extensively throughout this site to restrict  access to specific content to certain groups.

This extension is designed to work in conjunction with other ACL extensions such as JACL Plus or noixACL. It will operate with just the default Joomla groups, but you cannot create new groups via this extension.

 

Documentation

Please note that a space has been inserted into the second position in the activation tags in the examples below to stop them being parsed by the plugin. It has been highlighted in blue. Remove this space when you wish to use the bot yourself.

{ njaccess groupid[,groupid]}...some content...{ /njaccess}

One or more group ids should be passed in seperated by commas.
These id's are checked individually and not recursive so you need to enter child groups as well if you want them to have access.
Accepts groups made in JACL as well as default Joomla! groupids.

Default Joomla Groupids:
  • 0 - Guest
  • 18 - Registered
  • 19 - Author
  • 20 - Editor
  • 21 - Publisher
  • 23 - Manager
  • 24 - Administrator
  • 25 - Super Administrator

Usage Example


{ njaccess 0}shows only to guest users{ /njaccess}
{ njaccess 18,19,20,21,23,24,25}shows to all users who are not a guest{ /njaccess}
{ njaccess 24,25,30,31}shows to administrators and 2 custom groups (created in JACL - groupids are examples only){ /njaccess}
Home Extensions Ninja Access Plugin