Loading...
 
Skip to main content
Display number of users for a site or one or more groups

Plugin User Count

This Wiki Plugin displays the number of users for a site, group, or multiple groups (since Tiki14.1), on the site.

Parameters

Display number of users for a site or one or more groups
Introduced in Tiki 1.
Go to the source code
Preferences required: wikiplugin_usercount

Parameters Accepted Values Description Default Since
(body of plugin) Group name. If left blank, the total number of users for the site will be shown.
groups groupname
separator: :
List of colon separated groups where a consolidated user count for multiple groups is needed. Users in multiple groups are counted only once. If left blank then the behaviour is defined by the body parameter settings. 14.1

Examples

Entire site

This code:

Copy to clipboard
{usercount}

Would produce on this site:
11498

Single group

By specifying the group Admins, the number of users in the Admins group will be displayed.

This code:

Copy to clipboard
{USERCOUNT()}Admins{USERCOUNT}

Would produce on this site:
35

Multiple groups

This code:

Copy to clipboard
{usercount groups="Admins:Team Developers"}

Would produce on this site:
353


Created by lindon. Last Modification: Wednesday 07 August, 2019 08:48:11 GMT-0000 by Yves Kipondo.