Statistics: Posted by Jason Caldwell — March 8th, 2011, 9:02 pm
After you install the s2Member -> bbPress Bridge in your Dashboard, you can open this file, it's inside: /bb-plugins ( or my-plugins ) /_s2member-bbpress-bridge.php.
Thanks for the info...my problem is when bbbridge is installed the general public can not see the forums? Is there a fix?
if (!bb_is_user_logged_in () || !bb_current_user_can ("participate"))
{
if ($url = bb_get_option ("wp_siteurl")) /* WordPress® is integrated? */
{
$bbPress = bb_get_option ("uri"); /* bbPress® location. */
/**/
if (preg_match ("/^" . preg_quote ($bbPress, "/") . "/", $_SERVER["HTTP_REFERER"]))
wp_redirect ($url, apply_filters ("ws_plugin__s2member_content_redirect_status", 301, get_defined_vars ()));
/**/
else /* Otherwise, trigger the Membership Options Page + s2member_level_req = $min. */
wp_redirect ($url . "/?s2member_membership_options_page=1&s2member_seeking=bbpress&s2member_level_req=" . urlencode ($min), apply_filters ("ws_plugin__s2member_content_redirect_status", 301, get_defined_vars ()));
/**/
exit ();
}
}
if (!bb_is_user_logged_in () || !bb_current_user_can ("participate"))
{ /* Do nothing. */ }
Statistics: Posted by Jason Caldwell — March 8th, 2011, 8:50 pm
Statistics: Posted by wesleysoccer — March 8th, 2011, 10:51 am