Example form, combined with user module
Posted: 06 March 2008 12:14 PM   [ Ignore ]
Newbie
Rank
Total Posts:  17
Joined  2007-01-27

I’m having a hard time figuring out how to use constant contact and the USER module together to allow subscription to a mailing list. can you have a look at the code and let me know your thoughts? The constant contact documentation is really really lacking. (Also, feature request, ability to select more then one mailing list with checkboxes on the signup form)

USER code works fine
Constant Contact stuff doesnt seem to work. Did I screw up with the options section? Also attached is a screenshot of my settings.

{exp:user:register form_name="register_member" form_id="register_member" return="account/register_confirmation"}

<h2>Steps to accessing CTHMIS.com</h2>

<
ol>
<
li>Fill out the below form and click the "Request Access" button</li>
<
li>Allow 1 business day for us to review and activate your account</li>
<
li><a href="{path="account"}"Login</a>Using the link on the left menu, and you will be able to access restricted downloads and pages</li>
</
ol>

<
h4>Basic Information</h4>

<
p>
<
strong>Provide Your Email:*</strong><br />
Your email must be correct in order for your account to be valid<br />
<
input type="text" name="username" value="" size="30"/>
</
p>

<
p>
<
strong>Full Name:*</strong><br />
<
input type="text" name="screen_name" value="" size="30"/>
</
p>

<
p>
Job Title:<br />
<
input type="text" name="member_title" value="" size="30"/>
</
p>

<
p>
<
strong>What CoC do you belong to?*</strong><br />
<
input type="text" name="coc_membership" value="" size="30"/>
</
p>


<
p>
Subscribe to the SWCT HMIS mailing List?*<br />
<
select size="1" name="mailinglist_subscribe" title="SWCT HMIS">
<
option value="Yes">Yes</option>
<
option value="No">No</option>
</
select>
</
p>




<
h4>Choose a Password</h4>

<
p>
<
strong>New Password:</strong><br />
<
input type="password" name="password" value="" />
</
p>

<
p>
<
strong>Confirm Password Again:</strong><br />
<
input type="password" name="password_confirm" value="" />
</
p>


<
input type="submit" value="Request Access" />

</
p>

{/exp:user:register}

Image Attachments
screenshot_01.png
Profile
 
 
Posted: 07 March 2008 07:29 AM   [ Ignore ]   [ # 1 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  2320
Joined  2006-10-18

We’re embarrassed to say… chances are that the User module isn’t “playing nice” with the Constant Contact extension…

We will look further into this smile

 Signature 
Profile
 
 
Posted: 07 March 2008 08:19 AM   [ Ignore ]   [ # 2 ]
Newbie
Rank
Total Posts:  17
Joined  2007-01-27

Thanks, that is appreciated. Do you think this is something fixable in the near-term? If not could I get a refund as a worst case scenario?

Profile
 
 
Posted: 07 March 2008 08:27 AM   [ Ignore ]   [ # 3 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  702
Joined  2004-03-30

We can adjust next week, Tuesday - Wednesday time frame.

mk

 Signature 

Mitchell Kimbrough

Profile
 
 
Posted: 13 March 2008 01:46 PM   [ Ignore ]   [ # 4 ]
Newbie
Rank
Total Posts:  17
Joined  2007-01-27

** Bump **

Yup, I’m a pain. sorry! Launch is soon and hoping to get this bug fixed. Any luck?

Profile
 
 
Posted: 13 March 2008 01:48 PM   [ Ignore ]   [ # 5 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  2320
Joined  2006-10-18

Hi James,

We have still not looked into this issue yet. It shouldn’t be too much longer…

Thank you for your patience. smile

 Signature 
Profile
 
 
Posted: 14 March 2008 08:01 AM   [ Ignore ]   [ # 6 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  2320
Joined  2006-10-18

James,

Sent you an email…

Please let us know if it works smile

 Signature 
Profile
 
 
Posted: 19 March 2008 01:31 PM   [ Ignore ]   [ # 7 ]
Newbie
Rank
Total Posts:  17
Joined  2007-01-27

Tried the plugin with no success, it may very well be how i have the form setup

here is the code for the subscribe box

(quick note: I manually approve them once they register, just fyi)

<p>
Subscribe to the SWCT HMIS mailing List?*<br />
<
select size="1" name="mailinglist_subscribe" title="SWCT HMIS">
<
option value="Yes">Yes</option>
<
option value="No">No</option>
</
select>
</
p>

My custom profile field is called “mailinglist_subscribe”

FULL FORM area code (just in case)

{exp:user:register form_name="register_member" form_id="register_member" return="{path=account/register_confirm}" group_id="6|7"}

<h2>Steps to Accessing CTHMIS.com</h2>

<
ol>
<
li>Fill out the below form and click the "Request Access" button</li>
<
li>Allow 1 business day for us to review and activate your account</li>
<
li><a href="{path=account}" title="Login Now">Login</a> using the link on the left menu, and you will be able to access restricted downloads and pages</li>
</
ol>

<
h4>Basic Information</h4>

<
p>
<
strong>Provide Your Email:*</strong><br />
Your email must be correct in order for your account to be valid<br />
<
input type="text" name="username" value="" size="30"/>
</
p>

<
p>
<
strong>Full Name:*</strong><br />
<
input type="text" name="screen_name" value="" size="30"/>
</
p>

<
p>
Job Title:<br />
<
input type="text" name="member_title" value="" size="30"/>
</
p>


<
p>
What Continuum of Care do you belong to?<br />
<
input type="text" name="coc_membership" value=""/>
</
p>



<!--
<
p>
<
strong>What CoC do you belong to?*</strong><br />
<
select name="group_id" id="group_id">
<
option selected="">Choose Your CoC, or select "Guest"</option>
<
option value="6">Balance of State</option>
<
option value="7">Bridgeport</option>
</
select>
</
p>
-->





<
p>
Subscribe to the SWCT HMIS mailing List?*<br />
<
select size="1" name="mailinglist_subscribe" title="SWCT HMIS">
<
option value="Yes">Yes</option>
<
option value="No">No</option>
</
select>
</
p>





<
h4>Choose a Password</h4>

<
p>
<
strong>New Password:</strong><br />
<
input type="password" name="password" value="" />
</
p>

<
p>
<
strong>Confirm Password Again:</strong><br />
<
input type="password" name="password_confirm" value="" />
</
p>


<
input type="submit" value="Request Access" />

</
p>

{/exp:user:register}

Profile
 
 
Posted: 19 March 2008 06:44 PM   [ Ignore ]   [ # 8 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  702
Joined  2004-03-30

James,

Now that the Constant Contact extension is coded to work with the User module, you need to make sure several things are in place. Back up this message from me by reviewing the docs.

Make sure that you have completed your extension settings. You need to have a custom field that will be used to collect a yes / no value. That field will be used to tell the extension whether or not to execute for a given registrant. It needs to be a custom member field.

Next, the Constant Contact Interest must be set so that people can subscribe to one of your specific Constant Contact interest lists.

Last, the additional Constant Contact fields should be mapped to your custom fields so that you populate your Constant Contact database with useful data.

mk

 Signature 

Mitchell Kimbrough

Profile
 
 
Posted: 01 April 2008 08:32 AM   [ Ignore ]   [ # 9 ]
Newbie
Rank
Total Posts:  17
Joined  2007-01-27

Still not working smile. Let me know what you think, I tired to be complete as possible with how things were setup.

Make sure that you have completed your extension settings. You need to have a custom field that will be used to collect a yes / no value. That field will be used to tell the extension whether or not to execute for a given registrant. It needs to be a custom member field.

Created: called “coc_membership”, type is dropdown. Yes/No are the 2 choices. Set it in extension prefs

Next, the Constant Contact Interest must be set so that people can subscribe to one of your specific Constant Contact interest lists.

“mailing_list" is custom field to hold interest list name.
“CT HMIS - General Announcements” is name of list we want used for subscribe and is supplied as the value of the custom field.

Last, the additional Constant Contact fields should be mapped to your custom fields so that you populate your Constant Contact database with useful data.
So Done

Here is my updated code.

{exp:user:register form_name="register_member" form_id="register_member" return="{path=account/register_confirm}" group_id="6|7"}

<h2>Steps to Accessing CTHMIS.com</h2>

<
ol>
<
li>Fill out the below form and click the "Request Access" button</li>
<
li>Allow 1 business day for us to review and activate your account</li>
<
li><a href="{path=account}" title="Login Now">Login</a> using the link on the left menu, and you will be able to access restricted downloads and pages</li>
</
ol>

<
h4>Basic Information</h4>

<
p>
<
strong>Provide Your Email:*</strong><br />
Your email must be correct in order for your account to be valid<br />
<
input type="text" name="username" value="" size="30"/>
</
p>

<
p>
<
strong>Full Name:*</strong><br />
<
input type="text" name="screen_name" value="" size="30"/>
</
p>

<
p>
Job Title:<br />
<
input type="text" name="member_title" value="" size="30"/>
</
p>


<
p>
What Continuum of Care do you belong to?<br />

<
select name="coc_membership">
{select_coc_membership}
<option value="{coc_membership}">{value}</option>
{/select_coc_membership}
</select>

</
p>


<
p>
Subscribe to the CT HMIS mailing List?*<br />
<
select size="1" name="mailinglist_subscribe" title="CT HMIS - General Announcements">
<
option value="Yes">Yes</option>
<
option value="No">No</option>
</
select>
</
p>





<
h4>Choose a Password</h4>

<
p>
<
strong>New Password:</strong><br />
<
input type="password" name="password" value="" />
</
p>

<
p>
<
strong>Confirm Password Again:</strong><br />
<
input type="password" name="password_confirm" value="" />
</
p>


<
input type="submit" value="Request Access" />

</
p>

{/exp:user:register}

Profile