* **(s2Member). bbPress® 2.0+.** s2Member has been integrated with preliminary support for bbPress® 2.0+ ( i.e. the new plugin variation for WordPress® ). Please check your Dashboard, under: `s2Member -> Other Integrations` for further details and a list of current limitations.
Statistics: Posted by Jason Caldwell — May 24th, 2011, 7:22 pm
Statistics: Posted by velpeo — May 23rd, 2011, 10:50 am
Statistics: Posted by Jason Caldwell — May 23rd, 2011, 4:43 am
seifip wrote:
I just fixed it, but by editing core bbPress files so it's only a temporary solution...
The plugin can be found at http://bbpress.org/forums/topic/bbpress-20-faq It's a beta, but considering the very poor state of the standalone version I'm sure most will switch to it very quickly.
What I had to change in order to fix the problem is to edit the /plugins/bbpress/bbp-includes/bbp-core-caps.php file. On line 378:
- Code:
// Other specific roles
case 'editor' :
case 'author' :
case 'contributor' :
case 'subscriber' :
default :
$caps = array(
// Topic caps
'publish_topics',
'edit_topics',
// Reply caps
'publish_replies',
'edit_replies',
// Topic tag caps
'assign_topic_tags',
);
break;
Adding the four s2Member roles fixed the problem:
- Code:
// Other specific roles
case 'editor' :
case 'author' :
case 'contributor' :
case 'subscriber' :
case 's2member_level1' :
case 's2member_level2' :
case 's2member_level3' :
case 's2member_level4' :
default :
$caps = array(
// Topic caps
'publish_topics',
'edit_topics',
// Reply caps
'publish_replies',
'edit_replies',
// Topic tag caps
'assign_topic_tags',
);
break;
I still can't get users with no role to work... adding "case 'none' " didn't help
Statistics: Posted by velpeo — May 22nd, 2011, 4:16 pm
Statistics: Posted by Cristián Lávaque — May 22nd, 2011, 1:29 pm
Statistics: Posted by seifip — May 22nd, 2011, 1:15 pm
Statistics: Posted by seifip — May 22nd, 2011, 12:01 pm
// Other specific roles
case 'editor' :
case 'author' :
case 'contributor' :
case 'subscriber' :
default :
$caps = array(
// Topic caps
'publish_topics',
'edit_topics',
// Reply caps
'publish_replies',
'edit_replies',
// Topic tag caps
'assign_topic_tags',
);
break;
// Other specific roles
case 'editor' :
case 'author' :
case 'contributor' :
case 'subscriber' :
case 's2member_level1' :
case 's2member_level2' :
case 's2member_level3' :
case 's2member_level4' :
default :
$caps = array(
// Topic caps
'publish_topics',
'edit_topics',
// Reply caps
'publish_replies',
'edit_replies',
// Topic tag caps
'assign_topic_tags',
);
break;
Statistics: Posted by seifip — May 22nd, 2011, 11:51 am
Statistics: Posted by Cristián Lávaque — May 22nd, 2011, 11:35 am
Statistics: Posted by Cristián Lávaque — May 15th, 2011, 12:59 pm
Statistics: Posted by CrownOfMars — May 15th, 2011, 2:41 am