Modify

Opened 4 years ago

Last modified 16 months ago

#4379 new enhancement

[Patch] Show user's full name in addition to user login

Reported by: peterson_eric_d@… Owned by: rjollos
Priority: high Component: UserStatsMacro
Severity: normal Keywords: user session attribute
Cc: Trac Release: 0.11

Description

currently this shows:

UserLast LoginHow long ago
aaa1969/12/31 16:00:0014249 day(s)
bbb2009/01/05 08:23:27<24h

but I would like to see

User IDUser NameLast LoginHow long ago
aaaJohn Smithnevernever
bbbJane Doe2009/01/05 08:23:27<24h

Is this possible?

Attachments (1)

userstatsmacro.patch (4.1 KB) - added by hieroglyph 3 years ago.
Patch to add optional display of Full Name and eMail addresses.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 4 years ago by rjollos

It would also be nice if the User Name was a mailto link using the email address that a user has entered into Trac (but only if they have actually entered an email address) so that it would be straightforward to contact that user.

comment:2 Changed 3 years ago by rjollos

  • Owner changed from pedro to rjollos

Changed 3 years ago by hieroglyph

Patch to add optional display of Full Name and eMail addresses.

comment:3 Changed 3 years ago by hieroglyph

  • Summary changed from Show user's full name in addition to user login to [Patch] Show user's full name in addition to user login

I have attached a patch to optionally display the user's Full Name and eMail address (from the session data) in the table. The display is currently controlled by three class members:

_show_names Display the user's Full Name
_show_email Display the user's eMail address
_ignore_before Supresses the last login info <= this year

Note the revision number in the patch is wrong as I do not have direct svn access to the t-h.o repository.

comment:4 Changed 3 years ago by rjollos

  • Priority changed from normal to high
  • Status changed from new to assigned

Thanks for the patch. I will get it checked-in soon.

comment:5 Changed 3 years ago by hieroglyph

I think this patch also address #4237?

comment:6 Changed 16 months ago by rjollos

  • Status changed from assigned to new

comment:7 Changed 16 months ago by hasienda

  • Keywords user session attribute added

Anything but _ignore_before is incorporated into UserQuery , an alternative wiki macro provided by AccountManagerPlugin (see #9852 for details). Comments welcome.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as new .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from rjollos. Next status will be 'new'.
The owner will be changed from rjollos to anonymous. Next status will be 'assigned'.
Author


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

 
Note: See TracTickets for help on using tickets.