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 |
Jump to:
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
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
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
+1 Tracking
txcrew
#4
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
From what I've seen, it skips dupes.
txcrew
#6
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
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
i need this too
#9
#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
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
I need this as well. Any progress?
Thanks!
Tal.