<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:
The required value is the groupid defined in Sadmin/Padmin.
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"
If this parameter is specified, only the users that are online will be diplayed.
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>
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/>.
|