[Mailman-Users] Gathering additional iniformation at signup

Mark Sapiro mark at msapiro.net
Sun Jan 18 20:05:15 CET 2009


Walter wrote:

>I have just started using Mailman and wish to add fields (user title, organization) that must be filled out upon subscription and available to the list moderator for approval.  I can easily change the subscription form, adding these fields, but where do I go to modify the approval process to display them?  I looked thru the archives and I'm guessing that I have to customize something in the admin pages, but where do I begin?  Thanks.


This question is probably more appropriate for the
mailman-developers at python.org list, but ...

This kind of information is kept in a UserDesc instance during the
subscribe process. This class is defined in Mailman/UserDesc.py and
you would probably need to augment its methods to account for your new
items.

This class is imported in all the following modules which would at
least need to be reviewed.

Mailman/Cgi/admin.py
Mailman/Cgi/confirm.py
Mailman/Cgi/subscribe.py
Mailman/Commands/cmd_subscribe.py
Mailman/ListAdmin.py
Mailman/MailList.py
bin/sync_members
tests/test_membership.py

This kind of information is also kept in the list's request.pck file
for subscriptions waiting confirmation or approval. Thus, the
SUBSCRIPTION request record is affected and this potentially affects
the following modules.

Mailman/Cgi/admindb.py
Mailman/Cgi/confirm.py
Mailman/ListAdmin.py
bin/update
cron/checkdbs

In other words, this is not a simple change.

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan



More information about the Mailman-Users mailing list