Statistics: Posted by Jason Caldwell — November 15th, 2011, 4:11 pm
Statistics: Posted by Cristián Lávaque — November 11th, 2011, 12:46 am
Statistics: Posted by peterhuk — November 8th, 2011, 7:50 pm
(s2Member/s2Member Pro) Capability Additions (Changed). In previous versions of s2Member, when generating a Payment Button/Form, it was possible to precede your list of Custom Capabilities with a + sign, indicating that you wish to (Add) new Custom Capabilities instead of (Resetting) a User's Capbilities to the ones you list. Starting with this release, (Add) is now the default behavior. In other words, the + sign is no longer required, because s2Member will automatically (Add) Capabilities to any that already exist for a particular User/Member, even without the + sign (no longer required). In addition, there is now a new directive available: -all. You may now precede your list of Custom Capabilities with -all, but only if you wish to (Remove/Reset) all Custom Capabilities, and then (Add) new ones. For example: -all,music,videos, would remove any existing Custom Capabilities that may or may not already exist for a particular User/Member, and then add: music,videos. There are additional examples provided by the Payment Button/Form Generators that come with s2Member. Please check your Dashboard if you'd like to learn more.
Statistics: Posted by Jason Caldwell — November 8th, 2011, 7:31 pm
Statistics: Posted by peterhuk — November 8th, 2011, 7:24 pm
ccaps="-all,cmem,csfb,spof,tsas,mmed"
Statistics: Posted by Jason Caldwell — November 8th, 2011, 7:12 pm
Statistics: Posted by Eduan — November 8th, 2011, 7:04 pm
/wp-content/plugins/s2member/includes/classes/paypal-notify-in-subscr-or-wa-w-level.inc.php
if ($paypal["ccaps"] && preg_match ("/^-all/", str_replace ("+", "", $paypal["ccaps"])))
foreach ($user->allcaps as $cap => $cap_enabled)
if (preg_match ("/^access_s2member_ccap_/", $cap))
$user->remove_cap ($ccap = $cap);
preg_match ("/^-all/"
&& preg_match ("/^-all/", str_replace ("+", "", $paypal["ccaps"]))
Statistics: Posted by peterhuk — November 8th, 2011, 6:59 pm
Statistics: Posted by Jason Caldwell — November 8th, 2011, 6:51 pm
Statistics: Posted by Jason Caldwell — November 8th, 2011, 6:27 pm
Statistics: Posted by peterhuk — November 8th, 2011, 1:00 pm
Statistics: Posted by cassel — November 8th, 2011, 12:46 pm
invoice numberxxxxxxxxxx:0 D:1 M~mydomain.com~1:list,of,ccaps
Statistics: Posted by peterhuk — November 8th, 2011, 7:23 am
Statistics: Posted by Cristián Lávaque — November 8th, 2011, 2:01 am
Statistics: Posted by peterhuk — November 7th, 2011, 8:21 pm
Statistics: Posted by Eduan — November 7th, 2011, 8:03 pm
Statistics: Posted by peterhuk — November 7th, 2011, 7:57 pm
Statistics: Posted by Eduan — November 7th, 2011, 7:27 pm
Statistics: Posted by peterhuk — November 7th, 2011, 7:22 pm
Statistics: Posted by peterhuk — November 7th, 2011, 5:24 pm
Statistics: Posted by peterhuk — November 7th, 2011, 3:26 pm
Statistics: Posted by peterhuk — November 7th, 2011, 1:12 pm