Difference: UserReports (1 vs. 3)

Revision 32015-05-29 - TWikiContributor

Line: 1 to 1
 
META TOPICPARENT name="TWikiUserMappingContrib"

TWiki User Reports

Changed:
<
<
>
>
 
Added:
>
>
 This page contains user reports you can use in TWiki application. Create appealing TWiki applications in a no time!

Reports are of format %USERREPORT{ action="..." ... }%, where the action determines the kind of report. Each report supports additional parameters.

Line: 108 to 110
 
<--==============================================-->
Changed:
<
<
%user%
>
>
%user%
 
<--==============================================-->
Line: 143 to 145
 
<--==============================================-->
Changed:
<
<
%user%
>
>
%user%
 
<--==============================================-->
Line: 186 to 188
 
<--==============================================-->
Changed:
<
<
>
>
 
<--==============================================-->
Changed:
<
<
>
>
 
<--==============================================-->
<--==============================================-->
<--==============================================-->
Changed:
<
<
>
>
 
<--==============================================-->
Line: 239 to 241
 
<--==============================================-->
<--==============================================-->
Changed:
<
<
>
>
 
<--==============================================-->
<--==============================================-->
Line: 404 to 406
 }
<--==============================================-->
Changed:
<
<
>
>
 
<--==============================================-->
<--==============================================-->

Revision 22014-10-04 - TWikiContributor

Line: 1 to 1
 
META TOPICPARENT name="TWikiUserMappingContrib"

TWiki User Reports

Changed:
<
<
This page is for TWiki application developers. Include the sections on this page to show user reports with profile pictures. Create appealing TWiki applications in a short time.
>
>
This page contains user reports you can use in TWiki application. Create appealing TWiki applications in a no time!
 
Changed:
<
<
>
>
Reports are of format %USERREPORT{ action="..." ... }%, where the action determines the kind of report. Each report supports additional parameters.
 
Changed:
<
<

Section: user_list

>
>

Action: user_list

  Show a simple list of registered users. The output is a comma-space delimited sorted list of WikiWords of users (without web prefix), which can be used as input for other reports on this page.
Changed:
<
<
  • Section "user_list": Show a list of users as comma-space delimited list of WikiWords.
>
>
  • Action "user_list": Show a list of users as comma-space delimited list of WikiWords.
 
    • Parameter search: Apply filter by searching all form fields, but not the main topic text. Optional; all users are returned if missing.
    • Parameter limit: Limits the number of users returned. Optional; all users are returned if missing.
    • Parameter sort: Sort the result by the topic name, topic creation date, last modified date, last editor, or named field of TWikiForms. For details see sort parameter of SEARCH.
    • Parameter reverse: Reverse the direction of the search result
Changed:
<
<
This sections also sets a "UserReports_users" variable to the number of users found. To retrieve, write %GET{UserReports_users}%.

Usage example:

%USERREPORT{ action="user_list" search="jane" limit="5" }%

Sample output:

AliceThomas, AmyStutz, BillJohnson, BrianAndler, CSTTestUser

>
>
This report also sets a "UserReports_users" variable to the number of users found. To retrieve, write %GET{UserReports_users}%.
 
Added:
>
>
  • Set limit = 100
 
<--==============================================-->
Changed:
<
<
%SEARCH{
>
>
%SET{ "UserReports_100_users" value="%SEARCH{
  "META:FORM.*[U]serForm" web="Main" type="regex"
Line: 44 to 36
  format="$topic" separator=", " footer="$percntSET{ \"UserReports_users\" value=\"$ntopics\" }$percnt"
Changed:
<
<
}%
>
>
}%" }%AliceThomas, AmyStutz, BillJohnson, BrianAndler, CSTTestUser, CeciliaBustos, ChangjunJiao, CstcAdmin, DanielLuhr, DarekLis, DaveWoody, DavidArroyo, DominikSchleicher, DuoCao, EmilianoRasztocky, FengLiu, FranciscoGodoy, FredGuo, GaryFuller, GonzaloRojas, HiroYoshida, HuiqinZhang, JackSayers, JamesBartlett, JamieBock, JiashengHuang, JimBartlett, JinbiaoZhao, JingquanChen, JingwenWu, JinpengLi, JohnMike, JoseFuentealba, JoseVial, JunhanKim, LongCheng, LuYe, LuZhang, ManuelAravena, MattBradford, MichaelStramenga, NanyaoLu, NicolasLastra, NicolasMartinez, PedroCorrea, PedroEscarate, RafaelRodriguez, RicardoDemarco, RobertoAssef, RodrigoHerrera, RodrigoReeves, RunfuPeng, ShengCaiShi, SimonRadford, StefanoBovino, SunilGolwala, TestRecord, TonyReadhead, VicenteMontesinos, WeijieDu, YongBi, YupingTang, ZhengWang, ZhongWang
 
<--==============================================-->
Added:
>
>
 
Changed:
<
<

Section: profile_picture

>
>
Usage example:
%USERREPORT{ action="user_list" search="jane" limit="5" }%

Sample output:
AliceThomas, AmyStutz, BillJohnson, BrianAndler, CSTTestUser

Action: profile_picture

  Show the profile picture image of a user. A default image is returned in case the image is not defined in the Image form field of the user. The output is an <img /> tag that can be embedded in other tags such as links.
Changed:
<
<
  • Section "profile_picture": Show the profile picture image of a user.
>
>
  • Action "profile_picture": Show the profile picture image of a user.
 
    • Parameter user: WikiWord of user, required.
    • Parameter width: Width of image, optional.
    • Parameter height: Height of image, optional. The aspect ratio is preserved unless width and height are specified. If width and height are missing, a height of 100 pixels is used.
Line: 67 to 70
 Sample output:
TWikiGuest
Changed:
<
<
  AliceThomas   AmyStutz   BillJohnson   BrianAndler   CSTTestUser
>
>
  AliceThomas   AmyStutz   BillJohnson   BrianAndler   CSTTestUser
 

Line: 76 to 79
 
<--==============================================-->
Changed:
<
<

Section: user_sig

>
>

Action: user_sig

  Show a user signature with profile picture, optionally followed by a date or other text. A default image is shown in case the image is not defined in the Image form field of the user.
Changed:
<
<
  • Section "user_sig": Show a user signature with profile picture.
>
>
  • Action "user_sig": Show a user signature with profile picture.
 
    • Parameter user: WikiWord of user, required. Optionally followed by a date or other text.
    • Parameter width: Width of image, optional.
    • Parameter height: Height of image, optional. The aspect ratio is preserved unless width and height are specified. If width and height are missing, a height of 18 pixels is used.
Line: 109 to 112
 
<--==============================================-->
Changed:
<
<

Section: bubble_sig

>
>

Action: bubble_sig

  Show a faded comment bubble and user signature with profile picture, optionally followed by a date or other text. A default image is shown in case the image is not defined in the Image form field of the user. This is used for CommentPlugin signatures.
Changed:
<
<
  • Section "bubble_sig": Show a user signature with profile picture.
>
>
  • Action "bubble_sig": Show a user signature with profile picture.
 
    • Parameter user: WikiWord of user, required. Optionally followed by a date or other text.

In addition, a BUBBLESIG preferences setting is defined as a shortcut, so that a simple %BUBBLESIG{TWikiGuest}% can be used.

Line: 144 to 147
 
<--==============================================-->
Changed:
<
<

Section: slim_box

>
>

Action: slim_box

 
Slim box example
Changed:
<
<
Show slim, one line height user boxes. Several sections are provided:
>
>
Show slim, one line height user boxes. Several actions are provided:
 
Changed:
<
<
  • Section "slim_box_css": Defines the style sheets of the slim boxes. Optionally include it once per page; it is done for you by the "slim_box_start" section if needed.
  • Section "slim_box_start": Defines the start of a set of slim boxes.
>
>
  • Action "slim_box_css": Defines the style sheets of the slim boxes. Optionally include it once per page; it is done for you by the "slim_box_start" action if needed.
  • Action "slim_box_start": Defines the start of a set of slim boxes.
 
    • Parameter style: Optional, overrides the css of the container div of slim boxes. Default: padding:0 5px 0 5px; background-color:#f0f0f4;.
Changed:
<
<
  • Section "slim_box": Show a single slim box.
>
>
  • Action "slim_box": Show a single slim box.
 
    • Parameter user: Specify the WikiWord of a single user.
    • Parameter style: Optional, overrides the css of the slim box. Default: float: left; width: 130px; border: solid 1px #d0d0d8; background-color: #f8f8fb;.
Changed:
<
<
  • Section "slim_box_list": Show a set of slim boxes.
    • Parameter users: Specify a list of WikiWords of users. The list may be provided by including the "user_list" section.
    • Parameter style: Optional, same as section "slim_box".
  • Section "slim_box_end": Defines the end of a set of slim boxes.
>
>
  • Action "slim_box_list": Show a set of slim boxes.
    • Parameter users: Specify a list of WikiWords of users. The list may be provided by including the "user_list" action.
    • Parameter style: Optional, same as action "slim_box".
  • Action "slim_box_end": Defines the end of a set of slim boxes.
  Usage example:

Line: 177 to 180
 
Changed:
<
<
>
>
 
Line: 195 to 198
 
<--==============================================-->
Changed:
<
<

Section: small_box

>
>

Action: small_box

 
Small box example
Changed:
<
<
Show small, two line height user boxes. Several sections are provided:
>
>
Show small, two line height user boxes. Several actions are provided:
 
Changed:
<
<
  • Section "small_box_css": Defines the style sheets of the small boxes. Optionally include it once per page; it is done for you by the "small_box_start" section if needed.
  • Section "small_box_start": Defines the start of a set of small boxes.
>
>
  • Action "small_box_css": Defines the style sheets of the small boxes. Optionally include it once per page; it is done for you by the "small_box_start" action if needed.
  • Action "small_box_start": Defines the start of a set of small boxes.
 
    • Parameter style: Optional, overrides the css of the container div of small boxes. Default: padding:0 5px 0 5px; background-color:#f0f0f4;.
Changed:
<
<
  • Section "small_box": Show a single small box.
>
>
  • Action "small_box": Show a single small box.
 
    • Parameter user: Specify the WikiWord of a single user.
    • Parameter style: Optional, overrides the css of the small box. Default: float: left; width: 130px; border: solid 1px #d0d0d8; background-color: #f8f8fb;.
Changed:
<
<
  • Section "small_box_list": Show a set of small boxes.
    • Parameter users: Specify a list of WikiWords of users. The list may be provided by including the "user_list" section.
    • Parameter style: Optional, same as section "small_box".
  • Section "small_box_end": Defines the end of a set of small boxes.
>
>
  • Action "small_box_list": Show a set of small boxes.
    • Parameter users: Specify a list of WikiWords of users. The list may be provided by including the "user_list" action.
    • Parameter style: Optional, same as action "small_box".
  • Action "small_box_end": Defines the end of a set of small boxes.
  Usage example:

Line: 228 to 231
 
Changed:
<
<
>
>
 
Line: 246 to 249
 
<--==============================================-->
Changed:
<
<

Section: business_card

>
>

Action: business_card

 
Business card example
Changed:
<
<
Show users in business card format. Several sections are provided:
>
>
Show users in business card format. Several actions are provided:
 
Changed:
<
<
  • Section "business_card_css": Defines the style sheets of the business cards. Optionally include it once per page; it is done for you by the "business_card_start" section if needed.
  • Section "business_card_start": Defines the start of a set of business cards.
>
>
  • Action "business_card_css": Defines the style sheets of the business cards. Optionally include it once per page; it is done for you by the "business_card_start" action if needed.
  • Action "business_card_start": Defines the start of a set of business cards.
 
    • Parameter style: Optional, overrides the css of the container div of business cards. Default: padding:10px 15px 1px 15px; background-color:#f0f0f4;.
Changed:
<
<
  • Section "business_card": Show a single business card.
>
>
  • Action "business_card": Show a single business card.
 
    • Parameter user: Specify the WikiWord of a single user.
    • Parameter style: Optional, overrides the css of the business card. Default: float: left; width: 410px; border: solid 1px #d0d0d8; background-color: #fff;.
Changed:
<
<
  • Section "business_card_list": Show a set of business cards.
    • Parameter users: Specify a list of WikiWords of users. The list may be provided by including the "user_list" section.
    • Parameter style: Optional, same as section "business_card".
  • Section "business_card_end": Defines the end of a set of business cards.
>
>
  • Action "business_card_list": Show a set of business cards.
    • Parameter users: Specify a list of WikiWords of users. The list may be provided by including the "user_list" action.
    • Parameter style: Optional, same as action "business_card".
  • Action "business_card_end": Defines the end of a set of business cards.
  Usage examples:

Line: 277 to 280
  Sample output:
Changed:
<
<
Alice Thomas


, , USA
Mail

Amy Stutz


UdeC, , Chile
Mail amelia.stutz@gmail.com

Bill Johnson


, ,
Mail johnsobi@gmail.com

Brian Andler


Universidad de Concepcion, , Chile
Mail

CST TestUser


Caltech, , USA
Mail

Cecilia Bustos


CePIA-UdeC, , Chile
Mail

Changjun Jiao


Nanjing Astronomical Instruments Co., Ltd., , China
Mail jiaochangjun@nairc.ac.cn

cstc Admin


Caltech, , USA
Mail

Daniel Luhr


Universidad Austral de Chile, , Chile
Mail

Darek Lis


Caltech, , USA
Mail dcl@caltech.edu

Dave Woody


, , USA
Mail dwoody@caltech.edu

David Arroyo


Universidad de Concepcion, , Chile
Mail daarroyo@udec.cl
Mobile +56 9 98358525

Dominik Schleicher


Universidad de ConcepciĂłn, , Chile
Mail

Duo Cao


Shanghai Normal University, , China
Mail dcao@shnu.edu.cn
Mobile +1 4242705721

Emiliano Rasztocky


UdeC, , Argentina
Mail

Feng Liu


Shanghai Normal University, , China
Mail fliu@shnu.edu.cn

Francisco Godoy


CePIA-UdeC, , Chile
Mail

Fred Guo


NAOC, , China
Mail gyw@bao.ac.cn
Phone +8613611210779
Mobile +8613611210779

Gary Fuller


, , United Kingdom
Mail

Gonzalo Rojas


UdeC, , Chile
Mail

Hiro Yoshida


Caltech, Hilo, USA
Mail hyoshida@caltech.edu

Huiqin Zhang


JiWu Opto-electrionic Technology Co., , China
Mail zhq80@163.com
Mobile +86 13917730289

Jack Sayers


Caltech, , USA
Mail jack@caltech.edu

James Bartlett


JPL, , USA
Mail James.Bartlett@jpl.nasa.gov

Jamie Bock


Caltech, , USA
Mail jjb@astro.caltech.edu

Jiasheng Huang


CASSACA, , China
Mail jhuang@nao.cas.cn

Jim Bartlett


JPL, , USA
Mail James.Bartlett@jpl.nasa.gov

Jinbiao Zhao


Nanjing Astronomical Instruments Co., Ltd., , China
Mail zhaojinbiao@nairc.ac.cn

Jingquan Chen


Purple Mountain Observatory, , China
Mail jqcheng@pmo.ac.cn

Jingwen Wu


NAOC, , China
Mail jingwen@nao.cas.cn

Jinpeng Li
Associate Director/Dr./senior engineer , R & D Center
Nanjing Astronomical Instruments Co., Ltd., , China
Mail lijinpeng@nairc.ac.cn
John Mike


, , USA
Mail

Jose Fuentealba


UdeC, , Chile
Mail

Jose Vial


Universidad de Concepcion, , Chile
Mail jovial@udec.cl
Mobile +56 9 93765170

Junhan Kim


, , USA
Mail

Long Cheng


Shanghai Institute of Technological Physics, , China
Mail 17621291845@163.com
Mobile +86 17621291845

Lu Ye


Shanghai Institute of Technical Physics, , China
Mail yeludun@163.com

Lu Zhang


Nanjing Astronomical Instruments Co., Ltd., , China
Mail zhanglu@nairc.ac.cn

Manuel Aravena


Universidad Diego Portales, , Chile
Mail manuel.aravenaa@mail.udp.cl

Matt Bradford


Caltech, , USA
Mail bradford@submm.caltech.edu

Michael Stramenga


, , USA
Mail stramenm@mcmaster.ca

Nanyao Lu


CASSACA, , China
Mail

Nicolas Lastra


Universidad de Concepcion, , Chile
Mail nicolas.lastra.inzunza@gmail.com

Nicolas Martinez


, , Chile
Mail

Pedro Correa
Site Construction Manager, LCT Project
CALTECH, Las Condes, Santiago, Chile
Mail pedrocorreak@gmail.com
Phone +56 22 793 4601
Mobile +56 9 8234 7930
Pedro Escarate


Universidad Austral de Chile, , Chile
Mail

Rafael Rodriguez


Universidad de Concepcion, , Chile
Mail rafael.rodriguezo@gmail.com

Ricardo Demarco


Universidad de Concepcion, , Chile
Mail

Roberto Assef


Universidad Diego Portales, , Chile
Mail roberto.assef@mail.udp.cl

Rodrigo Herrera


Universidad de Concepcion, , Chile
Mail

Rodrigo Reeves
Associate professor, Astronomy
Universidad de Concepción, Concepcion, Chile
Mail rreeves@udec.cl
Phone +56412203476
Mobile +56962182062
Runfu Peng


Shanghai Normal University, , China
Mail

Sheng-Cai Shi


Purple Mountain Observatory, , China
Mail scshi@pmo.ac.cn

Simon Radford


Caltech/LCT, , USA
Mail sradford@caltech.edu

Stefano Bovino


University of Concepcion, , Chile
Mail

Sunil Golwala


Caltech, , USA
Mail golwala@caltech.edu
Phone +1 6263958003

Test Record


, , USA
Mail

Tony Readhead


Caltech, , USA
Mail acr@astro.caltech.edu

Vicente Montesinos


CePIA-UdeC, , Chile
Mail

Weijie Du


Shanghai Normal University, , China
Mail duweijie@shnu.edu.cn
Mobile +86 13166338209

Yong Bi


Nanjing Astronomical Instruments Co., Ltd., , China
Mail yongb@nairc.ac.cn

Yuping Tang


CASSACA, , Chile
Mail tangyping@gmail.com

Zheng Wang
Professor, School of Automation
Southeast University, Nanjing, China
Mail wangz@seu.edu.cn
Zhong Wang
Scientist, CASSACA
NAOC, , Chile
Mail zwang1@yahoo.com
>
>
Alice Thomas


, , USA
Mail

Amy Stutz


UdeC, , Chile
Mail amelia.stutz@gmail.com

Bill Johnson


, ,
Mail johnsobi@gmail.com

Brian Andler


Universidad de Concepcion, , Chile
Mail

CST TestUser


Caltech, , USA
Mail

 

Line: 442 to 445
 
<--==============================================-->
Changed:
<
<

Section: select_one_user

>
>

Action: select_one_user

  Show a selector to pick a user, for use in HTML forms.
Changed:
<
<
  • Section "select_one_user": Selector to pick a user.
>
>
  • Action "select_one_user": Selector to pick a user.
 
    • Parameter name: Name of form field, required.
    • Parameter selected: WikiWord name of a user, optional.
Changed:
<
<
    • Parameter users: Specify a list of WikiWords of users, optional. The list may be provided by including the "user_list" section. All registered users are shown if the parameter is missing.
>
>
    • Parameter users: Specify a list of WikiWords of users, optional. The list may be provided by including the "user_list" action. All registered users are shown if the parameter is missing.
 
    • Parameter firstoption: Label of first option, optional. Default: Select...
    • Parameter firstvalue: Value of first option, optional. Default: empty value
Line: 462 to 465
  Sample output:
Changed:
<
<
>
>
 

Line: 471 to 474
 
<--==============================================-->
Changed:
<
<

Section: select_users

>
>

Action: select_users

 
Select users example
Show rows of checkboxes to select users, for use in HTML forms.
Changed:
<
<
  • Section "select_users": Set of checkboxes to select users.
>
>
  • Action "select_users": Set of checkboxes to select users.
 
    • Parameter name: Name of form field, required.
    • Parameter selected: List of WikiWord names indicating the selected users, optional.
Changed:
<
<
    • Parameter users: Specify a list of WikiWords of users, optional. The list may be provided by including the "user_list" section. All registered users are shown if the parameter is missing.
>
>
    • Parameter users: Specify a list of WikiWords of users, optional. The list may be provided by including the "user_list" action. All registered users are shown if the parameter is missing.
 
    • Parameter colums: Define number of columns, optional. Default: 5
    • Parameter style: Set the css of the container div, optional. Default: margin: 0; border: 1px solid transparent;
Line: 494 to 497
  Sample output:
Changed:
<
<
































































>
>
































































 

Line: 506 to 509
 Note to Maintainer:

  • This topic has user report sections intended for TWiki application developers.
Changed:
<
<
  • This topic uses more user friendly ParameterizedVariables %USERREPORT{ action="..." ... }% instead of the more verbose parameterized include %INCLUDE{ "%SYSTEMWEB%.UserReports" section="..." ... }%.
>
>
  • This topic uses more user friendly ParameterizedVariables %USERREPORT{ action="foo" ... }% instead of the more verbose parameterized include %INCLUDE{ "%SYSTEMWEB%.UserReports" section="foo" ... }%.
 

Related topics: TWikiGroups, TWikiUsers, UserListByDateJoined, UserListByLocation, VarUSERREPORT, TWikiUserMappingContrib

Changed:
<
<
-- TWiki:Main.PeterThoeny - 2013-02-06
>
>
-- TWiki:Main.PeterThoeny - 2014-10-04
 
META FILEATTACHMENT attachment="business-card-example.png" attr="h" comment="" date="1338678337" name="business-card-example.png" path="business-card-example.png" size="42890" user="TWikiContributor" version="1"
META FILEATTACHMENT attachment="faded-bubble.png" attr="h" comment="Faded bubble for BUBBLESIG comments" date="1360196652" name="faded-bubble.png" path="faded-bubble.png" size="12985" user="TWikiContributor" version="1"

Revision 12013-10-12 - TWikiContributor

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="TWikiUserMappingContrib"

TWiki User Reports

This page is for TWiki application developers. Include the sections on this page to show user reports with profile pictures. Create appealing TWiki applications in a short time.

Section: user_list

Show a simple list of registered users. The output is a comma-space delimited sorted list of WikiWords of users (without web prefix), which can be used as input for other reports on this page.

  • Section "user_list": Show a list of users as comma-space delimited list of WikiWords.
    • Parameter search: Apply filter by searching all form fields, but not the main topic text. Optional; all users are returned if missing.
    • Parameter limit: Limits the number of users returned. Optional; all users are returned if missing.
    • Parameter sort: Sort the result by the topic name, topic creation date, last modified date, last editor, or named field of TWikiForms. For details see sort parameter of SEARCH.
    • Parameter reverse: Reverse the direction of the search result

This sections also sets a "UserReports_users" variable to the number of users found. To retrieve, write %GET{UserReports_users}%.

Usage example:

%USERREPORT{ action="user_list" search="jane" limit="5" }%

Sample output:

AliceThomas, AmyStutz, BillJohnson, BrianAndler, CSTTestUser

<--==============================================-->
AliceThomas, AmyStutz, BillJohnson, BrianAndler, CSTTestUser, CeciliaBustos, ChangjunJiao, CstcAdmin, DanielLuhr, DarekLis, DaveWoody, DavidArroyo, DominikSchleicher, DuoCao, EmilianoRasztocky, FengLiu, FranciscoGodoy, FredGuo, GaryFuller, GonzaloRojas, HiroYoshida, HuiqinZhang, JackSayers, JamesBartlett, JamieBock, JiashengHuang, JimBartlett, JinbiaoZhao, JingquanChen, JingwenWu, JinpengLi, JohnMike, JoseFuentealba, JoseVial, JunhanKim, LongCheng, LuYe, LuZhang, ManuelAravena, MattBradford, MichaelStramenga, NanyaoLu, NicolasLastra, NicolasMartinez, PedroCorrea, PedroEscarate, RafaelRodriguez, RicardoDemarco, RobertoAssef, RodrigoHerrera, RodrigoReeves, RunfuPeng, ShengCaiShi, SimonRadford, StefanoBovino, SunilGolwala, TestRecord, TonyReadhead, VicenteMontesinos, WeijieDu, YongBi, YupingTang, ZhengWang, ZhongWang
<--==============================================-->

Section: profile_picture

Show the profile picture image of a user. A default image is returned in case the image is not defined in the Image form field of the user. The output is an <img /> tag that can be embedded in other tags such as links.

  • Section "profile_picture": Show the profile picture image of a user.
    • Parameter user: WikiWord of user, required.
    • Parameter width: Width of image, optional.
    • Parameter height: Height of image, optional. The aspect ratio is preserved unless width and height are specified. If width and height are missing, a height of 100 pixels is used.
    • Parameter title: Title parameter of img tag, optional.

Usage example:

%USERREPORT{ action="profile_picture" user="TWikiGuest" height="40" title="TWikiGuest" }%
%USERREPORT{ action="profile_picture" user="AmandaBoris" height="40" title="AmandaBoris" }%

Sample output:
TWikiGuest   AliceThomas   AmyStutz   BillJohnson   BrianAndler   CSTTestUser

<--==============================================-->
%user%
<--==============================================-->

Section: user_sig

Show a user signature with profile picture, optionally followed by a date or other text. A default image is shown in case the image is not defined in the Image form field of the user.

  • Section "user_sig": Show a user signature with profile picture.
    • Parameter user: WikiWord of user, required. Optionally followed by a date or other text.
    • Parameter width: Width of image, optional.
    • Parameter height: Height of image, optional. The aspect ratio is preserved unless width and height are specified. If width and height are missing, a height of 18 pixels is used.

In addition, a USERSIG preferences setting is defined as a shortcut, so that a simple %USERSIG{TWikiGuest}% can be used.

Usage example:

-- %USERREPORT{ action="user_sig" user="TWikiGuest - 2024-04-20" }%

-- %USERSIG{TWikiGuest}%

-- %USERSIG{TWikiGuest - 2024-04-20}%

Sample output:
-- TWiki Guest - 2024-04-20

-- TWiki Guest

-- TWiki Guest - 2024-04-20

<--==============================================-->
%user%
<--==============================================-->

Section: bubble_sig

Show a faded comment bubble and user signature with profile picture, optionally followed by a date or other text. A default image is shown in case the image is not defined in the Image form field of the user. This is used for CommentPlugin signatures.

  • Section "bubble_sig": Show a user signature with profile picture.
    • Parameter user: WikiWord of user, required. Optionally followed by a date or other text.

In addition, a BUBBLESIG preferences setting is defined as a shortcut, so that a simple %BUBBLESIG{TWikiGuest}% can be used.

Usage example:

Test comment using USERREPORT

-- %USERREPORT{ action="bubble_sig" user="TWikiGuest - 2024-04-20" }%

Test comment using BUBBLESIG

-- %BUBBLESIG{TWikiGuest - 2024-04-20}%

Sample output:
Test comment using USERREPORT

-- TWiki Guest - 2024-04-20

Test comment using BUBBLESIG

-- TWiki Guest - 2024-04-20

<--==============================================-->
%user%
<--==============================================-->

Section: slim_box

Slim box example
Show slim, one line height user boxes. Several sections are provided:

  • Section "slim_box_css": Defines the style sheets of the slim boxes. Optionally include it once per page; it is done for you by the "slim_box_start" section if needed.
  • Section "slim_box_start": Defines the start of a set of slim boxes.
    • Parameter style: Optional, overrides the css of the container div of slim boxes. Default: padding:0 5px 0 5px; background-color:#f0f0f4;.
  • Section "slim_box": Show a single slim box.
    • Parameter user: Specify the WikiWord of a single user.
    • Parameter style: Optional, overrides the css of the slim box. Default: float: left; width: 130px; border: solid 1px #d0d0d8; background-color: #f8f8fb;.
  • Section "slim_box_list": Show a set of slim boxes.
    • Parameter users: Specify a list of WikiWords of users. The list may be provided by including the "user_list" section.
    • Parameter style: Optional, same as section "slim_box".
  • Section "slim_box_end": Defines the end of a set of slim boxes.

Usage example:

%USERREPORT{ action="slim_box_start" }%
  %USERREPORT{ action="slim_box" user="TWikiGuest" }%
  %USERREPORT{ action="slim_box" user="JaneSmith" }%
%USERREPORT{ action="slim_box_end" }%
%USERREPORT{ action="slim_box_start" style="background-color: #f0f0e8;" }%
  %USERREPORT{ action="slim_box_list" users="UserOne, UserTwo, UserThree" }%
%USERREPORT{ action="slim_box_end" }%

Sample output:

<--==============================================-->
<--==============================================-->
<--==============================================-->
<--==============================================-->
<--==============================================-->
<--==============================================-->

Section: small_box

Small box example
Show small, two line height user boxes. Several sections are provided:

  • Section "small_box_css": Defines the style sheets of the small boxes. Optionally include it once per page; it is done for you by the "small_box_start" section if needed.
  • Section "small_box_start": Defines the start of a set of small boxes.
    • Parameter style: Optional, overrides the css of the container div of small boxes. Default: padding:0 5px 0 5px; background-color:#f0f0f4;.
  • Section "small_box": Show a single small box.
    • Parameter user: Specify the WikiWord of a single user.
    • Parameter style: Optional, overrides the css of the small box. Default: float: left; width: 130px; border: solid 1px #d0d0d8; background-color: #f8f8fb;.
  • Section "small_box_list": Show a set of small boxes.
    • Parameter users: Specify a list of WikiWords of users. The list may be provided by including the "user_list" section.
    • Parameter style: Optional, same as section "small_box".
  • Section "small_box_end": Defines the end of a set of small boxes.

Usage example:

%USERREPORT{ action="small_box_start" }%
  %USERREPORT{ action="small_box" user="TWikiGuest" }%
  %USERREPORT{ action="small_box" user="JaneSmith" }%
%USERREPORT{ action="small_box_end" }%
%USERREPORT{ action="small_box_start" style="background-color: #f0f0e8;" }%
  %USERREPORT{ action="small_box_list" users="UserOne, UserTwo, UserThree" }%
%USERREPORT{ action="small_box_end" }%

Sample output:

<--==============================================-->
<--==============================================-->
<--==============================================-->
<--==============================================-->
<--==============================================-->
<--==============================================-->

Section: business_card

Business card example
Show users in business card format. Several sections are provided:

  • Section "business_card_css": Defines the style sheets of the business cards. Optionally include it once per page; it is done for you by the "business_card_start" section if needed.
  • Section "business_card_start": Defines the start of a set of business cards.
    • Parameter style: Optional, overrides the css of the container div of business cards. Default: padding:10px 15px 1px 15px; background-color:#f0f0f4;.
  • Section "business_card": Show a single business card.
    • Parameter user: Specify the WikiWord of a single user.
    • Parameter style: Optional, overrides the css of the business card. Default: float: left; width: 410px; border: solid 1px #d0d0d8; background-color: #fff;.
  • Section "business_card_list": Show a set of business cards.
    • Parameter users: Specify a list of WikiWords of users. The list may be provided by including the "user_list" section.
    • Parameter style: Optional, same as section "business_card".
  • Section "business_card_end": Defines the end of a set of business cards.

Usage examples:

%USERREPORT{ action="business_card_start" }%
  %USERREPORT{ action="business_card" user="TWikiGuest" }%
  %USERREPORT{ action="business_card" user="JaneSmith" }%
%USERREPORT{ action="business_card_end" }%
%USERREPORT{ action="business_card_start" style="background-color: #f0f0e8;" }%
  %USERREPORT{ action="business_card_list" users="UserOne, UserTwo, UserThree" }%
%USERREPORT{ action="business_card_end" }%

Sample output:

Alice Thomas


, , USA
Mail

Amy Stutz


UdeC, , Chile
Mail amelia.stutz@gmail.com

Bill Johnson


, ,
Mail johnsobi@gmail.com

Brian Andler


Universidad de Concepcion, , Chile
Mail

CST TestUser


Caltech, , USA
Mail

Cecilia Bustos


CePIA-UdeC, , Chile
Mail

Changjun Jiao


Nanjing Astronomical Instruments Co., Ltd., , China
Mail jiaochangjun@nairc.ac.cn

cstc Admin


Caltech, , USA
Mail

Daniel Luhr


Universidad Austral de Chile, , Chile
Mail

Darek Lis


Caltech, , USA
Mail dcl@caltech.edu

Dave Woody


, , USA
Mail dwoody@caltech.edu

David Arroyo


Universidad de Concepcion, , Chile
Mail daarroyo@udec.cl
Mobile +56 9 98358525

Dominik Schleicher


Universidad de ConcepciĂłn, , Chile
Mail

Duo Cao


Shanghai Normal University, , China
Mail dcao@shnu.edu.cn
Mobile +1 4242705721

Emiliano Rasztocky


UdeC, , Argentina
Mail

Feng Liu


Shanghai Normal University, , China
Mail fliu@shnu.edu.cn

Francisco Godoy


CePIA-UdeC, , Chile
Mail

Fred Guo


NAOC, , China
Mail gyw@bao.ac.cn
Phone +8613611210779
Mobile +8613611210779

Gary Fuller


, , United Kingdom
Mail

Gonzalo Rojas


UdeC, , Chile
Mail

Hiro Yoshida


Caltech, Hilo, USA
Mail hyoshida@caltech.edu

Huiqin Zhang


JiWu Opto-electrionic Technology Co., , China
Mail zhq80@163.com
Mobile +86 13917730289

Jack Sayers


Caltech, , USA
Mail jack@caltech.edu

James Bartlett


JPL, , USA
Mail James.Bartlett@jpl.nasa.gov

Jamie Bock


Caltech, , USA
Mail jjb@astro.caltech.edu

Jiasheng Huang


CASSACA, , China
Mail jhuang@nao.cas.cn

Jim Bartlett


JPL, , USA
Mail James.Bartlett@jpl.nasa.gov

Jinbiao Zhao


Nanjing Astronomical Instruments Co., Ltd., , China
Mail zhaojinbiao@nairc.ac.cn

Jingquan Chen


Purple Mountain Observatory, , China
Mail jqcheng@pmo.ac.cn

Jingwen Wu


NAOC, , China
Mail jingwen@nao.cas.cn

Jinpeng Li
Associate Director/Dr./senior engineer , R & D Center
Nanjing Astronomical Instruments Co., Ltd., , China
Mail lijinpeng@nairc.ac.cn
John Mike


, , USA
Mail

Jose Fuentealba


UdeC, , Chile
Mail

Jose Vial


Universidad de Concepcion, , Chile
Mail jovial@udec.cl
Mobile +56 9 93765170

Junhan Kim


, , USA
Mail

Long Cheng


Shanghai Institute of Technological Physics, , China
Mail 17621291845@163.com
Mobile +86 17621291845

Lu Ye


Shanghai Institute of Technical Physics, , China
Mail yeludun@163.com

Lu Zhang


Nanjing Astronomical Instruments Co., Ltd., , China
Mail zhanglu@nairc.ac.cn

Manuel Aravena


Universidad Diego Portales, , Chile
Mail manuel.aravenaa@mail.udp.cl

Matt Bradford


Caltech, , USA
Mail bradford@submm.caltech.edu

Michael Stramenga


, , USA
Mail stramenm@mcmaster.ca

Nanyao Lu


CASSACA, , China
Mail

Nicolas Lastra


Universidad de Concepcion, , Chile
Mail nicolas.lastra.inzunza@gmail.com

Nicolas Martinez


, , Chile
Mail

Pedro Correa
Site Construction Manager, LCT Project
CALTECH, Las Condes, Santiago, Chile
Mail pedrocorreak@gmail.com
Phone +56 22 793 4601
Mobile +56 9 8234 7930
Pedro Escarate


Universidad Austral de Chile, , Chile
Mail

Rafael Rodriguez


Universidad de Concepcion, , Chile
Mail rafael.rodriguezo@gmail.com

Ricardo Demarco


Universidad de Concepcion, , Chile
Mail

Roberto Assef


Universidad Diego Portales, , Chile
Mail roberto.assef@mail.udp.cl

Rodrigo Herrera


Universidad de Concepcion, , Chile
Mail

Rodrigo Reeves
Associate professor, Astronomy
Universidad de Concepción, Concepcion, Chile
Mail rreeves@udec.cl
Phone +56412203476
Mobile +56962182062
Runfu Peng


Shanghai Normal University, , China
Mail

Sheng-Cai Shi


Purple Mountain Observatory, , China
Mail scshi@pmo.ac.cn

Simon Radford


Caltech/LCT, , USA
Mail sradford@caltech.edu

Stefano Bovino


University of Concepcion, , Chile
Mail

Sunil Golwala


Caltech, , USA
Mail golwala@caltech.edu
Phone +1 6263958003

Test Record


, , USA
Mail

Tony Readhead


Caltech, , USA
Mail acr@astro.caltech.edu

Vicente Montesinos


CePIA-UdeC, , Chile
Mail

Weijie Du


Shanghai Normal University, , China
Mail duweijie@shnu.edu.cn
Mobile +86 13166338209

Yong Bi


Nanjing Astronomical Instruments Co., Ltd., , China
Mail yongb@nairc.ac.cn

Yuping Tang


CASSACA, , Chile
Mail tangyping@gmail.com

Zheng Wang
Professor, School of Automation
Southeast University, Nanjing, China
Mail wangz@seu.edu.cn
Zhong Wang
Scientist, CASSACA
NAOC, , Chile
Mail zwang1@yahoo.com

<--==============================================-->
<--[if IE]><![endif]-->
<--==============================================-->
<--==============================================-->
<--==============================================-->


, ,
Mail

<--==============================================-->


, ,
Mail

<--==============================================-->

Section: select_one_user

Show a selector to pick a user, for use in HTML forms.

  • Section "select_one_user": Selector to pick a user.
    • Parameter name: Name of form field, required.
    • Parameter selected: WikiWord name of a user, optional.
    • Parameter users: Specify a list of WikiWords of users, optional. The list may be provided by including the "user_list" section. All registered users are shown if the parameter is missing.
    • Parameter firstoption: Label of first option, optional. Default: Select...
    • Parameter firstvalue: Value of first option, optional. Default: empty value

Usage example:

<form>
%USERREPORT{ action="select_one_user" name="Owner" selected="TWikiGuest" }%
</form>

Sample output:

<--==============================================-->
<--==============================================-->

Section: select_users

Select users example
Show rows of checkboxes to select users, for use in HTML forms.

  • Section "select_users": Set of checkboxes to select users.
    • Parameter name: Name of form field, required.
    • Parameter selected: List of WikiWord names indicating the selected users, optional.
    • Parameter users: Specify a list of WikiWords of users, optional. The list may be provided by including the "user_list" section. All registered users are shown if the parameter is missing.
    • Parameter colums: Define number of columns, optional. Default: 5
    • Parameter style: Set the css of the container div, optional. Default: margin: 0; border: 1px solid transparent;

Usage example:

<form>
%USERREPORT{ action="select_users" name="Members" selected="TWikiGuest, AmandaBoris" }%
</form>

Sample output:

































































<--==============================================-->
































































<--==============================================-->

Note to Maintainer:

  • This topic has user report sections intended for TWiki application developers.
  • This topic uses more user friendly ParameterizedVariables %USERREPORT{ action="..." ... }% instead of the more verbose parameterized include %INCLUDE{ "%SYSTEMWEB%.UserReports" section="..." ... }%.
  • If you add a section to this topic, or add a parameter to a section, make sure to keep the parameterized variables settings in TWikiPreferences#ParameterizedVariables in sync.

Related topics: TWikiGroups, TWikiUsers, UserListByDateJoined, UserListByLocation, VarUSERREPORT, TWikiUserMappingContrib

-- TWiki:Main.PeterThoeny - 2013-02-06

META FILEATTACHMENT attachment="business-card-example.png" attr="h" comment="" date="1338678337" name="business-card-example.png" path="business-card-example.png" size="42890" user="TWikiContributor" version="1"
META FILEATTACHMENT attachment="faded-bubble.png" attr="h" comment="Faded bubble for BUBBLESIG comments" date="1360196652" name="faded-bubble.png" path="faded-bubble.png" size="12985" user="TWikiContributor" version="1"
META FILEATTACHMENT attachment="small-box-example.png" attr="h" comment="" date="1343433327" name="small-box-example.png" path="small-box-example.png" size="28290" user="TWikiContributor" version="2"
META FILEATTACHMENT attachment="slim-box-example.png" attr="h" comment="" date="1343432567" name="slim-box-example.png" path="slim-box-example.png" size="16868" user="TWikiContributor" version="1"
META FILEATTACHMENT attachment="select-users-example.png" attr="h" comment="" date="1343446655" name="select-users-example.png" path="select-users-example.png" size="30862" user="TWikiContributor" version="1"
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.UserReports.