Skip Menu |

This queue is for tickets about the WWW-Mailman CPAN distribution.

Report information
The Basics
Id: 80218
Status: new
Priority: 0/
Queue: WWW-Mailman

Owner: Nobody in particular
Requestors: kurt.andersen [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

Subject: Small patch to make admin subscribe/unsubscribe work more easily
Date: Tue, 16 Oct 2012 14:06:58 +0000
To: "bug-WWW-Mailman [...]" <bug-WWW-Mailman [...]>
From: "Andersen, Kurt" <kurt.andersen [...]>
Download (untitled) / with headers
text/plain 1007b
Using version 1.05, the following patch allows one to directly invoke the "members/add" page for bulk or automated subscriptions: Show quoted text
------------------cut here---------------- --- 2012-10-16 09:39:25.000000000 -0400 +++ 2012-10-16 09:41:18.000000000 -0400 @@ -373,7 +373,7 @@ # so, use a bit of currying for my $section ( qw( - general passwords language nondigest digest + general members passwords language nondigest digest bounce archive gateway autoreply contentfilter topics ) ) ------------------end of patch--------------- With this change, one can call for adding one or more users just like changing options on the individual user pages: my $options = $mm->admin('members/add'); $options->{subscribees} = $addr; # can do more than one, separate with \r\n $mm->admin('members/add', $options); I haven't tested it yet, but I suspect that members/remove would work just as well using the unsubscribee entry. Cheers, Kurt Andersen

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to