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™
foreach ($user->allcaps as $cap => $cap_enabled)
foreach ($user->allcaps as $cap => $cap_enabled)
if (preg_match ("/^access_s2member_ccap_/", $cap))
$ccaps[] = preg_replace ("/^access_s2member_ccap_/", "", $cap);
/**/
$val = (!empty ($ccaps)) ? implode ("<br />", $ccaps) : "—";
if (is_array($user->allcaps)) {
foreach ($user->allcaps as $cap => $cap_enabled)
if (preg_match ("/^access_s2member_ccap_/", $cap))
$ccaps[] = preg_replace ("/^access_s2member_ccap_/", "", $cap);
/**/
$val = (!empty ($ccaps)) ? implode ("<br />", $ccaps) : "—";
}
if(!$user->allcaps) $user->allcaps = array();
J_J_R wrote:This is really frustrating me because I have a membership site due to launch on Tuesday and I've been torpedoed.
At last a good news ! Hope it helps everybody (I was praying the silence was due to hard work on a WP 3.1 compatible version).
J_J_R wrote:@itsalaska and @JamesUT
Sorry folks, but this can't be the answer. It breaks the Pretty Links plugin and god knows what all else. This is really frustrating me because I have a membership site due to launch on Tuesday and I've been torpedoed.
Users browsing this forum: No registered users and 10 guests