Home > Structure > English > special tags > module tags > module latestchanges > foreach latest changes
A newer version of this fact exists. (view)
foreach latest changes
 

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

 

The <foreach> loop is used to surround a block of html that should be repeated for every row in the list of results of latest changes. 

 

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: 1504201.1; published on 25 Aug. 2010 13:53
 
Shortcuts:
 
Referers (2):
Latestchanges Tags29 Nov. 2010
Latestchanges Tags29 Nov. 2010