Loading...
 
Skip to main content

History: PluginGroup

Source of version: 31 (current)

Copy to clipboard
            ! Plugin Group
Use this ((wiki plugin)) to display content based on the user's ((groups)) or friends. It is similar to (related(PluginPerm)).

!! Parameters
{pluginmanager plugin="group"}
!!! Notes on usage
* The -+{ELSE}+- part is optional.
* The -+groups+- and -+notgroups+- parameters may be used at the same time.
* Groups can be included in other groups, and this can impact how this plugin behaves. For example, if you want a section to be seen by the group A and the group Admins ( -+groups="Admins|A"+- ), and not by group B ( -+notgroups="B"+- ), be careful not to include group B in the Admins group . If Admins includes A and B, Admins will not see the section.
!! Examples
!!! Basic syntax
{CODE(colors="tiki")}{GROUP(groups="Registered|Admins" notgroups="Editors")}show this content for users included/excluded from groups specified in the parameters{ELSE}otherwise show this content{GROUP}{CODE}

!! Security
Use of this plugin to hide sensitive information will not prevent it from being revealed to users with permissions to view or edit the page source. Users that have a Watch on the wiki page will receive an email with the entire wiki page source, thus revealing the information regardless whether the content would be hidden because of this plugin.

!!Related Pages
* ((Groups Management))
* ((PluginGroupList))
* ((PluginSubscribeGroup))
* ((PluginGroupExpiry))
* ((PluginMemberlist))
* ((PluginMemberPayment))
* ((PluginPerm))
* ((PluginPerspective))