Home | Gifts

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.

On this page:

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.

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:

ArpHbLbGISF, AwVCoNbqYHXRZ, BcDmuDdLzf, KDJAtUGAIAG, NywTKQxiWU

ArpHbLbGISF, AwVCoNbqYHXRZ, BcDmuDdLzf, KDJAtUGAIAG, NywTKQxiWU, TDmOIglzpVJbvn, TaitCyrus, TgbQDkwpG, TzBngKIKVatgy, UjDMuFvOxTLM

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.

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   ArpHbLbGISF   AwVCoNbqYHXRZ   BcDmuDdLzf   KDJAtUGAIAG   NywTKQxiWU

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

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 - 2025-03-12" }%

-- %USERSIG{TWikiGuest}%

-- %USERSIG{TWikiGuest - 2025-03-12}%

Sample output:
-- TWiki Guest - 2025-03-12

-- TWiki Guest

-- TWiki Guest - 2025-03-12

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

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 - 2025-03-12" }%

Test comment using BUBBLESIG

-- %BUBBLESIG{TWikiGuest - 2025-03-12}%

Sample output:
Test comment using USERREPORT

-- TWiki Guest - 2025-03-12

Test comment using BUBBLESIG

-- TWiki Guest - 2025-03-12

%user%

Section: slim_box

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

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:

TWikiGuest TWiki Guest
ArpHbLbGISF Arp Hb Lb GISF
AwVCoNbqYHXRZ Aw VCo Nbq YHXRZ
BcDmuDdLzf Bc Dmu Dd Lzf
KDJAtUGAIAG KDJAt UGAIAG
NywTKQxiWU Nyw TKQxi WU

%users% %users%
%user% %user%

Section: small_box

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

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:

TWikiGuest TWiki Guest
ArpHbLbGISF Arp Hb Lb GISF
AwVCoNbqYHXRZ Aw VCo Nbq YHXRZ
BcDmuDdLzf Bc Dmu Dd Lzf
KDJAtUGAIAG KDJAt UGAIAG
NywTKQxiWU Nyw TKQxi WU

%users% %users%
%user% %user%

Section: business_card

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

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:

jbvPZtRoOPB TnZUfvBvkYAvT


MGXXuqyr, , Other Country
Mail

jwDYExrtKJeZk MmQgEQBVUGVqhC


WteSxyamYKihpV, , Other Country
Mail

aanmJMJnobO IRvDEDmhbWwKLiw


XdcjpvMvhGJIGd, , Other Country
Mail

GSVDwkNBsFTOOI hUOBDdLvGS


anwUTTligiS, , Other Country
Mail

obRIFLbDtGBp sjwQKTjEZkrcsMi


sKxkmhJHExNkno, , Other Country
Mail

PWEDkxQItTKG TCGvUOCOhJHN


sMFSrCioyPawc, , Other Country
Mail

Tait Cyrus


, , USA
Mail

lJLZWujZNk urHJmlzjJ


gTBvCuBaJ, , Other Country
Mail

PmIcFvkbuWedO CzDUrkCTssHhG


alNiQZmhdIjyl, , Other Country
Mail

hsRZACAxKqnQN HhLOVuAKlGuEgUV


IEmRTBhogslwou, , Other Country
Mail



, ,
Mail



, ,
Mail

Section: select_one_user

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

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.

Usage example:

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

Sample output:





















Note to Maintainer:

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

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

Revision r1 - 2013-10-12 - 01:54:42 - TWikiContributor Edit