PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

List Server Custom Capabilities

s2Member Plugin. A Membership plugin for WordPress®.

List Server Custom Capabilities

Postby sruefer » August 27th, 2011, 5:09 am

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
Steffen Ruefer | Using s2member with Paypal (none Pro) & WP 3.2.1 | http://rufer-design.com/
User avatar
sruefer
Experienced User
Experienced User
 
Posts: 25
Joined: April 25, 2011
Location: Dubai, UAE

Re: List Server Custom Capabilities

Postby Jason Caldwell » August 29th, 2011, 8:05 pm

Thanks for your inquiry.

Are you working with MailChimp, or with AWeber please?
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: List Server Custom Capabilities

Postby sruefer » August 30th, 2011, 4:23 am

I am planning to use MailChimp.
Steffen Ruefer | Using s2member with Paypal (none Pro) & WP 3.2.1 | http://rufer-design.com/
User avatar
sruefer
Experienced User
Experienced User
 
Posts: 25
Joined: April 25, 2011
Location: Dubai, UAE

Re: List Server Custom Capabilities

Postby Jason Caldwell » August 30th, 2011, 4:55 pm

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.
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: List Server Custom Capabilities

Postby sruefer » August 31st, 2011, 10:17 am

Sounds great, I will give that a try, thanks a lot Jason.
Steffen Ruefer | Using s2member with Paypal (none Pro) & WP 3.2.1 | http://rufer-design.com/
User avatar
sruefer
Experienced User
Experienced User
 
Posts: 25
Joined: April 25, 2011
Location: Dubai, UAE


Return to s2Member Plugin

Who is online

Users browsing this forum: Bing [Bot] and 1 guest

cron