[Mailman-Users] Display Real Name in Subscriber List
Jan Steinman
Jan at Bytesmiths.com
Fri Feb 6 20:22:35 CET 2009
> From: Martin Schütte <lists at mschuette.name>
>
> Wyn schrieb:
>> Has any one any ideas how to display a real name next to the email
>> address
>> in Subscriber List
>
> I found the required change to be small enough and use the following
> code:
>
> --- Mailman/HTMLFormatter.py.old Mon Mar 12 23:25:34 2007
> +++ Mailman/HTMLFormatter.py Mon Mar 12 23:28:38 2007
> @@ -94,6 +94,9 @@
> showing = Utils.ObscureEmail(person, for_text=1)
> else:
> showing = person
> + realname = Utils.uncanonstr(self.getMemberName(person),
> lang)
> + if realname:
> + showing += " (%s)" % Utils.websafe(realname)
> got = Link(url, showing)
> if self.getDeliveryStatus(person) <>
> MemberAdaptor.ENABLED:
> got = Italic('(', got, ')')
Thanks, Martin! I've had several clients ask for this, and haven't had
the time to track it down.
Mark, any chance of this getting in the regular distribution, perhaps
controlled by a config switch?
:::: You don't build a new world by pouring yourself into the broken
molds of the old one. ::::
:::: Jan Steinman, http://www.EcoReality.org ::::
More information about the Mailman-Users
mailing list