Loading...
 
Show the distribution of users among groups

Plugin Group Stat

Introduced in Tiki4

This wiki plugin is used to show the distribution of users among a list of groups.

Parameters

Introduced in Tiki 4.
Go to the source code

Parameters Accepted Values Description Default Since
(body of plugin) Title
groups Groups, separated by ":". If empty, all groups will be listed. 4.0
percent_of groups
site
Show percentage out of all users in site, or just those specified in the groups parameter. groups 8.0
show_bar (blank)
y
n
Represent the percentage of total users that are members of each group in a bar graph (default is not to show the bar graph) n 4.0
show_percent (blank)
y
n
Show the percentage of total users that are members of each group (percentages are shown by default) y 4.0

Examples

Using percent of site users

This code:

Copy to clipboard
{groupstat percent_of="site"}

Would produce on this site:

Group Name Number of Users Percentage of Total
Admins 27 0.24%
DocContributors 10 0.09%
DocTwoAdmins 17 0.15%
DocTwoEditors 12 0.10%
Team Developers 346 3.02%

Screenshot

Here's a screenshot of an example listing showing numeric percentages:
Image


Created by sylvie. Last Modification: Wednesday 07 August, 2019 09:04:42 GMT-0000 by Yves Kipondo.