Page 1 of 1

List Server Custom Capabilities

PostPosted: August 27th, 2011, 5:09 am
by sruefer
Hi,

I noticed that I can only allocate List IDs for Level 0 to Level 4 subscribers, but I cannot differentiate lists between subscribers with different custom capabilities. Is there a workaround for achieving this?

For example, I have custom capabilities for Level 1 subscribers (Basic, Standard, Professional) and I want them to be subscribed to different mailing lists.

Thank you for your help!
Steffen

Re: List Server Custom Capabilities

PostPosted: August 29th, 2011, 8:05 pm
by Jason Caldwell
Thanks for your inquiry.

Are you working with MailChimp, or with AWeber please?

Re: List Server Custom Capabilities

PostPosted: August 30th, 2011, 4:23 am
by sruefer
I am planning to use MailChimp.

Re: List Server Custom Capabilities

PostPosted: August 30th, 2011, 4:55 pm
by Jason Caldwell
Thanks for the follow-up.

OK. The closest I can get you on this right now, is to use MERGE vars for MailChimp.

Here's how I would handle it.
1. Use just one Mailing List at MailChimp for all Members.
2. Log into your MailChimp account and add a new MERGE field to your list, with the name: S2_CCAPS
3. Create this directory and file in your WordPress installation with s2Member installed.

/wp-content/mu-plugins/s2-hacks.php
Code: Select all
<?php
add_filter 
("ws_plugin__s2member_mailchimp_merge_array", "s2_ccaps_merge", 10, 2);
function s2_ccaps_merge ($merge = array (), $vars = array ())
    {
        return array_merge ($merge, array ("S2_CCAPS" => $vars["ccaps"]));
    }
?>

Now, when you send email to your Subscribers, you can filter the list of recipients based on the value of the S2_CCAPS MERGE field. MailChimp allows you to do this. The hack above will automatically fill the value of the S2_CCAPS MERGE field at MailChimp, with a comma-delimited list of the Custom Capabilities that each Member has. This gives you maximum flexibility when you send out your email updates.

Re: List Server Custom Capabilities

PostPosted: August 31st, 2011, 10:17 am
by sruefer
Sounds great, I will give that a try, thanks a lot Jason.