Modify

Opened 8 years ago

Last modified 22 months ago

#4239 new enhancement

Add ability to generate additional [wiki:username] links for each user

Reported by: Matt Callaghan Owned by:
Priority: normal Component: UserStatsMacro
Severity: normal Keywords:
Cc: Ryan J Ollos Trac Release: 0.11

Description

Our configuration of trac has every user their own wiki page (mostly for contact details and the like). i.e.:

List of users:
 * [wiki:username1]
 * [wiki:username2]
 * [wiki:username3]

The ability to pass in a parameter to the UserStatsMacro to allow such generation of links would replace that hard coded list ;-0

Example UserStatsMacro call:

[[UserStats(wiki=$username)]]

might generate wiki text like:

|| User || Last Login || How long ago ||
|| [wiki:user1] || 2008/12/08 21:07:58 || <24h ||
|| [wiki:user2] || 2008/12/02 22:02:40 || 6 day(s) ||
|| [wiki:user3] || 2008/12/06 16:38:27 || 3 day(s)  ||

i.e.

User Last Login How long ago
user1? 2008/12/08 21:07:58 <24h
user2? 2008/12/02 22:02:40 6 day(s)
user3? 2008/12/06 16:38:27 3 day(s)

Attachments (0)

Change History (3)

comment:1 Changed 7 years ago by Ryan J Ollos

Cc: Ryan J Ollos added; anonymous removed

comment:2 Changed 7 years ago by Ryan J Ollos

Owner: changed from Pedro Paixao to Ryan J Ollos

comment:3 Changed 22 months ago by Ryan J Ollos

Owner: Ryan J Ollos deleted

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.