Modification to Listhandler to add "anonauthor"

cyberchucktx - July 31, 2005 - 03:22
Project:Listhandler
Version:HEAD
Component:Code
Category:feature request
Priority:normal
Assigned:philipnet
Status:active
Description

I would like to propose the addition of an "anonymous user" option within listhandler.

My specific situation/configuration:

  • We have several MAILMAN mailing lists which are moderated and which require
    administrative approval to join
  • We have a Civicspace website set up and forums which correspond to the mailman lists.
  • Only a small subset of the Mailman subscribers have userids on the Civicspace site.

Want we want:

  • Users on the MAILMAN list post and will have their postings automagically submitted to the
    correct Civicspace forum, thus effectively turning the CS forum into an archive within CS.
  • Users of the Civicspace forums can post and have their entries sent to the Mailman list.

What currently happens:

  • When a Mailman subscriber sends to the Mailman mailing list, it gets propagated to the CS website.
  • If the subscriber does NOT have a valid CS userid, it is automagically created; the admin
    can specify whether the newly-created user will be blocked (meaning whether the user
    is allowed to login and post).

    If the user IS blocked, then his/her posting will not be
    done to the indicated forum.

My / our proposed solution: create a new option in listhandler of "anonymous user", i.e., a
valid CS userid which will post the EMAIL item as outlined above.

This has several benefits:

  1. A new CS user is not automatically created (in our case, beneficial, as we have > 500 on
    one of our mailing list and most of them won't even WANT a CS userid).
  2. We can set the privs of the anonymous user to only post to certain forums.

I have implemented this in a modified listhandler module; it appears to work just fine as follows:

  • A listhandler option has been added ("listhandler_anonauthor"). A text area has been defined on the configuration screen and the value stored as per other values in the configuration process.
  • If an anonymous posting (from the Mailman user) comes in:
    • If the anonauthor has been specified in the listhandler configuration AND the user is valid,
      then the posting is performed under that userid.
    • if the anonyauthor field has been left blank then the usual listhandler processing takes place.

As a new participant in this process (module submission) where should I post my version of the module?

Charlie (cyberchucktx)

#1

zeroj - March 19, 2006 - 20:32

sounds interesting. Ideally, you should attach a patch to this issue. If you are new to generating patch files, you can attach the entire file.

#2

philipnet - July 27, 2008 - 16:36
Assigned to:Anonymous» philipnet
 
 

Drupal is a registered trademark of Dries Buytaert.