The attached patch add an extra option to listhandler settings.
The "Account map" option let you to pre-assign an existent drupal account to nodes generated by anonymous mails, thus preventing new users creation by listhandler.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | listhandler_mapuser6.patch | 5.24 KB | samuelet |
| listhandler_mapuser.patch | 5.57 KB | samuelet |
Comments
Comment #1
samuelet commentedComment #2
cor3huis commentedTHANKS, for the patch. Although the patch is against v5.x-1.x-dev the issue is now set to version 6.x-1.x since this feature could prove very useful for listhandler.
Comment #3
samuelet commentedWell, i'm glad to see that after many time there is at least one user interested in this feature, so i'm attach the 6.x version (built against the "2011-Feb-02" listhandler dev version).
Comment #4
cor3huis commented@samuelet, THX really appreciated. As you can see also by current work e.g. from ilo on mailhandler and listhander trying to get the modules to a high level ;P BTW so many changes patch and changes with my Drupal so it will be a while before I can test the patch myself.
Comment #5
denisgre commentedHello Samulet,
This is also a very valuable feature for us since we don't want to manage all those blocked accounts. Also, I'm concerned if a new user comes in via the mailing list that we will have a conflict when they eventually do sign-up.
My question for you is how to apply this patch? This is not clearly documented inline code and I don't have a lot of experience with this.
Thanks for any help you can provide and I hope that we'll see this in the D7 release.
Comment #6
samuelet commentedThe quick way under linux is to download the patch in your listhandler, test it with:
patch -p0 --dry-run < mypatch.patch
and if no errors are diplayed, apply it with:
patch -p0 < mypatch.patch
If there are errors (patch was built against an old module release), you need to manual fix them, for example adding lines with sign +and deleting lines with -.
This is a general guide about patch on drupal:
http://drupal.org/node/620014
Comment #7
denisgre commentedThanks Samuelet, I ended up doing it the hard way but that is great for next time.
Denis.