Capt Bruce Gregory wrote:
>
>I need a way to append the full name box string of each user to the end of
>each message they post.
You could modify the process() function Mailman/Handlers/Decorate.py to
add the poster's name to the replacements. For example, near the
beginning of this function we have
d = {}
if msgdata.get('personalize'):
You could make that
d = {}
for sender in msg.get_senders():
if mlist.isMember(sender):
d['poster_name'] = mlist.getMemberName(sender)
break
if msgdata.get('personalize'):
Then you could use %(poster_name)s as a replacement in msg_footer.
This will work for messages, but the individual messages in digests
will still be "unsigned".
--
Mark Sapiro <[email protected]> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
_______________________________________________
Mailman-Developers mailing list
[email protected]
http://mail.python.org/mailman/listinfo/mailman-developers
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives:
http://www.mail-archive.com/mailman-developers%40python.org/
Unsubscribe:
http://mail.python.org/mailman/options/mailman-developers/archive%40jab.org
Security Policy: http://wiki.list.org/x/QIA9