Home > struktur > English > special tags > module tags > modul userlist > Userlist/Usergroup tags
Eine neuere Version dieses Facts existiert bereits.. (anzeigen:)
Userlist/Usergroup tags
 

This module can be used with any of the two names userlist or usergroup, which doesn't change its functionality. The module makes it possible to create a list of users. It can either display all users from a specific group, or display all online users.


The following tags can be used in order to display a list of users with specified details:

 

  • <linkto>...</linkto>

     

    The tag creates a link to the user profile pop up. It can be used in combination with the tags username , firstname , lastname as surrounding  them.

     

    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/>.


  • <username/>

     

    With the help of this tag you can set the username to be displayed.

     

    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/>.

     

     


  • <firstname/>

     

    With the help of this tag you can set the first name of the user to be displayed.

     

    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/>.


  •  

    

    <lastname/>

     

    With the help of this tag you can set the last name of the user to be displayed.

     

    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/>.

     


  •  <email/>

     

    This tag displays the email of a user .

     

    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/>.


  • <company/>

     

    With this tag the specified company in the user's settings can be displayed.

     

    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/>.


  • <ul_platformid/>

     

    The above tag returns the id of a platform on the server.

     

    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/>.

     


  • <ul_platformname/>

     

    The above tag returns name of a platform on the server.

     

    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/>.


  • <can_ping>...</can_ping>

     

    The text inside the tag will be displayed only if the user has set that he wants to receive ping messages in his Settings.

     

    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/>.


  • <pinglink>...</pinglink>

     

    The above tag creates a link to the ping pop-up, from where you can send a message to a user.

     

    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/>.


  • <notificationsenabled/>

     

    If the user's notifications in Settings are enabled, then "YES" will be displayed, if not - "NO".

     

    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/>.


  • <padminnotificationsenabled/>

     

    If the user has set that he wants to receive the Padmin notifications, then "YES" will be displayed, if not - "NO".

     

    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/>.


 

Example  that shows most of the funcinality in the usersonline module:


<html><advancedparser/>
<loadmodule userslist/>

<table border=1 cellpadding=2 cellspacing=0>
<tr>
  <td NOWRAP><b>Username</b></td>
  <td NOWRAP><b>first & lastname</b></td>
  <td NOWRAP><b>e-mail</b></td>
  <td NOWRAP><b>Company</b></td>
  <td NOWRAP><b>Logged on platform</b></td>
  <td NOWRAP><b>Ping</b></td>
  <td NOWRAP>Is notifications enabled?</td>
  <td NOWRAP>Is System notifications enabled?</td>
</tr>
<foreach userslist usersonline="1" wholeserver="1">
<tr>
  <td NOWRAP><linkto><b><username/></b></linkto></td>
  <td NOWRAP><b><firstname/> <lastname/></b></td>
  <td NOWRAP><a href="mailto:<email/>"><email/></a></td>
  <td NOWRAP><company/></td>
  <td NOWRAP><a href="/p/<ul_platformid/>/"><ul_platformname/></a></td>
  <td NOWRAP><can_ping><pinglink>ping</pinglink></can_ping></td>
  <td NOWRAP><notificationsenabled/></td>
  <td NOWRAP><padminnotificationsenabled/></td>
</tr>
</foreach>
</table>

</html>


Metainfo:
AutorIn: factline Webservices GmbH; Copyright: factline Webservices GmbH; Publiziert von: Ivo Marinov (factline3)
factID: 1494757.3 (...Archiv); Publiziert am 03 Aug. 2010 15:59
 
Verknüpfungen:
 
Verweis(e) (2):
Module tags24 Nov. 2010
Use of Userlist 22 Nov. 2010