Community Support Forums — WordPress® ( Users Helping Users ) — 2011-06-27T21:44:42-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=10148 2011-06-27T21:44:42-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10148&p=21836#p21836 <![CDATA[Re: MailChimp Integration (not working)]]>

Statistics: Posted by Cristián Lávaque — June 27th, 2011, 9:44 pm


]]>
2011-06-27T18:59:47-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10148&p=21831#p21831 <![CDATA[Re: MailChimp Integration (not working)]]> Statistics: Posted by dancarp — June 27th, 2011, 6:59 pm


]]>
2011-06-21T11:15:15-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10148&p=21315#p21315 <![CDATA[Re: MailChimp Integration (not working)]]> http://www.buddyboss.com/how-to-set-up- ... uddypress/ when they ask about BuddyPress integrations.

But when it comes to the MailChimp integration, the most experienced one I've seen has been Ross, although I'm not sure if he does freelance development. memberlist.php?mode=viewprofile&u=57

All that said, you could try posting at http://jobs.wordpress.net.


I can understand what you say about some parts being frustrating, but you have to realize that a ton of things have been added and improved to what is the current s2Member, and a ton more things are in the to-do list to be added and improved too.

We are working hard on it and we appreciate the input from users like you that point out things that can be made better, and we take the input seriously since we can't envision on our own all the possible scenarios or needs.

Statistics: Posted by Cristián Lávaque — June 21st, 2011, 11:15 am


]]>
2011-06-21T09:39:54-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10148&p=21301#p21301 <![CDATA[Re: MailChimp Integration (not working)]]>
Thanks for your help. Is there a list of freelance developers familiar with s2member that you could recommend? Clearly without some decent coding skills it's impossible to take advantage of your plugin.

I run 3 e-commerce websites and use dozens of plugins and themes. I've never been so frustrated with a plugin as I am with s2member. S2member offers the ability to create custom fields (pretty easy to set up and straightforward), it also offers a pretty easy to use integration with Mailchimp. Does the notion of having to hire a freelance developer to automate the Mailchimp integration of custom fields sound ridiculous to you? Or is it just me? How difficult would it be for you guys to automate this or to provide the complete syntax of your filter (including how to deal with custom fields in a way that Mailchimp will be happy with)?

Having said that, you offer a good product. Better in many ways than that of your competitors. Pretty happy with all of the features except the integration of custom fields.

Anyways, if there's a list of preferred developers you could point me to, I'd really appreciate it.

Statistics: Posted by Abercorn — June 21st, 2011, 9:39 am


]]>
2011-06-20T23:21:59-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10148&p=21284#p21284 <![CDATA[Re: MailChimp Integration (not working)]]>
Code:
$s2_custom_fields = get_user_option('wp_s2member_custom_fields', $user_id); 

Statistics: Posted by Cristián Lávaque — June 20th, 2011, 11:21 pm


]]>
2011-06-20T22:38:49-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10148&p=21275#p21275 <![CDATA[Re: MailChimp Integration (not working)]]>
Thanks so much. This has been very helpful. Instead of:
function my_filter($merge, $vars)
did you mean?:
function my_filter($mergeVars)

I was getting a syntax error with the former, but $mergeVars seems to be working. I am now able to populate text into Mailchimp....the part I seem to be having trouble with is referencing the actual s2member custom fields.

I am using:

Code:
<?php
add_filter
("ws_plugin__s2member_mailchimp_merge_array", "my_filter");
function my_filter($mergeVars)
   {
        $my_custom_elements = array('MERGE3' => 'addr1', 'MERGE7' => 'city');
        return array_merge($mergeVars, $my_custom_elements);
    }
?>


This writes city and addr1 (or whatever text I put inside the quotes) into the correct fields in mailChimp. I've also tried using [s2Get user_field="city" /]. Same result. The quoted text gets populated in mailChimp.

Could you advise on the appropriate way to reference the S2member custom fields?

The unique ids of the s2member custom fields I want to use are (all text fields):

job_title, org_name, phone, addr1, addr2, city, state, zip, country

Thanks a lot

Statistics: Posted by Abercorn — June 20th, 2011, 10:38 pm


]]>
2011-06-17T00:13:19-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10148&p=20994#p20994 <![CDATA[Re: MailChimp Integration (not working)]]>
Create this directory and file:
/wp-content/mu-plugins/s2-hacks.php
Code:
<?php
add_filter
("ws_plugin__s2member_mailchimp_merge_array", "my_filter");
function my_filter($merge, $vars)
    {
// $merge /* Array of existing MERGE fields that s2Member passes by default. */
// $vars /* Array of defined variables in the scope/context of this Filter. */

        $user_id = $vars["user_id"];
        // print_r($vars); // Lots of good stuff in this array.
        $user_custom = get_user_option("s2member_custom", $user_id);
        $my_custom_merge_vars = array("S2_CUSTOM" => $user_custom);
        return array_merge($merge, $my_custom_merge_vars);
    }
?>
* Based on this example, you would first need to add a new MERGE field to your MailChimp list, giving it the name: S2_CUSTOM. See also this s2Member API Function: get_user_field(), which might be helpful when collecting certain details about a User/Member: viewtopic.php?f=40&t=12453&src_doc_v=111003#src_doc_get_user_field%28%29

Statistics: Posted by Jason Caldwell — June 17th, 2011, 12:13 am


]]>
2011-06-15T08:21:08-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10148&p=20833#p20833 <![CDATA[Re: MailChimp Integration (not working)]]>
Having said that, I will still need some clarification from you or Jason on how to use the Filter provided by s2Member to fix the 250 error code (described in Jason's response below).

I am not a programmer, so I could use step-by-step instructions on how to install/apply/use that filter.

Thanks.

Statistics: Posted by Abercorn — June 15th, 2011, 8:21 am


]]>
2011-06-15T01:58:27-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10148&p=20796#p20796 <![CDATA[Re: MailChimp Integration (not working)]]> https://wordpress.org/extend/plugins/ne ... il-set-up/

The address seems weird, and it may have to do with how your server is configured. You should contact your hosting support so they help you sort out the address your emails are going out from.

Statistics: Posted by Cristián Lávaque — June 15th, 2011, 1:58 am


]]>
2011-06-15T01:43:02-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10148&p=20794#p20794 <![CDATA[Re: MailChimp Integration (not working)]]>
Thank you very much (and thanks to Christián, as well). There were indeed some discrepancies in the merge labels, but fixing them within my mailchimp account didn't do the trick. I'm still getting the 250 error code.

Could you elaborate on how to use the Filter provided by s2Member. I am not a programmer, so I could use step-by-step instructions on how to install/apply/use that filter.

Also, as I explained in previous posts, the confirmation email that is going out to subscribers (with their system-generated password) is not going out from mailchimp. It's being sent by bluehost.com (host). Am I missing some additional configuration there (other than the API Key and List ID)?

Thanks much.

Statistics: Posted by Abercorn — June 15th, 2011, 1:43 am


]]>
2011-06-15T00:51:03-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10148&p=20782#p20782 <![CDATA[Re: MailChimp Integration (not working)]]> Thanks for reporting this important issue.
~ and thanks for the heads up Cristián.

I just took a look at your MailChimp® API log, and I'm seeing an error code of 250.
According to this documentation, error code 250 means there is a problem with MERGE fields.
http://apidocs.mailchimp.com/1.3/exceptions.field.php
Code:
250   List_MergeFieldRequired

By default, s2Member sends a merge array with the following associative array.
Code:
    'MERGE1' => '[ FIRST NAME ]',
    'MERGE2' => '[ LAST NAME ]',
    'OPTIN_IP' => '[ IP ADDRESS ]',
    'OPTIN_TIME' => '[ DATE AND TIME ]'

If your MailChimp list has been configured with required MERGE fields that are outside the standard defaults, you may need to use the Filter provided by s2Member, or modify the configuration of your MERGE fields inside your MailChimp® account.

Statistics: Posted by Jason Caldwell — June 15th, 2011, 12:51 am


]]>
2011-06-14T23:10:34-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10148&p=20771#p20771 <![CDATA[Re: MailChimp Integration (not working)]]>
I should also mention that my subscribers are not getting a confirmation email from MailChimp. They get an email from pr*******@box593.bluehost.com [which is the admin of my hosting account - so the emails are not even coming from the domain I have S2Member set up at).

The content of the emails are as follows:

Username: pl********i
Password: 8Xs43MAikAeO
http://www.synergiainsight.com/feature/wp-login.php

Hope all of this info helps.

Statistics: Posted by Abercorn — June 14th, 2011, 11:10 pm


]]>
2011-06-14T23:03:17-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10148&p=20770#p20770 <![CDATA[Re: MailChimp Integration (not working)]]>
I have attached the logs that you requested. Thanks for your help.

I also communicated earlier with Ross Grant (very helpful guy!). He forwarded this link to me:

viewtopic.php?f=4&t=2636

FYI. My host has Linux Servers. Both tests were successful. Here are the results of the tests:

curl-test-https-paypal.php generated the following message:
Test succeeded :-) Lookin' good here. Your cURL extension is functioning properly, with SSL enabled too.

fopen-test-https-paypal.php generated the following messages:
Test succeeded :-) Lookin' good here.

I have also checked the php.ini file and "allow_url_fopen = On" is already in there. So this is not a server issue.

Thanks again. I hope you can help me figure out what's wrong.

Statistics: Posted by Abercorn — June 14th, 2011, 11:03 pm


]]>
2011-06-14T19:04:14-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10148&p=20742#p20742 <![CDATA[Re: MailChimp Integration (not working)]]>
To enable list server logging, for now we're using the interface for gateway logging, so go to WP Admin -> s2Member -> PayPal Options -> PayPal Account Details -> Enable Logging Routines (if you're not using PayPal, change that to the gateway you're using, I guess) and activate it if you had it off.

You'll later find the logs via FTP in the /wp-content/plugins/s2member-logs/ directory.

Statistics: Posted by Cristián Lávaque — June 14th, 2011, 7:04 pm


]]>
2011-06-14T15:37:21-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10148&p=20724#p20724 <![CDATA[MailChimp Integration (not working)]]>
While the record is being created within S2Member upon submission of the registration form, those records are not being created within MailChimp. Could you help me figure out what the problem might be?

Thanks.

Statistics: Posted by Abercorn — June 14th, 2011, 3:37 pm


]]>