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.
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:
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.
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.
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.
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.
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.
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:
< <
Adrian Bevan
, , United Kingdom
Adrian Buzatu
, , United Kingdom
Aidan Robson
, , United Kingdom
Albert Borbely
, , United Kingdom
Alexander Cheplakov
, , United Kingdom
Alexander Morton
University of Glasgow, , United Kingdom
Alison Bates
, , United Kingdom
Alistair Gemmell
, , United Kingdom
Andrea Knue
, Glasgow, Germany
Andrew Blue
, , United Kingdom
Andrew Davies
, , United Kingdom
Andrew Pickford
, , United Kingdom
Andrew Stewart
, , United Kingdom
Andy Buckley
, , United Kingdom
Bogdan Mishchenko
University of Glasgow, , United Kingdom
Bruno Angelucci
, , United Kingdom
Cameron Dean
University of Glasgow, , United Kingdom
Catherine Wright
, , United Kingdom
Celeste Fleta
, , United Kingdom
Chaowaroj Wanotayaroj
DESY, , Germany
Chris Collins
, , United Kingdom
Chris Parkes
, , United Kingdom
Chris White
, , United Kingdom
Christine Davies
, , United Kingdom
Christoph Englert
, , United Kingdom
cinzia da via
, , United Kingdom
Connor Graham
Physics and Astronomy
University of Glasgow, , United Kingdom
cgraham@cern.ch
Craig Buttar
, , United Kingdom
c.buttar@physics.gla.ac.uk 8473
Cristina Oropeza
, , United Kingdom
Dan Protopopescu
Dr, Physics & Astronomy
University of Glasgow, Room 473, United Kingdom
dan.protopopescu@glasgow.ac.uk x4197
Danilo Enoque Ferreira de Lima
, , United Kingdom
David Crooks
, , United Kingdom
David Martin
, , United Kingdom
David Miller
University of Glasgow, , United Kingdom
David Pennicard
, , United Kingdom
d.pennicard@physics.gla.ac.uk Extension 5893
Dean Forshaw
, , United Kingdom
Deepak Kar
, , United Kingdom
Dima Maneuski
, , United Kingdom
Dominic Smith
, 427, United Kingdom
Donnchadha Quilty
, , United Kingdom
dquilty@cern.ch +44 (0) 141 330 7175
Douglas McNab
, , United Kingdom
Eduardo Rodrigues
, , Portugal
Faig Ahmadov
, , Azerbaijan
fiona mcewan
, , United Kingdom
Francisca J. Munoz Sanchez
University of Manchester, , United Kingdom
Frank Krauss
, , United Kingdom
Fred Doherty
, , United Kingdom
Fred Gannaway
, , United Kingdom
Gareth Roy
, , United Kingdom
Gavin Kirby
, , United Kingdom
Gavin Murdoch
, , United Kingdom
Graeme Stewart
, , United Kingdom
Genevieve Steele
, , Switzerland
Georgios Sidiropoulos
, , United Kingdom
G.Sidiropoulos@ed.ac.uk +44 (0) 131 6505300
gianluigi casse
, , United Kingdom
Giles Strong
, , United Kingdom
giulio villani
, , United Kingdom
Gordon Stewart
University of Glasgow, , United Kingdom
Graeme Stewart
, , United Kingdom
Graeme.Andrew.Stewart@cern.ch
Graham Miller
University of Manchester, , United Kingdom
Helen Hayward
University of Liverpool, , United Kingdom
Ian Skillicorn
, , United Kingdom
ian wilmut
, , United Kingdom
Ilya Tsurin
, , United Kingdom
Isaac Bonad
, , United Kingdom
Jairo Antonio Villegas Dominguez
IMB-CNM (CSIC), , Spain
James Ferrando
, , United Kingdom
Janusz Martyniak
, , United Kingdom
Jennifer Thompson
, , United Kingdom
Joe Ashby
, , United Kingdom
John Carroll
, , United Kingdom
John Lipp
, Rutherford Appleton Laboratory, United Kingdom
John.Lipp@stfc.ac.uk +44 1235 445316
John matheson
, , United Kingdom
John Melone
, , United Kingdom
John Nugent
University of Glasgow, , United Kingdom
John Wilson
, , United Kingdom
Joleen Pater
, , United Kingdom
Jonathan Jamieson
, , United Kingdom
julian freestone
, , United Kingdom
Karen Hayrapetyan
QMU London, , United Kingdom
Karl Nordstrom
, , United Kingdom
Kate Doonan
, , United Kingdom
Kenneth Wraight
, , United Kingdom
Kestutis Kanisauskas
University of Glasgow, , United Kingdom
Kirk Arndt
Silicon Detector Development Engineer, Dept. of Physics
Univ. of Oxford, Robert Hooke Building, Sherrington Rd., Oxford OX1 3PU , United Kingdom
kirk.arndt@physics.ox.ac.uk 01865 282745 07413 197379
Knut Zoch
, , United Kingdom
Lars Eklund
, , United Kingdom
Laurence Carson
, , United Kingdom
Leyre Flores
University of Glasgow, , United Kingdom
Liam Cunningham
, , United Kingdom
Liam Moore
, , United Kingdom
Marco Gersabeck
, , United Kingdom
Mark Leese
, , United Kingdom
Mark Mitchell
, , United Kingdom
Mark Owen
, , United Kingdom
martin gibson
, , United Kingdom
Mary Twaddle
, , United Kingdom
Michael Alexander
, , United Kingdom
Michael Fenton
, , United Kingdom
Michael Russell
University of Glasgow, , United Kingdom
m.russell.2@research.gla.ac.uk
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
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" ... }%.
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.
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.
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:
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.
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:
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 - 2023-02-08" }%
Test comment using BUBBLESIG
-- %BUBBLESIG{TWikiGuest - 2023-02-08}%
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.
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.
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.
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
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;
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.