Home > Structure > English > special tags > module tags > modul userlist > foreach userslist

foreach userslist
 

<foreach userslist>....</foreach>

 

The <foreach> loop is used to surround a block of html that should be repeated in order to get full list of data. Inside that block the special tags will be replaced with data from the user that is being showed.

 

Used Parameters:

  

  • groupid="value" 

The required value is the groupid defined in Sadmin/Padmin.

 

  • orderby="value"

The value can be: 

- usgrid: id of the user group

- username

- firstname

- lastname

- email

 

 Please, note: "orderby" can be used only in combination with "groupid"

 

  • usersonline="1"

If this parameter is specified, only the users that are online will be diplayed.

 

  • wholeserver="1"

If you set this parameter with value 1, then users from the whole server will be displayed.

 

 

Examples:

 

 

<foreach userslist usersonline="1" wholeserver="1" >....</foreach>

 

<foreach userslist groupid="345678" orderby="lastname">....</foreach>

 

info3 - 125057.2

You can use this tag only in html mode and at the very beginning of the html text you should type <advancedparser/>followed by the tag <loadmodule userlist/> or <loadmodule usergroup/>.




Metainfo:
Author: factline Webservices GmbH; Copyright: factline Webservices GmbH; Published by: Ivo Marinov (factline3)
factID: 1494768.7 (...history); published on 26 Aug. 2010 12:41
 
Shortcuts:
Structure  >  English  >  special tags  >  module tags  >  modul userlist 
 
Referers (1):
Userlist/Usergroup tags19 Aug. 2010factinclude