History: Module users_list
Source of version: 12
Copy to clipboard
!Module users_list Former version in mods.tiki.org, and ported to ((Tiki12)).1. Display a list of users !!Usage in a wiki page {CODE()} {MODULE(module=users_list, login=y, group=Teachers) /} {CODE} !!Parameters ||Parameter|Value|Description| |Default|tw login|y or n|Show the user name|Optional|y|tw>=1.9 realName|y or n|Show the user real name|Optional|n|tw>=1.9 lastLogin|y or n|Show the last login date|Optional|n|tw>=1.9 groups|y or n|Show the direct and included groups a user belongs to|Optional|n|tw>=1.9 avatar|y or n|Show the user avatar|Optional|n|tw>=1.9 userPage|y or n|Show a link to the userPage|Optional|n|tw>=1.9 log|y or n|Show a link to the user logs(feature actionlog must be activated|Optional|n|tw>=1.10 group|a group name|Show only the users of the group|Optional| |tw>=1.9 includedGroups|y or n|Show only the users of the group ''group'' and of a group including ''group''|Optional|n|tw>=1.10 initial|a letter|Show only the users whose name begins with the letter|Optional|tw>=1.9 heading|y or n|show the table heading|Optional|y|tw>=1.9 sort_mode | login_asc, login_desc, email_asc, email_desc | Sort users using this value | Optional | login_asc | tw>=12.3, 13.2 || Notice: if you do not display the login but the real name and if the realname is empty, the login will be displayed. !!Example {CODE(ln="1")} {MODULE(module=users_list, group=Students, includedGroups=y, avatar=y, groups=y, realName=y, log=y, userPage=y, sort_mode=login_asc)}{MODULE} {CODE} {img src="img/wiki_up/mod-users_list.gif" }