Module users_list
Version précédente de mods.tiki.org, et portée vers Tiki12.1.
Affiche une liste d'utilisateurs
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 |
Utilisation dans une page wiki
Copy to clipboard
{MODULE(module=users_list, login=y, group=Teachers) /}
Remarque : si vous n'affichez pas l'identifiant mais le nom réel et si le nom réel est vide, alors l'identifiant sera affiché.
Exemple
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}