Modify

Opened 16 years ago

Last modified 9 years ago

#4379 new enhancement

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

Reported by: peterson_eric_d@… Owned by:
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 Mark Cooke 14 years ago.
Patch to add optional display of Full Name and eMail addresses.

Download all attachments as: .zip

Change History (13)

comment:1 Changed 15 years ago by Ryan J Ollos

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 15 years ago by Ryan J Ollos

Owner: changed from Pedro Paixao to Ryan J Ollos

Changed 14 years ago by Mark Cooke

Attachment: userstatsmacro.patch added

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

comment:3 Changed 14 years ago by Mark Cooke

Summary: Show user's full name in addition to user login[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 14 years ago by Ryan J Ollos

Priority: normalhigh
Status: newassigned

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

comment:5 Changed 14 years ago by Mark Cooke

I think this patch also address #4237?

comment:6 Changed 13 years ago by Ryan J Ollos

Status: assignednew

comment:7 Changed 13 years ago by Steffen Hoffmann

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.

comment:8 Changed 10 years ago by Jared

Is there any progress on this patch in conjunction with AccountManagerPlugin? Is there a way to display full name, instead of username? And/or both?

comment:9 in reply to:  8 ; Changed 10 years ago by Steffen Hoffmann

Replying to Jared Bownds <jared.bownds@…>:

Is there any progress on this patch in conjunction with AccountManagerPlugin? Is there a way to display full name, instead of username? And/or both?

What do you mean by progress? Did you look at AccountManagerPlugin/WikiMacros and try the UserQuery that it provides? As a matter of fact I've got zero feedback on that implementations of user-related macros, that a nice fit for the plugin suite.

According to my announced development goals I do not plan to maintain the macro this patch has been proposed for but rather provide a more integrated, maintained solution. Test experience welcomed.

comment:10 in reply to:  9 ; Changed 10 years ago by Jared

Replying to hasienda:

Replying to Jared Bownds <jared.bownds@…>:

Is there any progress on this patch in conjunction with AccountManagerPlugin? Is there a way to display full name, instead of username? And/or both?

What do you mean by progress? Did you look at AccountManagerPlugin/WikiMacros and try the UserQuery that it provides? As a matter of fact I've got zero feedback on that implementations of user-related macros, that a nice fit for the plugin suite.

According to my announced development goals I do not plan to maintain the macro this patch has been proposed for but rather provide a more integrated, maintained solution. Test experience welcomed.

Hi there,

Thanks for your response. Ultimately, I'm looking for a solution that will display a users full name throughout Trac (new ticket, ticket report, email notifications etc..) instead of username.

Are you able to point me toward the right solution?

comment:11 in reply to:  10 Changed 10 years ago by Steffen Hoffmann

Replying to Jared Bownds <jared.bownds@…>:

Thanks for your response. Ultimately, I'm looking for a solution that will display a users full name throughout Trac (new ticket, ticket report, email notifications etc..) instead of username.

Are you able to point me toward the right solution?

That's a rather different scope indeed. See t:#7339 for an attempt including preliminary fixes that look for testers, eventually more improvements a support to get included into Trac core upstream.

comment:12 Changed 9 years 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.