[Mailman-Users] Feature Request: Selective Mass Subscription
Mark Sapiro
mark at msapiro.net
Fri Jul 11 05:08:53 CEST 2008
hone+mailman at oak.cats.ohiou.edu wrote:
>
>How can the Mass Subscriptions options for all new lists be changed to only
>Invite? I'd like to eliminate the Subscribe option. I looked in the
>Defaults.py file but did not find this.
There are no settings for it nor for defaulting subscribe/invite to
invite (although as a result of this thread, there may be in Mailman
2.2). Here's a patch I use to default to "invite". Eliminating
subscribe as an option is a bit more involved and I don't have a patch
for it offhand, but one way to do it would be to change
'subscribe_or_invite' from a radio button selection to a hidden field
with a fixed value of 1.
--- mailman-2.1.10b1/Mailman/Cgi/admin.py 2007-12-04
12:03:50.000000000 -0
800
+++ /usr/local/mailman/Mailman/Cgi/admin.py 2007-12-14
22:42:29.000000000 -0
800
@@ -1137,7 +1137,7 @@
Label(_('Subscribe these users now or invite them?')),
RadioButtonArray('subscribe_or_invite',
(_('Subscribe'), _('Invite')),
- 0, values=(0, 1))
+ 1, values=(0, 1))
])
table.AddCellInfo(table.GetCurrentRowIndex(), 0, bgcolor=GREY)
table.AddCellInfo(table.GetCurrentRowIndex(), 1, bgcolor=GREY)
--
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