Here are patches for D5 and D6 that optionally allow a list of subscriptions to appear on the registration page
The patches are on the dev versions of ezmlm. Once applied go to the configuration page for ezmlm and set up there, then go to add user and you should see it there.
The D5 version has been tested with a mailserver, the D6 version has not but that part of the code is unchanged so it should work.
Please test and let the list know
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | ezmlm_patched_files.zip | 4.21 KB | rossweb |
| ezmlm.module-reg-D5.patch | 5.73 KB | hutch | |
| ezmlm.module-reg-D6.patch | 8.58 KB | hutch |
Comments
Comment #1
hutch commentedOne small correction for anyone attempting the D6 patch, you will need to add this to the top of function _ezmlm_get_lists
A workaround for the way drupal_get_form() does things in D6.
Comment #2
hutch commentedThis feature has now been added to the development versions of D5 and D6
Comment #3
rossweb commentedI've tried to implement this patch but nothing is appearing on the registration page - is there a later version? My version is ezmlm.module,v 1.18.4.1.2.2 2007/12/29 15:59:07 and ezmlm.admin.inc,v 1.1.2.3 2008/04/05 23:44:39 both with Name: DRUPAL-6--1-0. The unpatched files work OK.
Comment #4
hutch commentedThis feature is now available in the latest development version, both D5 and D6
Try that, ensure you visit and save the configuration page and then go to Users -> Add user
Please let the list know how it goes ;-)
Comment #5
rossweb commentedDownloaded ezmlm-6.x-1.0.tar.gz zip file, removed ezmlm from drupal modules and any references in the database. Installed ezmlm module, cleared drupal cache, no difference, still nothing in registration page.
Removed the new ezmlm module and put the one with the patched files back in. A "Registration Settings" box appears under "Ezmlm lists" in "Site configuration" (which it did before). Still nothing in the registration form.
Also if I tick a list in the registration settings box along with "Display lists in registration form" the tick dissappears after saving settings.
I can only assume I've screwed up applying the ezmlm.module-reg-D6.patch, but I've had 3 goes at it with the same result each time. I've attached my patched files just in case.
Comment #6
hutch commentedYour patching is fine, but try the development version instead, it has a number of other minor fixes
http://ftp.drupal.org/files/projects/ezmlm-6.x-1.x-dev.tar.gz
If things are reappearing and disappearing I would suggest you make sure your browser isn't caching.
Comment #7
rossweb commentedThanks Hutch, everything's running smoothly now.
The link you gave is different to the one at http://drupal.org/project/ezmlm, that's why "This feature has now been added to the development versions of D5 and D6" was confusing me.
Ross
Comment #8
hutch commentedNow in stable for D5 and D6