Subject: The mailing list for listmasters using Sympa
List archive
RE: [sympa-users] Import subscribers with settings ?
- From: Steve Shipway <address@concealed>
- To: "address@concealed" <address@concealed>
- Cc: "address@concealed" <address@concealed>
- Subject: RE: [sympa-users] Import subscribers with settings ?
- Date: Wed, 23 Sep 2015 05:56:55 +0000
>>> Bonus question: is there a reasonable way to make a list mostly
>>> unmoderated?
>> We've done this by adding a "moderated" custom field and testing its
>> value in scenarii.
>...
>| moderated_subscriber | enum('true','false') | YES | |false |
> |
>
>...
>match([subscriber->moderated_subscriber],/true/) smtp,smime,md5
>->editorkey
OK, so you added an extra column to the subscribers table? I thought you
meant that you did it by adding a custom_attribute to the mailing list, and
then checked against that. Probably adding a custom attribute (with an ENUM
type) would be more portable than modifying the table? Then you could just
use...
match([custom_vars->moderated],/true/) smtp, smime, md5 -> editorkey
... and have the list custom var defined ...
custom_attribute
enum_values true,false
comment Is this subscriber moderated?
name Moderated
type enum
optional required
id moderated
... although, having thought about this, it would still allow the user to
change their own moderation flag, which may not be desirable.
Something for the wishlist of Sympa 6.2 would be subscriber custom vars with
(a) a default value, and (b) that are read-only to the subscriber (IE, have
optional/required/readonly where the third case can only be set by the list
admin). I might try coding this up if I have time once I've ported our other
plugins to 6.2.
Steve
Steve Shipway
University of Auckland ITS
UNIX Systems Design Lead
address@concealed
Ph: +64 9 373 7599 ext 86487
-
[sympa-users] Import subscribers with settings ?,
John Levine, 09/22/2015
-
RE: [sympa-users] Import subscribers with settings ?,
Steve Shipway, 09/22/2015
-
RE: [sympa-users] Import subscribers with settings ?,
John R Levine, 09/22/2015
- RE: [sympa-users] Import subscribers with settings ?, Steve Shipway, 09/22/2015
- RE: [sympa-users] Import subscribers with settings ?, Steve Shipway, 09/23/2015
-
RE: [sympa-users] Import subscribers with settings ?,
John R Levine, 09/22/2015
-
Re: [sympa-users] Import subscribers with settings ?,
rogerk, 09/22/2015
-
RE: [sympa-users] Import subscribers with settings ?,
Steve Shipway, 09/22/2015
-
Message not available
- RE: [sympa-users] Import subscribers with settings ?, Steve Shipway, 09/23/2015
-
Message not available
-
RE: [sympa-users] Import subscribers with settings ?,
Steve Shipway, 09/22/2015
-
RE: [sympa-users] Import subscribers with settings ?,
Steve Shipway, 09/22/2015
Archive powered by MHonArc 2.6.19+.