Community Support Forums — WordPress® ( Users Helping Users ) — 2011-05-24T19:22:31-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=6439 2011-05-24T19:22:31-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6439&p=15797#p15797 <![CDATA[Re: s2Member/ bbPress Plugin]]>
* **(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.

( click to enlarge screenshot )
SNAG-0019.png

Statistics: Posted by Jason Caldwell — May 24th, 2011, 7:22 pm


]]>
2011-05-23T10:50:43-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6439&p=15643#p15643 <![CDATA[Re: s2Member/ bbPress Plugin]]>
The plugin offers the power of forums, without the frustration of having to theme bbpress. My interest in BBpress was always tempered by the need to rebuild a wp theme to fit, this solves that problem. It uses the custom post types, from what I can tell, to achieve the full forum experience, including many hooks, to deliver the power of bbpress directly into wp.

The hooks are there to add custom roles, and permissions, meaning it could be either assigned to a level role in s2 or a premium capablity too?

Statistics: Posted by velpeo — May 23rd, 2011, 10:50 am


]]>
2011-05-23T04:43:27-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6439&p=15631#p15631 <![CDATA[Re: s2Member/ bbPress Plugin]]> Thanks guys.
Yea, I saw that a new version of bbPress was just released.
I'll be taking a look at this asap, sometime this week.

Statistics: Posted by Jason Caldwell — May 23rd, 2011, 4:43 am


]]>
2011-05-22T16:16:26-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6439&p=15594#p15594 <![CDATA[Re: s2Member/ bbPress Plugin]]>
This is not a good long term solution, because BBP is still in beta, and will have many updates in the coming weeks, so maybe if there is enough demand Jason could add a small feature to kickstart forum permissions for roles, inside of s2.

Thanks for sharing this code seifip

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


]]>
2011-05-22T13:29:30-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6439&p=15589#p15589 <![CDATA[Re: s2Member/ bbPress Plugin]]>
I'll try it later and see if there are any obvious problems.

Statistics: Posted by Cristián Lávaque — May 22nd, 2011, 1:29 pm


]]>
2011-05-22T13:15:58-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6439&p=15588#p15588 <![CDATA[Re: s2Member/ bbPress Plugin]]>
So long story short, please test s2Member compatibility with the new plugin, both when both are just installed, or when bbPress is upgraded from the standalone version with the bridge.

Statistics: Posted by seifip — May 22nd, 2011, 1:15 pm


]]>
2011-05-22T12:01:48-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6439&p=15586#p15586 <![CDATA[Re: s2Member/ bbPress Plugin]]>

Statistics: Posted by seifip — May 22nd, 2011, 12:01 pm


]]>
2011-05-22T11:51:27-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6439&p=15585#p15585 <![CDATA[Re: s2Member/ bbPress Plugin]]>
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 seifip — May 22nd, 2011, 11:51 am


]]>
2011-05-22T11:35:49-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6439&p=15582#p15582 <![CDATA[Re: s2Member/ bbPress Plugin]]>
Also, tell me how you have set up the plugin and s2Member, so I understand what you have.

Statistics: Posted by Cristián Lávaque — May 22nd, 2011, 11:35 am


]]>
2011-05-22T11:29:42-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6439&p=15581#p15581 <![CDATA[Re: s2Member/ bbPress Plugin]]> Statistics: Posted by seifip — May 22nd, 2011, 11:29 am


]]>
2011-05-15T12:59:09-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6439&p=15055#p15055 <![CDATA[Re: s2Member/ bbPress Plugin]]>
You could manage access with URI restrictions for starters, and maybe used s2Member's advanced conditionals where you can use PHP in your forum.

WP Admin -> s2member -> General Options -> URI Restrictions
WP Admin -> s2Member -> API / Scripting -> Using Advanced Conditionals
WP Admin -> s2Member -> API / Scripting -> Advanced Query Conditionals


I hope that helps. :)

Statistics: Posted by Cristián Lávaque — May 15th, 2011, 12:59 pm


]]>
2011-05-15T02:41:13-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6439&p=15047#p15047 <![CDATA[s2Member/ bbPress Plugin]]>
In the options it asks for the "Server path to your bbPress® plugins directory:" - i'm not really sure what mine is. I'm using the newly released bbPress plugin for Wordpress, not the stand alone version. I'm not sure if this makes a difference?

I've tried:

domains/stephenjohnmartin.com/html/spa/wp-content/plugins/bbpress/ (This is where the plugin exists)

It simple says the directory doesn't exist

Thanks.

Statistics: Posted by CrownOfMars — May 15th, 2011, 2:41 am


]]>