[Mailman-Users] Minor addition to Mailman/Cgi/options.py
CNulk at scu.edu
Mon May 2 23:30:55 CEST 2011
Don't know if this small addition would be useful to anyone else but I
will pass it along.
A little explanation first. It seems our users have some difficulty in
unsubscribing from the lists they are on. I know it is simple, yet I
get a lot of email complaining the process is to difficult. The biggest
issue I see is when the user puts in their email address then clicks the
"unsubscribe or edit options" button and the user lands on the Options
page. Apparently, the users see the password field and try a password
and then find out it is not the correct one. The users just don't seem
to read the page first which even tells the users to click the
unsubscribe button if they are trying to unsubscribe. Well, they don't
read, have problems, then email me that they have tried "everything" and
it doesn't work.
My solution was to modify the Mailman/Cgi/options.py file to add a line
under the Password field telling the user to leave the password blank
and click on the unsubscribe button.
As I said, don't know if it will help anyone but if you have user's with
problems reading, it might help. Below is a diff file with the
changes. I modified the original file from Centos 5.6 (their mailman
package is v2.1.9-6). If you are running a different version, take
care when making any changes.
--- options.py.original 2011-03-30 13:28:26.000000000 -0700
+++ options.py.SCU 2011-05-02 14:04:44.000000000 -0700
@@ -880,6 +880,10 @@
+ # SCU added 20110502 - Start
+ _("""If unsubscribing, leave Password blank and<br>click the 'Unsubscribe' button below.""")])
+ # SCU added 20110502 - Finish
ptable.AddRow([Center(SubmitButton('login', _('Log in')))])
ptable.AddCellInfo(ptable.GetCurrentRowIndex(), 0, colspan=2)
Mark, if you think this is useful, let me know what I need to do to get
it put into 2.1.15 (you are still working on) and / or 3.0+.
Disclaimer: the change(s) I made works for me with my implementation of
mailman. Your mileage may vary. Use at solely your own risk. Just
because it worked for me, doesn't guarantee it will work for you.
More information about the Mailman-Users