allow users to opt in to constant contact list on site registration

Mike Sances - February 15, 2008 - 15:24
Project:Constant Contact
Version:5.x-1.x-dev
Component:User interface
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

This is a great module! A lot of nonprofits and grassroots organizations use both Drupal and Constant Contact, so the more they can be synchronized the better.

Would it be possible to have a feature where only users of a certain role are imported into a list? I would like to use this module to automatically import all users who have checked a "sign me up for the newsletter" box on registration. I assume the best way would be to use the role signup module, create a role called "subscriber" and then import all those users by role.

#1

konsumer - February 16, 2008 - 22:06

That's a great idea! I got several requests for automatic signups, all at once. I would like to avoid this, as I hate spam, and I want to keep the module opt-in. Another way to accomplish what you are suggesting would be to use hook_user to add to the form on registration. Maybe there could be checkboxes on the settings page for "add signup to registration page" Does this seem like a sensible approach?

#2

Mike Sances - February 21, 2008 - 17:09
Title:import users by role» allow users to opt in to constant contact list on site registration

Thanks for your response. I suppose the particular approach for creating the checkbox on the registration form is not important to my goal, which is to let users opt in when they register on the site (changed issue title to reflect this). Using the role signup module + adding an import users by roles seems like the simplest way to do this. I'm open to any other approaches.

#3

txcrew - March 4, 2008 - 22:38

+1 Tracking

txcrew

#4

SteveK - March 20, 2008 - 18:51

would love to have this added +1. Also one question, when importing email addresses using the import method, if there's a duplicate entry does it skip or re-import the email address?

#5

txcrew - March 21, 2008 - 03:54

From what I've seen, it skips dupes.

txcrew

#6

dmclark - December 15, 2008 - 20:03

This is exactly the functionality I need -- adding checkboxes for each list to the user registration page.

It would be a constant_contact_user() func. I am close to taking a shot at it.

#7

kamleshpatidar - February 24, 2009 - 07:07

HI David,

i want to use constant contact email service on User registration page. when user checked in a checkbox, then he should be automatically add in that list.

Best,
Kamlesh

#8

pauldawg - April 10, 2009 - 04:42

i need this too

#9

pauldawg - April 10, 2009 - 05:48

#229996: Update for Drupal 6 contains some PHP code that can be pasted into a Webform but the same code can be pasted into an Action using a triggered rule in the Rules module. Just select "User account created" for the trigger and "Execute PHP code" for the Action. I just tried this and was able to successfully sign up a a test user account to constant contact upon registration! Worked like a charm!

#10

pauldawg - April 10, 2009 - 05:50

And FYI I did this with the Deadwood-created 6.x port module which is also attached to the same issue #229996: Update for Drupal 6

#11

Taliesan - July 9, 2009 - 17:13

I need this as well. Any progress?

Thanks!

Tal.

 
 

Drupal is a registered trademark of Dries Buytaert.