Modify

Opened 6 years ago

Last modified 6 weeks 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 4 years ago.
Patch to add optional display of Full Name and eMail addresses.

Download all attachments as: .zip

Change History (12)

comment:1 Changed 5 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 5 years ago by rjollos

  • Owner changed from pedro to rjollos

Changed 4 years ago by hieroglyph

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

comment:3 Changed 4 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 4 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 4 years ago by hieroglyph

I think this patch also address #4237?

comment:6 Changed 3 years ago by rjollos

  • Status changed from assigned to new

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

comment:8 follow-up: Changed 6 weeks ago by 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?

comment:9 in reply to: ↑ 8 ; follow-up: Changed 6 weeks ago by 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.

comment:10 in reply to: ↑ 9 ; follow-up: Changed 6 weeks ago by Jared Bownds <jared.bownds@…>

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 6 weeks ago by hasienda

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.

Add Comment

Modify Ticket

Action
as new .
Author


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

 
Note: See TracTickets for help on using tickets.