Community Support Forums — WordPress® ( Users Helping Users ) — 2011-04-08T00:14:12-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=2930 2011-04-08T00:14:12-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2930&p=9336#p9336 <![CDATA[Re: Mailchimp and Confirm Subscription email]]> Statistics: Posted by Jason Caldwell — April 8th, 2011, 12:14 am


]]>
2011-04-07T07:32:35-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2930&p=9259#p9259 <![CDATA[Re: Mailchimp and Confirm Subscription email]]> had a whitespace somewhere in the file :D
Would it be an option in the next s2member version? (it's easy to make it an variable and just let people select double opt-in or single opt-in.

Thanks,

~Luc

Statistics: Posted by lucjager — April 7th, 2011, 7:32 am


]]>
2011-04-07T07:28:02-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2930&p=9257#p9257 <![CDATA[Re: Mailchimp and Confirm Subscription email]]>
lucjager wrote:
nice but maybe make it available on your website so if you have like 100 more tips and qeustions that you can create a better overview (or categorise it) (please think ahead in the future if you have like 100 or even 1000 tips etc (how am i as an user going to find what i need) )

:D for now super support!

Gotchya. Great idea!
Thanks for the suggestion.

Statistics: Posted by Jason Caldwell — April 7th, 2011, 7:28 am


]]>
2011-04-07T07:27:30-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2930&p=9256#p9256 <![CDATA[Re: Mailchimp and Confirm Subscription email]]> This part of the error:
.../wp-content/plugins/s2member/includes/mailchimp/nc-mcapi.inc.php:1

This indicates output is starting at line #1 of the nc-mcapi.inc.php file.
Which is most likely due to a space, tab, or line break at the very top of the file.

Statistics: Posted by Jason Caldwell — April 7th, 2011, 7:27 am


]]>
2011-04-04T12:21:48-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2930&p=9061#p9061 <![CDATA[Re: Mailchimp and Confirm Subscription email]]>
lucjager wrote:
Sorry cristian for the message but your codes also generates the following error:

Warning: Cannot modify header information - headers already sent by (output started at /home/lucjager/domains/lucdejager.nl/public_html/estss/wp-content/plugins/s2member/includes/mailchimp/nc-mcapi.inc.php:1) in /home/lucjager/domains/lucdejager.nl/public_html/estss/wp-content/plugins/s2member/includes/classes/registrations.inc.php on line 820


Are you sure you don't have an empty line or even a single space before the <?php or after the ?>?

Statistics: Posted by Cristián Lávaque — April 4th, 2011, 12:21 pm


]]>
2011-04-04T05:22:53-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2930&p=9040#p9040 <![CDATA[Re: Mailchimp and Confirm Subscription email]]>
:D for now super support!

Statistics: Posted by lucjager — April 4th, 2011, 5:22 am


]]>
2011-04-04T05:17:53-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2930&p=9037#p9037 <![CDATA[Re: Mailchimp and Confirm Subscription email]]>
lucjager wrote:
Make an specific FAQ on the website or forum which containts the most usefull tips for s2members so you dont have to answer solutions like this anymore in the future ;-)

Please see: Common Questions/Problems/Tips :D

Statistics: Posted by Jason Caldwell — April 4th, 2011, 5:17 am


]]>
2011-04-04T04:47:43-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2930&p=9031#p9031 <![CDATA[Re: Mailchimp and Confirm Subscription email]]>
Warning: Cannot modify header information - headers already sent by (output started at /home/lucjager/domains/lucdejager.nl/public_html/estss/wp-content/plugins/s2member/includes/mailchimp/nc-mcapi.inc.php:1) in /home/lucjager/domains/lucdejager.nl/public_html/estss/wp-content/plugins/s2member/includes/classes/registrations.inc.php on line 820

~Luc

Statistics: Posted by lucjager — April 4th, 2011, 4:47 am


]]>
2011-04-04T04:42:10-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2930&p=9030#p9030 <![CDATA[Re: Mailchimp and Confirm Subscription email]]>
suggestion for the forum / website:

Make an specific FAQ on the website or forum which containts the most usefull tips for s2members so you dont have to answer solutions like this anymore in the future ;-)

Thanks,

~Luc

Statistics: Posted by lucjager — April 4th, 2011, 4:42 am


]]>
2011-04-03T20:39:57-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2930&p=8981#p8981 <![CDATA[Re: Mailchimp and Confirm Subscription email]]> ).

That, by the way, will be the default value of that variable, so if when called it is defined as true, it'll be true despite your false.

You should use a hook inside that function and change it with that, but I see there aren't any there yet, I'll ask Jason about it.

In the meantime you can edit that function and change it here
Code:
$params["double_optin"] = $double_optin; 
to false
Code:
$params["double_optin"] = false; 


See if that does the trick. Remember it'll be lost after the next update and you'll need to do it again.

The error you got is normally cause when something is sent to the browser before it should have.You must have introduced a space or newline outside the PHP sections marked by <?php and ?>.

Statistics: Posted by Cristián Lávaque — April 3rd, 2011, 8:39 pm


]]>
2011-04-03T15:35:19-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2930&p=8962#p8962 <![CDATA[Re: Mailchimp and Confirm Subscription email]]>
Thanks aggain for you superb support!
But i found out that if you change the mailchimp api file from s2member (nc-mcapi.inc.php) that you can force single opt-in by setting: $double_optin=true into false. (just becare full that your account wont be blocked because of spamming).

Change:
Code:
function listSubscribe($id, $email_address, $merge_vars, $email_type='html', $double_optin=true, $update_existing=false, $replace_interests=true,


into
Code:
function listSubscribe($id, $email_address, $merge_vars, $email_type='html', $double_optin=false, $update_existing=false, $replace_interests=true,


But if i do that the website displays the following error:
Warning: Cannot modify header information - headers already sent by (output started at /home/lucjager/domains/lucdejager.nl/public_html/estss/wp-content/plugins/s2member/includes/mailchimp/nc-mcapi.inc.php:1) in /home/lucjager/domains/lucdejager.nl/public_html/estss/wp-content/plugins/s2member/includes/classes/registrations.inc.php on line 820

~Luc

Statistics: Posted by lucjager — April 3rd, 2011, 3:35 pm


]]>
2011-04-02T16:56:38-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2930&p=8883#p8883 <![CDATA[Re: Mailchimp and Confirm Subscription email]]>
http://www.warriorforum.com/internet-ma ... post970051
http://kb.mailchimp.com/article/complia ... permission
http://kb.mailchimp.com/article/how-doe ... ptin-work/
http://mailchimp.blogs.com/blog/2005/08 ... onfir.html

Statistics: Posted by Cristián Lávaque — April 2nd, 2011, 4:56 pm


]]>
2011-04-02T16:45:47-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2930&p=8880#p8880 <![CDATA[Re: Mailchimp and Confirm Subscription email]]>
I'm guessing that if it isn't easy to single opt-in with the normal approach s2Member uses to add people to the email list, you will have to do something more advanced using the Notifications API found at WP Admin -> s2Member -> API / Notifications.

Statistics: Posted by Cristián Lávaque — April 2nd, 2011, 4:45 pm


]]>
2011-04-02T16:38:20-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2930&p=8879#p8879 <![CDATA[Re: Mailchimp and Confirm Subscription email]]>
~Luc

Statistics: Posted by lucjager — April 2nd, 2011, 4:38 pm


]]>
2011-04-02T16:32:47-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2930&p=8877#p8877 <![CDATA[Re: Mailchimp and Confirm Subscription email]]> Statistics: Posted by Cristián Lávaque — April 2nd, 2011, 4:32 pm


]]>
2011-04-02T15:49:08-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2930&p=8875#p8875 <![CDATA[Mailchimp and Confirm Subscription email]]>
-----------------------email example from mailchimp----------
Confirm Subscription
Click here to confirm your subscription to our list.

If you received this email by mistake, simply delete it. You won't be subscribed if you don't click the confirmation link above.

For questions about this list, please contact:
---------------------------------------------------------------------

I hope this is possible ;-)

Luc

Statistics: Posted by lucjager — April 2nd, 2011, 3:49 pm


]]>