Module users_list
Former version in mods.tiki.org, and ported to Tiki12.1.
Display a list of users
Parameters
Display a list of users with optional extra information from each.Go to the source code
Preferences required: feature_wiki
Parameters | Accepted Values | Description | Default | Since |
---|---|---|---|---|
group |
word | Show only the users of the group. Possible values: Groupname | n | |
groups |
word | Show the direct and included groups a user belongs to. Possible values: y|n | n | |
includedGroups |
word | Show only the users of the group group and of a group including group. Possible values: y|n | n | |
lastLogin |
word | Show the last login date. Possible values: y|n | n | |
log |
word | Show a link to the user logs(feature actionlog must be activated). Possible values: y|n | n | |
login |
word | Show the user name. Possible values: y|n | y | |
avatar |
word | Show the user profile picture. Possible values: y|n | n | |
realName |
word | Show the user real name. Possible values: y|n | n | |
sort_mode |
word | Sort users in ascending or descending order using these values: login_asc, login_desc, email_asc, email_desc. | login_asc | |
userPage |
word | Show a link to the userPage. Possible values: y|n | n | |
heading |
word | Show the table heading. Possible values: y|n | y | |
initial |
word | Show only the users whose name begins with the letter. Possible values: a letter | n |
Usage in a wiki page
Copy to clipboard
{MODULE(module=users_list, login=y, group=Teachers) /}
Notice: if you do not display the login but the real name and if the realname is empty, the login will be displayed.
Example
Copy to clipboard
{MODULE(module=users_list, group=Students, includedGroups=y, avatar=y, groups=y, realName=y, log=y, userPage=y, sort_mode=login_asc)}{MODULE}