[Mailman-Users] Mass Add digest members
Todd
Freedom_Lover at pobox.com
Tue May 18 06:16:14 CEST 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ed Greenberg wrote:
> I know that I can add a file-full of digest members from the command
> line, but can I do so from the web GUI? I don't see how, on the Mass
> Subscribe page. Am I missing something?
Nope. There's no option for this now that I know of. Rod's technique
is the most viable if you don't have command line access. If you do
this a lot and want to add an option like this to the web gui, it'd be
pretty easy. Something like the below patch would get you an option
to do this.
- --- mailman-2.1.5/Mailman/Cgi/admin.py~ Wed Dec 24 12:27:45 2003
+++ mailman-2.1.5/Mailman/Cgi/admin.py Mon May 17 23:31:53 2004
@@ -1158,6 +1158,15 @@
])
table.AddCellInfo(table.GetCurrentRowIndex(), 0, bgcolor=GREY)
table.AddCellInfo(table.GetCurrentRowIndex(), 1, bgcolor=GREY)
+ table.AddRow([
+ Label(_('Subscribe these users for digest delivery?')),
+ RadioButtonArray('subscribe_as_digest',
+ (_('No'), _('Yes')),
+ mlist.digest_is_default,
+ values=(0, 1))
+ ])
+ table.AddCellInfo(table.GetCurrentRowIndex(), 0, bgcolor=GREY)
+ table.AddCellInfo(table.GetCurrentRowIndex(), 1, bgcolor=GREY)
table.AddRow([Italic(_('Enter one address per line below...'))])
table.AddCellInfo(table.GetCurrentRowIndex(), 0, colspan=2)
table.AddRow([Center(TextArea(name='subscribees',
@@ -1307,7 +1316,7 @@
# Default is to subscribe
subscribe_or_invite = safeint('subscribe_or_invite', 0)
invitation = cgidata.getvalue('invitation', '')
- - digest = mlist.digest_is_default
+ digest = safeint('subscribe_as_digest', mlist.digest_is_default)
if not mlist.digestable:
digest = 0
if not mlist.nondigestable:
- --
Todd OpenPGP -> KeyID: 0xD654075A | URL: www.pobox.com/~tmz/pgp
======================================================================
I do not believe in the collective wisdom of individual ignorance.
-- Thomas Carlyle
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: When crypto is outlawed bayl bhgynjf jvyy unir cevinpl.
iD8DBQFAqY4Ouv+09NZUB1oRAr8AAJ9e/bg0WYNJlfE/2CEkS2t8su49xACgqDgp
+q5xSSII9UjSPF/3qLDnMV8=
=DX0L
-----END PGP SIGNATURE-----
More information about the Mailman-Users
mailing list