Page 1 of 1

bbPress Integration New Bug

PostPosted: October 24th, 2010, 9:41 am
by snelson2678
I have successfully integrated my WP/S2members/bbpress with one small problem. When I go to the forum and click on the "Admin" Link it redirects me to the same main page I am already on. I have not been able to access Admin area once. Here is a link to the bbPress thread:

http://bbpress.org/forums/topic/admin-redirects-to-main-page

Someone else is having this problem as well so I thought maybe someone here might have an answer.

Thanks

bbPress Integration

PostPosted: October 25th, 2010, 7:44 am
by dbosnjak
Hi, I know that there is other replies to this topic, but I would like to explain mine:
I have made a successfull bbpress-wp integration. I have tried them and they work fine.
Then I have gone to API/Bridges and installed the s2member bridge by copying the file indicated in the my-plugins folder in the bbpress installation.
I have put the minimum level required as 1 for the s2member and clicked install.
It all looked ok, but when I tried to go to the /forum of my site, it redirected me to Membership Options page of the blog (which is a correct behaviour for the new members), even though I was already connected as the blog admin (aka key master) and should not need to pay for my own product...
I uninstalled the bridge and everything was working fine again, but for me it is not possible to have only payed members inside my membership area...
Is this some kind of bug for the bridge or have I missed something in the bb-wp integration?

Re: bbPress Integration

PostPosted: October 27th, 2010, 6:54 am
by Jason Caldwell
Hi there. Thanks for reporting this important issue.

Please be sure you're not hitting the WWW vs. non-WWW issue?
See: viewtopic.php?f=4&t=1066

Also, please make sure that you're logged into your WordPress® Dashboard as the same username that is designated as the KeyMaster on your bbPress install. In other words, it's not enough just to be logged in as an Administrator. You have to be logged into WordPress® as the Administrative username matching the KeyMaster username on your bbPress installation.

Also, please keep in mind that the registration page of your bbPress installation is ALWAYS redirected to your s2Member Membership Options Page. This is true even for Administrators, as the registration process is centralized when the s2Member Bridge is integrated.

Please let me know if you continue having trouble.
You can also use this contact form to submit a Dashboard login.
I'll be happy to have a look at the issue for you.

Re: bbPress Integration

PostPosted: October 27th, 2010, 7:01 am
by Jason Caldwell
I've merged the two posts here into one topic. The previous user was referencing this URL which may provide some further insight. I'll mark this for further review.
http://bbpress.org/forums/topic/admin-r ... -main-page

Re: bbPress Integration

PostPosted: October 27th, 2010, 4:14 pm
by snelson2678
Would it be better to install bbpress on it's own subdomain? as apposed to a folder in the members.domain.com? If so How do I uninstall bbpress from the WP database without disrupting? Thanks

Re: bbPress Integration

PostPosted: October 27th, 2010, 5:31 pm
by Jason Caldwell
snelson2678 wrote:Would it be better to install bbpress on it's own subdomain?

In order to integrate bbPress with WordPress® and s2Member, you MUST have bbPress installed on the exact same domain as your WordPress® installation. This way cookies will be read properly.

So this would work just fine:

WordPress w/s2Member installed here:
Code: Select all
http://www.example.com/wordpress/
or just: http://www.example.com/

bbPress installed here:
Code: Select all
http://www.example.com/forums/

--------------------------------------------------------------
The above, is the easiest way. It keeps everything on one domain. That being said, if you really need to use different sub-domains, you could modify your wp-config.php file:
http://codex.wordpress.org/Editing_wp-c ... kie_Domain

Code: Select all
define("COOKIE_DOMAIN", ".example.com"); 
Remove the www, and always provide a leading dot. This tells WordPress® to set cookies for ALL sub-domains; making it possible to run WordPress® and bbPress on different sub-domains if you like.