Thread Starter
driz
(@driz)
Yes I have that plugin installed. What about the salts? Do they need adding to the config files? I havent seen any mention of it, just adding them to the input fields INSIDE the bbPress WP-Integration options.
I believe they said the salts are used when you are using an ssl enabled site. I usually include them but don’t know if that makes a difference.
Thread Starter
driz
(@driz)
When I log into bbPress I am logged into WordPress, BUT looking at my cookies the URLS are incorrect, they show two cookies //wp-admin/ and //wp-content/plugins so when I visit the Admin page of WordPress i am NOT logged in, but if I change the URL to //wp-admin it will work, I have looked all over to see if their is a reason why it is adding double // but their is no reason for it.
I should also note that logging into WordPress does not have me logged into bbPress at all, I have to manually log into bbPress as well. So its half working, but what does work is also working weirdly.
You are using a subdomain for your forum, right? I am not sure if that is the issue or not. People have been having problems with subdomain installations. Make sure that everywhere you enter your site url and blog url for WordPress, that it does not have the trailing slash “/”; that would be in the backend settings, and your config files. Because of your subdomain setup, I am not sure if the forum url should have a trailing slash or not. These are a few things to try out or consider.
Thread Starter
driz
(@driz)
WordPress and bbPress automatically re-add the / if you remove it!
Wow, then I am completely lost. I think that this is where the double trailing slash is coming from. My only other suggestion is to check out the bbpress forum. People have been having success by using this guys guide, but then again, it is not a subdomain installation.
Thread Starter
driz
(@driz)
Right! I have moved my forums to http://paperviewzine.com/forums/ and NOW the cookies are working correctly. So it would seem bbPress and WordPress don’t work when on different sub-domains. However the bbPress login is still spitting out the double trailing slash which then breaks the logged in status for WordPress.
Thread Starter
driz
(@driz)
Turns out the cookiepath needs to be blank and all works fine, even so all the docs insist on putting a / as the path. it actually creates duplicate // so thats the problem. Not sure if that was what was breaking the subdomain as well, but its all working now.
Thanks for all your help pal.
EDIT: Spoke too soon, the logout links arn’t logging me out! Any ideas why ?? :/
EDIT 2: Right fixed it, deleting the whole of the cookie path and cookie domain fixes all the problems, so the documentations are wrong in saying you need those lines of code, adding them breaks it!
Glad that you finally got it working. One day I will take a gander at the subdomain installation to see if I can get it to work.
can I throw in a question myself, please?
I have successfully integrated bbpress 1.0.1 with wpmu 2.8.3 and all is working well except for one small issue:
users who sign up on the wpmu side, are not activated in bbpress even though I have configured it thus, that all groups should become members on the bbpress side.
so I have ot manually go to the bbpress admin panel for each new user that signs up and make them a member manually 🙁
any idea what I could check here?
Hi parkstreet,
first of all thank you for replying me and leading me here.
I’ve tried everything you say over here…
Putting the code in the bb-config.php and wp-config.php files
Enableing the XML-RPC thing
Tried also what works for driz, leaving blank the cookiepath, and deleting the cookie path and cookie domain lines… but still it’s not working. It ALWAYS redirects me to wp-login.php when trying to access WordPress admin panel (after loggin in bbPress in the first place).
@ovidiu, I am not sure if it is a bug or if this is the normal behavior, but I’ve noticed that as well. I think as long as you can see them in bbpress, that should be ok. What I’ve noticed is that when a user logs into WordPress, then the “Inactive” status becomes “Member”, or if they log in and then visit the forum, their “Inactive” status gets set to “Member.” Like I said, I am not sure if this is a bug or normal behavior. This is a behavior for current members when you first install bbpress. But it seems like you are having this behavior after the fact. If that is the case, then I am not sure where the issue lies.
@mjjinvincible, have you tried clearing your cache and restarting your browser. And you are not using a subdomain for your forum, right?
Someone mentioned a plugin that can be created and dropped into mu-plugins that would take care of the role issue.
Hey all, I’m running into a similar problem and it sure seems to be cookie related.
Setup is:
blog at http://mydomain.com
forums at http://forum.mydomain.com
If I log into wordpress then check out my cookies I see the host as
mydomain.com
no leading .
If I jump over to bbPress, I’m not logged in. If I edit the cookie and put a . in the domain:
.mydomain.com
then reload the forum page, I’m logged in. Oddly, if I log into bbPress first, then wordpress reads me as logged in with no fiddling.
In wp-config I have:
define( ‘COOKIE_DOMAIN’, ‘.mydomain.com’ );
But it seems like wordpress is disregarding that leading period.
Any ideas?
UPDATE: It looks to me like that define statement isn’t doing anything. For grins I changed the domain to foo.com and I still got mydomain.com in the cookie.
@mjjinvincible, have you tried clearing your cache and restarting your browser. And you are not using a subdomain for your forum, right?
Yup. I not only delete the cookies but restar the whole browser, or even switch to another one.
I’m not using a subdomain for my forum. It’s within a subdirectory in the root (with all the other WP Mu files).