Loading...
 

Plugin USERINGROUP

Introduced in Tiki15 and backported to Tiki 12.5 and Tiki14.2

Use this wiki plugin to check whether a specific userId is in a designated Group and display defined text for either case.

Table of contents

Parameters

Introduced in Tiki 15. Required parameters are in bold.
Go to the source code
Preferences required: wikiplugin_useringroup

Parameters Accepted Values Description Default Since
testgroup text the Group that the userId check is made against 15.0
userId text the userId to be checked 15.0
falsetext text The text that is displayed if the test result is false false 15.0
truetext text The text that is displayed if the test result is true true 15.0


Example

This code:

{useringroup userId="admin" testgroup="Registered" truetext="the user IS in the Group" falsetext="the user is NOT in the Group"}

Would produce on this site:

the user IS in the Group

List Slides