Skip to Content.
Sympa Menu

en - Re: [sympa-users] per user moderation

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Czakó Krisztián <address@concealed>
  • To: Ewan <address@concealed>
  • Cc: David Verdin <address@concealed>, address@concealed
  • Subject: Re: [sympa-users] per user moderation
  • Date: Fri, 25 Jan 2008 19:21:29 +0100

Czakó Krisztián írta:
> Ewan írta:
>> David Verdin wrote:
>> I've actually done this with my Sympa install - I added an additional
>> database field and then call it in a custom scenario:
>>
>> equal ([subscriber->moderated_subscriber], 0) smtp,md5,smime -> do_it
>> equal ([subscriber->moderated_subscriber], 1) smtp,md5,smime ->
>> editorkey
>> true() smtp,md5,smime ->
>> reject(reason='send_subscriber')
>
> This sounds good. Thanx.
>
>> However, there's no front end in wwsympa for it - I've built a custom php
>> frontend around a CMS called tikiwiki which allows me to change members'
>> moderated status on a per list basis.
>
> Isn't it possible to add this field to wwsympa with simple html template
> modifications? The documentation says that custom database fields can be
> added this way to wwsympa.

Answering my own mail :-)
It's really simple. Addig the "moderated_subscriber" to the subscribers
table and adding the following line to sympa.conf makes it:
db_additional_subscriber_fields moderated_subscriber

wwsympa shows the new field in manage subscribers menu, and the admin
can set it.

One question left: how can I set a default value for this new field per
list for new subscribers?

Regards,
Krisztian


Attachment: signature.asc
Description: OpenPGP digital signature




Archive powered by MHonArc 2.6.19+.

Top of Page