[Mailman-Users] Change Mailman URLs on Subscribe Response

2014-10-25 Thread Russell Clemings
Since you're using Drupal (http://www.raystedman.org/CHANGELOG.txt), you
might want to look at the User Mailman Register module:

https://www.drupal.org/project/user_mailman_register

It allows you to manage Mailman subscriptions from within your Drupal
installation. Your users will never need to see the Mailman pages.

(By the way your Drupal installation is extremely out of date ... and you
really should hide that CHANGELOG.txt file so that people like me can't
find out so easily that your Drupal installation is extremely out of date.)

rac
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Change Mailman URLs on Subscribe Response

2014-10-25 Thread Tracey McCartney
Ooh, that's an interesting module.  I currently have a Drupal site where
people who want to join my list sign into Drupal using a special account
I've set up, then go through a Webform that explains the list rules and then
get forwarded to the Mailman subscription page.  I wonder if this would be a
more elegant solution.  Thanks for posting that.


Tracey

-Original Message-
From: Mailman-Users
[mailto:mailman-users-bounces+tracey=fairhousing@python.org] On Behalf
Of Russell Clemings
Sent: Saturday, October 25, 2014 4:33 PM
To: mailman-users@python.org
Subject: [Mailman-Users] Change Mailman URLs on Subscribe Response

Since you're using Drupal (http://www.raystedman.org/CHANGELOG.txt), you
might want to look at the User Mailman Register module:

https://www.drupal.org/project/user_mailman_register

It allows you to manage Mailman subscriptions from within your Drupal
installation. Your users will never need to see the Mailman pages.

(By the way your Drupal installation is extremely out of date ... and you
really should hide that CHANGELOG.txt file so that people like me can't find
out so easily that your Drupal installation is extremely out of date.)

rac
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy:
http://wiki.list.org/x/QIA9 Searchable Archives:
http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe:
https://mail.python.org/mailman/options/mailman-users/tracey%40fairhousing.c
om

--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Change Mailman URLs on Subscribe Response

2014-10-25 Thread Russell Clemings
It would be a little different. The main difference is that the Mailman
subscriptions are linked to the Drupal user account, so each subscriber
would need to be a Drupal user.

I think there's also a way to import existing Mailman subscriptions and
create Drupal users for them, but I may be remembering a different module,
Mailman Manager: https://www.drupal.org/project/mailman_manager

rac



 -- Forwarded message --
 From: Tracey McCartney tra...@fairhousing.com
 To: mailman-users@python.org
 Cc:
 Date: Sat, 25 Oct 2014 18:23:51 -0500
 Subject: Re: [Mailman-Users] Change Mailman URLs on Subscribe Response
 Ooh, that's an interesting module.  I currently have a Drupal site where
 people who want to join my list sign into Drupal using a special account
 I've set up, then go through a Webform that explains the list rules and
 then
 get forwarded to the Mailman subscription page.  I wonder if this would be
 a
 more elegant solution.  Thanks for posting that.


 Tracey

 -Original Message-
 From: Mailman-Users
 [mailto:mailman-users-bounces+tracey=fairhousing@python.org] On Behalf
 Of Russell Clemings
 Sent: Saturday, October 25, 2014 4:33 PM
 To: mailman-users@python.org
 Subject: [Mailman-Users] Change Mailman URLs on Subscribe Response

 Since you're using Drupal (http://www.raystedman.org/CHANGELOG.txt), you
 might want to look at the User Mailman Register module:

 https://www.drupal.org/project/user_mailman_register

 It allows you to manage Mailman subscriptions from within your Drupal
 installation. Your users will never need to see the Mailman pages.

 (By the way your Drupal installation is extremely out of date ... and you
 really should hide that CHANGELOG.txt file so that people like me can't
 find
 out so easily that your Drupal installation is extremely out of date.)

 rac
 --
 Mailman-Users mailing list Mailman-Users@python.org
 https://mail.python.org/mailman/listinfo/mailman-users
 Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy:
 http://wiki.list.org/x/QIA9 Searchable Archives:
 http://www.mail-archive.com/mailman-users%40python.org/
 Unsubscribe:

 https://mail.python.org/mailman/options/mailman-users/tracey%40fairhousing.c
 om





--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] Change Mailman URLs on Subscribe Response

2014-10-24 Thread Greg Sims
I created the following subscription webpage for list name devotion-chinese:

http://www.raystedman.org/daily-devotions/chinese-subscription

After clicking Submit, the user will be transferred to:

http://lists.raystedman.org/mailman/subscribe/devotion-chinese

I updated subscribe.html so I can control the content of this page.

Is it possible for the user to be transferred to a URL that is under the
control of our CMS?  Perhaps I could use a pattern for all of the URLs
associated with this list like:

http://www.raystedman.org/daily-devotions/devotion-chinese/*


This would allow the format of the subscription page and subscription
response page to have the same format (color, headers and the like).  I
tried to do this with a URL Rewrite in Apache but could not get it to
work.  I also searched the archives and did not find anything.

Thanks for helping me sort this out, Greg
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Change Mailman URLs on Subscribe Response

2014-10-24 Thread Mark Sapiro
On 10/24/2014 08:20 AM, Greg Sims wrote:
 I created the following subscription webpage for list name devotion-chinese:
 
 http://www.raystedman.org/daily-devotions/chinese-subscription
 
 After clicking Submit, the user will be transferred to:
 
 http://lists.raystedman.org/mailman/subscribe/devotion-chinese
 
 I updated subscribe.html so I can control the content of this page.
 
 Is it possible for the user to be transferred to a URL that is under the
 control of our CMS?  Perhaps I could use a pattern for all of the URLs
 associated with this list like:
 
 http://www.raystedman.org/daily-devotions/devotion-chinese/*


It is possible, but it's not straightforward and it requires that your
web pages actually be scripts that invoke Mailman's CGIs, receive the
results and present them to the user.

For example, your page at
http://www.raystedman.org/daily-devotions/chinese-subscription has a
subscribe form which posts the form data to
http://lists.raystedman.org/mailman/subscribe/devotion-chinese which is
the URL for Maiman's 'subscribe' CGI for the 'devotion-chinese' list.

You can make the part through 'mailman/' anything you want by setting
that as the list's web_page_url attribute (See the 'Background' and 'The
next step' sections at http://wiki.list.org/x/lYA9).

However, the next parts are always the name of the Mailman CGI
('subscribe' in this case) and the list name in that order.

So, briefly, what you could do is have your form post to a CGI or PHP or
whatever script of your own at say
http://www.raystedman.org/daily-devotions/devotion-chinese/subscribe.
That process in turn could post the data to
http://lists.raystedman.org/mailman/subscribe/devotion-chinese, receive
the results back and then present them to the user in your desired format.

Similar things can be done with the other 'list member' CGIs (confirm,
listinfo, options, private and roster). Presumably you wouldn't need to
do this for the list admin/moderator CGIs like admin, admindb, create,
edithtml and rmlist.

Note that you can't have Mailman generate URLs matching a pattern like

http://www.raystedman.org/daily-devotions/devotion-chinese/*

Although it could match a pattern like

http://www.raystedman.org/daily-devotions/*/devotion-chinese

i.e., the CGI name will always precede the list name. I suppose you
could give it a web_page_url like
http://www.raystedman.org/daily-devotions/devotion-chinese/ which would
result in URLs like, e.g.,
http://www.raystedman.org/daily-devotions/devotion-chinese/subscribe/devotion-chinese
with the first devotion-chinese being part of web_page_url and the
second being the actual list name.

-- 
Mark Sapiro m...@msapiro.netThe highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org