[Mailman-Users] Mass Add digest members
Ed Greenberg
edg at greenberg.org
Tue May 18 14:16:00 CEST 2004
Thanks to all for the suggestions. On most of my lists, on my own server, I
would just use the command line. The list in question is on somebody else's
server. I talked him into moving from ezmlm to mailman, and I don't want to
bother him more than necessary.
Thanks,
</edg>
--On Tuesday, May 18, 2004 12:16 AM -0400 Todd <Freedom_Lover at pobox.com>
wrote:
> -----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-----
>
> ------------------------------------------------------
> Mailman-Users mailing list
> Mailman-Users at python.org
> http://mail.python.org/mailman/listinfo/mailman-users
> Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
> Searchable Archives:
> http://www.mail-archive.com/mailman-users%40python.org/
More information about the Mailman-Users
mailing list