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™

s2Member/ bbPress Plugin

s2Member Plugin. A Membership plugin for WordPress®.

s2Member/ bbPress Plugin

Postby CrownOfMars » May 15th, 2011, 2:41 am

Hey guys,

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.
User avatar
CrownOfMars
Registered User
Registered User
 
Posts: 12
Joined: April 27, 2011

Re: s2Member/ bbPress Plugin

Postby Cristián Lávaque » May 15th, 2011, 12:59 pm

I don't know the plugin, but if it's not a separate install, i.e. it's working from inside WordPress, then you won't need the bridge.

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. :)
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: s2Member/ bbPress Plugin

Postby seifip » May 22nd, 2011, 11:29 am

I also have problems using s2Member with the new bbPress plugin. Until today, I've been using the old standalone bbPress through the s2Member bridge and everything worked fine. I've now installed the new bbPress plugin and users with s2Member user roles can't create new topics or reply anymore. ie. only admins can participate in the forums.
design is like a puzzle... I'm just trying to solve it now
Learn Japanese | Japanese Forum | Japanese Blog
User avatar
seifip
Registered User
Registered User
 
Posts: 4
Joined: May 22, 2011

Re: s2Member/ bbPress Plugin

Postby Cristián Lávaque » May 22nd, 2011, 11:35 am

Could you point me to the new plugin's page, please?

Also, tell me how you have set up the plugin and s2Member, so I understand what you have.
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: s2Member/ bbPress Plugin

Postby seifip » May 22nd, 2011, 11:51 am

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: Select all
      // 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: Select all
      // 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 :(
design is like a puzzle... I'm just trying to solve it now
Learn Japanese | Japanese Forum | Japanese Blog
User avatar
seifip
Registered User
Registered User
 
Posts: 4
Joined: May 22, 2011

Re: s2Member/ bbPress Plugin

Postby seifip » May 22nd, 2011, 12:01 pm

Oups... Actually after further testing it looks like it didn't fix anything :(
design is like a puzzle... I'm just trying to solve it now
Learn Japanese | Japanese Forum | Japanese Blog
User avatar
seifip
Registered User
Registered User
 
Posts: 4
Joined: May 22, 2011

Re: s2Member/ bbPress Plugin

Postby seifip » May 22nd, 2011, 1:15 pm

ok, I think I've manged to fix it somehow, but I have done way too many edits and some problems may have been unrelated to default s2Member + bbPres installation...

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.
design is like a puzzle... I'm just trying to solve it now
Learn Japanese | Japanese Forum | Japanese Blog
User avatar
seifip
Registered User
Registered User
 
Posts: 4
Joined: May 22, 2011

Re: s2Member/ bbPress Plugin

Postby Cristián Lávaque » May 22nd, 2011, 1:29 pm

Cool, glad you fixed it. Yeah, many edits is not the best.

I'll try it later and see if there are any obvious problems.
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: s2Member/ bbPress Plugin

Postby velpeo » May 22nd, 2011, 4:16 pm

Just want to confirm, this method does work, but once the core file is changed, need to deactivate and reactivate the plugin, as BBP only changes the capabilities for roles on plugin initiation.

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: Select all
      // 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: Select all
      // 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 :(
User avatar
velpeo
Registered User
Registered User
 
Posts: 4
Joined: May 15, 2011
Location: Missoula, Montana

Re: s2Member/ bbPress Plugin

Postby Jason Caldwell » May 23rd, 2011, 4:43 am

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.
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: s2Member/ bbPress Plugin

Postby velpeo » May 23rd, 2011, 10:50 am

Thanks Jason,

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?
User avatar
velpeo
Registered User
Registered User
 
Posts: 4
Joined: May 15, 2011
Location: Missoula, Montana

Re: s2Member/ bbPress Plugin

Postby Jason Caldwell » May 24th, 2011, 7:22 pm

Thanks guys. I've addressed this issue in the development release, which is currently undergoing testing. If you're an s2Member Pro customer with an Unlimited Site License, you can grab the latest release candidates from inside your account at s2Member.com. Otherwise, no worries. We'll have this update available publicly in just a few days.

* **(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
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA


Return to s2Member Plugin

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 2 guests

cron