PDA

View Full Version : Mailchimp not working with WP-Subscribers & can't see form to test...



Being Blissful
05-31-2013, 01:44 AM
Hi there,

I've used this plugin successfully before and have followed all steps but it's not working :(

Yes - I've read the trouble shooting list first :)

I followed the instructions for linking the wp-subscribers form with mail chimp here:
http://www.wpsubscribers.com/tutorials/integrate-mailchimp-with-wp-subscribers.html

These instructions seem to be incomplete...? They do not work.

What happens is that after filling in details in the banner, instead of going directly to the mailchimp "thank you for signing up" page, the form links to the mailchimp sign up form where people are asked AGAIN to fill in their details.

Please help! I've done everything the same as previously so don't know why this isn't working correctly.

Also, I've changed all the settings in "other settings" so the form is meant to be visible all the time but now I can't see it at all. I can't keep re-testing it to see if the above issue has changed :(

The website is www.judethepuppynanny.com

Thank you!

nico_pn
05-31-2013, 04:40 PM
Hi,

The redirection to a "thank you page" has to be configured in MailChimp and not in WP Subscribers.

Here is the tutorial :
http://kb.mailchimp.com/article/can-i-design-and-host-my-own-thank-you-pages-instead-of-using-mailchimps

Best regards,
N.

Being Blissful
06-03-2013, 02:12 AM
Hi Nico,
No - I do not want to host my own thank you page - I am totally happy to use Mailchimps "thank you for signing up page"

My problem is as above - after signing up on the site, the form DOES NOT go to the mailchimp thank you page. It goes to the actual mailchimp sign up page and asks people to re-enter their name and email address which they've just done on the wp-subscribers form.

I also cannot see the form - I have adjusted all the settings so the form should be visible ALL the time but I cannot get it back :(

Thank you for your help!

nico_pn
06-04-2013, 10:43 AM
Hi,

Once again, this redirection configuration is on Mailchimp, not in WP Subscribers.

Can you give me your url address to see what happen.

Being Blissful
06-04-2013, 09:45 PM
Hi Nico,

Certainly - it's www.judethepuppynanny.com

I used the "detect form code" option in the opt-in setup area.

I've also tried using the direct link that mailchimp provides for my sign up form.

I've also tried the instructions in the tutorial above and used the "form action" url.

Thank you so much for your help!

nico_pn
06-05-2013, 09:01 AM
Hi,

I'm pretty sure this problem is on Mailchimp (this autoresponder is doing all the work for redirections and thankyou pages).

Have you change your thank you page in mailchimp, like below ?
317

nico_pn
06-05-2013, 09:03 AM
One more thing. Have you tried the Mailchimp html code (the one you've copyed on wp subscribers) alone?

Then, do you have the same problem?

Being Blissful
06-06-2013, 03:50 AM
Hi Nico!

No - I have not changed the thank you page or entered a specific URL thank you page - I want to use the default mailchimp thank you for signing up page.

I'm not sure what your next question refers too? I copied and pasted the html directly from mail chimp - how do I "try this alone"?

Thanks, Nico! I really need this sorted as soon as possible. Here's the html mailchimp sign up form I copied and pasted into the section in wp-subscribers:

<!-- Begin MailChimp Signup Form -->
<link href="http://cdn-images.mailchimp.com/embedcode/classic-081711.css" rel="stylesheet" type="text/css">
<style type="text/css">
#mc_embed_signup{background:#fff; clear:left; font:14px Helvetica,Arial,sans-serif; }
/* Add your own MailChimp form style overrides in your site stylesheet or in this style block.
We recommend moving this block and the preceding CSS link to the HEAD of your HTML file. */
</style>
<div id="mc_embed_signup">
<form action="http://judethepuppynanny.us2.list-manage.com/subscribe/post?u=42638958a01611c42bbaa96d6&amp;id=c93c5a5723" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
<h2>Subscribe to our mailing list</h2>
<div class="indicates-required"><span class="asterisk">*</span> indicates required</div>
<div class="mc-field-group">
<label for="mce-MMERGE1">First Name <span class="asterisk">*</span>
</label>
<input type="text" value="" name="MMERGE1" class="required" id="mce-MMERGE1">
</div>
<div class="mc-field-group">
<label for="mce-EMAIL">Email Address <span class="asterisk">*</span>
</label>
<input type="email" value="" name="EMAIL" class="required email" id="mce-EMAIL">
</div>
<div id="mce-responses" class="clear">
<div class="response" id="mce-error-response" style="display:none"></div>
<div class="response" id="mce-success-response" style="display:none"></div>
</div> <div class="clear"><input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="button"></div>
</form>
</div>
<script type="text/javascript">
var fnames = new Array();var ftypes = new Array();fnames[1]='MMERGE1';ftypes[1]='text';fnames[0]='EMAIL';ftypes[0]='email';
try {
var jqueryLoaded=jQuery;
jqueryLoaded=true;
} catch(err) {
var jqueryLoaded=false;
}
var head= document.getElementsByTagName('head')[0];
if (!jqueryLoaded) {
var script = document.createElement('script');
script.type = 'text/javascript';
script.src = 'http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js';
head.appendChild(script);
if (script.readyState && script.onload!==null){
script.onreadystatechange= function () {
if (this.readyState == 'complete') mce_preload_check();
}
}
}
var script = document.createElement('script');
script.type = 'text/javascript';
script.src = 'http://downloads.mailchimp.com/js/jquery.form-n-validate.js';
head.appendChild(script);
var err_style = '';
try{
err_style = mc_custom_error_style;
} catch(e){
err_style = '#mc_embed_signup input.mce_inline_error{border-color:#6B0505;} #mc_embed_signup div.mce_inline_error{margin: 0 0 1em 0; padding: 5px 10px; background-color:#6B0505; font-weight: bold; z-index: 1; color:#fff;}';
}
var head= document.getElementsByTagName('head')[0];
var style= document.createElement('style');
style.type= 'text/css';
if (style.styleSheet) {
style.styleSheet.cssText = err_style;
} else {
style.appendChild(document.createTextNode(err_styl e));
}
head.appendChild(style);
setTimeout('mce_preload_check();', 250);

var mce_preload_checks = 0;
function mce_preload_check(){
if (mce_preload_checks>40) return;
mce_preload_checks++;
try {
var jqueryLoaded=jQuery;
} catch(err) {
setTimeout('mce_preload_check();', 250);
return;
}
try {
var validatorLoaded=jQuery("#fake-form").validate({});
} catch(err) {
setTimeout('mce_preload_check();', 250);
return;
}
mce_init_form();
}
function mce_init_form(){
jQuery(document).ready( function($) {
var options = { errorClass: 'mce_inline_error', errorElement: 'div', onkeyup: function(){}, onfocusout:function(){}, onblur:function(){} };
var mce_validator = $("#mc-embedded-subscribe-form").validate(options);
$("#mc-embedded-subscribe-form").unbind('submit');//remove the validator so we can get into beforeSubmit on the ajaxform, which then calls the validator
options = { url: 'http://judethepuppynanny.us2.list-manage1.com/subscribe/post-json?u=42638958a01611c42bbaa96d6&id=c93c5a5723&c=?', type: 'GET', dataType: 'json', contentType: "application/json; charset=utf-8",
beforeSubmit: function(){
$('#mce_tmp_error_msg').remove();
$('.datefield','#mc_embed_signup').each(
function(){
var txt = 'filled';
var fields = new Array();
var i = 0;
$(':text', this).each(
function(){
fields[i] = this;
i++;
});
$(':hidden', this).each(
function(){
var bday = false;
if (fields.length == 2){
bday = true;
fields[2] = {'value':1970};//trick birthdays into having years
}
if ( fields[0].value=='MM' && fields[1].value=='DD' && (fields[2].value=='YYYY' || (bday && fields[2].value==1970) ) ){
this.value = '';
} else if ( fields[0].value=='' && fields[1].value=='' && (fields[2].value=='' || (bday && fields[2].value==1970) ) ){
this.value = '';
} else {
if (/\[day\]/.test(fields[0].name)){
this.value = fields[1].value+'/'+fields[0].value+'/'+fields[2].value;
} else {
this.value = fields[0].value+'/'+fields[1].value+'/'+fields[2].value;
}
}
});
});
return mce_validator.form();
},
success: mce_success_cb
};
$('#mc-embedded-subscribe-form').ajaxForm(options);


});
}
function mce_success_cb(resp){
$('#mce-success-response').hide();
$('#mce-error-response').hide();
if (resp.result=="success"){
$('#mce-'+resp.result+'-response').show();
$('#mce-'+resp.result+'-response').html(resp.msg);
$('#mc-embedded-subscribe-form').each(function(){
this.reset();
});
} else {
var index = -1;
var msg;
try {
var parts = resp.msg.split(' - ',2);
if (parts[1]==undefined){
msg = resp.msg;
} else {
i = parseInt(parts[0]);
if (i.toString() == parts[0]){
index = parts[0];
msg = parts[1];
} else {
index = -1;
msg = resp.msg;
}
}
} catch(e){
index = -1;
msg = resp.msg;
}
try{
if (index== -1){
$('#mce-'+resp.result+'-response').show();
$('#mce-'+resp.result+'-response').html(msg);
} else {
err_id = 'mce_tmp_error_msg';
html = '<div id="'+err_id+'" style="'+err_style+'"> '+msg+'</div>';

var input_id = '#mc_embed_signup';
var f = $(input_id);
if (ftypes[index]=='address'){
input_id = '#mce-'+fnames[index]+'-addr1';
f = $(input_id).parent().parent().get(0);
} else if (ftypes[index]=='date'){
input_id = '#mce-'+fnames[index]+'-month';
f = $(input_id).parent().parent().get(0);
} else {
input_id = '#mce-'+fnames[index];
f = $().parent(input_id).get(0);
}
if (f){
$(f).append(html);
$(input_id).focus();
} else {
$('#mce-'+resp.result+'-response').show();
$('#mce-'+resp.result+'-response').html(msg);
}
}
} catch(e){
$('#mce-'+resp.result+'-response').show();
$('#mce-'+resp.result+'-response').html(msg);
}
}
}

</script>
<!--End mc_embed_signup-->

nico_pn
06-07-2013, 04:20 PM
Hi,

I've tried some tests and I think I've found the problem.

Do you have configured the API key on WP Subscribers?

I think the problem is here.

Here is the tutorial: http://www.wpsubscribers.com/tutorials/integrate-mailchimp-with-wp-subscribers.html

Being Blissful
06-12-2013, 12:25 AM
Hi Nico,

I'm so sorry - we seem to be having a major communication problem.

The link to the tutorial given in your reply is the SAME tutorial I followed as mentioned in my very first post in this thread.

The tutorial is incomplete - I have followed every step as mentioned and still it is not working the way it should :(

Should I NOT have the api configured...?

Please help!

nico_pn
06-12-2013, 01:39 PM
Hi,

Is it possible to have an admin access to your blog? It will be better for me to understand exactly where is the problem.

Here is my email address : nico[at]wpsubscribers.com

Being Blissful
06-13-2013, 03:03 AM
Sure thing, Nico! Just sent the details to you :)

Being Blissful
06-20-2013, 10:19 PM
Hi Nico,

This issue is still not resolved :(

I know you did some backend word but I have tested it and the mail chimp thank you page does NOT appear once someone enters their details.

I have not heard back from my last email to you over a week ago?

I appreciate your support :)

nico_pn
06-21-2013, 10:22 AM
Hi,

In fact, I have resolve the API problem on your WP Subscribers configuration. I'm sorry for that, but as I said before the thank you page configuration have to be done on your Mailchimp account.

So, at this point I can't help you more...
I engage you to test some configurations on your mailchimp account. I think you'll find the clue at your problem.

Take care,
N.