Info
- 14 posts
- 5 voices
- Started 2 years ago by JesperA
- Latest reply from GJ-tje
- This topic is not resolved
WP 2.8.4 and BBpress 1.0.2, cant get integration to work!
-
- Posted 2 years ago #
Hi!
I always have problem with the integration of BBpress and WordPress, i have installed bbpress integration in wordpress and stuff but still it doesnt work!
The cookies kinda works, when i login to WP i get loggedout of BBpress and vice versa!
Is it because i install it on localhost or something?
Couple of pictures, can anyone spot whats wrong?
wp-config:
http://farm3.static.flickr.com/2440/3834816298_90df119df5_o.pngbb-config:
http://farm3.static.flickr.com/2603/3834023401_f2f11b96d9_o.pngWordPress options in bbpress;
http://farm4.static.flickr.com/3430/3834023493_e10e719e75_o_d.pngbbPress options in WordPress:
http://farm3.static.flickr.com/2539/3834023615_27c8daed00_o.pngI really appreciate some feedback!
-
- Posted 2 years ago #
Ha, you're not alone. I had the same problem and just post my question a couple of hours ago!
-
- Posted 2 years ago #
Hmm, i think i´ve got it to work now, fingers crossed.
This is what i´ve changed from the original:
In bb-config.php:
define('BB_AUTH_KEY', 'hej');
define('BB_SECURE_AUTH_KEY', 'hej');
define('BB_LOGGED_IN_KEY', 'hej');
define('BB_NONCE_KEY', 'hej');-- removed by moderator --
The last 3 is find in wp-admin/options.php
And:
$bb->bb_xmlrpc_allow_user_switching = true;
-
- Posted 2 years ago #
Are you running WP or WP MU?
I couldn't find those in my wp-admin/options.php...
-
- Posted 2 years ago #
I am running WP only
-
- Posted 2 years ago #
Wah, I just go ahead and added
those defines (without 'BB_' prefix, of course) in my wp-config.php and everything is working now!
Great find, man! Thank you!
-
- Posted 2 years ago #
Your secret keys are supposed to be secret.
-
- Posted 2 years ago #
If someone can hack into my devserver that have no access to internet, the person is more than welcome to do it ;)
apbai: Nice, so everything is working now?
-
- Posted 2 years ago #
Hi there! :)
I've got the same problem with a website I'm working on.
I've tried every option posted here, but nothing seem to work.
I am working with WordPress 2.8.4 and bbPress 1.0.2.I can log in on the bbPress and the WordPress, but the cookie integration (so people only have to log in from 1 place, logged in into both) isn't working, they seem to get the user information from 1 table in 1 database.
I've verified that the keys are the same, all the keys are defined in both wp-config.php and bb-config.php, with the same keys and the same values for the salt. I even have a define('cookiepath', '/');, which also doesn't seem to work. :(
I also have bbPress Integration (plugin) installed in WordPress, didn't help as well.
Anything I may have missed?
-
- Posted 2 years ago #
The bbPress Integration plugin doesn't make it work. It gives you instructions on what to do next.
If you have WPMU then you'll receive four lines from the plugin
define( 'COOKIEHASH', '????????????????????????????????????' ); define( 'COOKIE_DOMAIN', '.????????????????.com' ); define( 'SITECOOKIEPATH', '/' ); define( 'COOKIEPATH', '/' );Paste it in wp-config after
<?then do the same in bb-config without the first line. -
- Posted 2 years ago #
Hi there!
Thanks for your response. Does this also affect WordPress (no MU version)?
Sorry I was a bit unclear about the exact version.I can try the define('sitecookiepath', '/'); , I haven't tried that.
=====
I've tried the above define( 'SITECOOKIEPATH', '/' ); but it didn't work as well.
Any further ideas what I can try?=====
Does anyone have a plain and simple manual how to integrate WP (no MU!) with bbPress? The manual on the site seems to fail me over and over again.
-
- Posted 2 years ago #
this is a shot in the dark but JesperA move the line
define( 'SITECOOKIEPATH', '/' );BEFORE
define('DB_NAME', -
- Posted 2 years ago #
And make sure you filled in in the BB Admin side the information under
DASHBOARD->SETTINGS->WordPress Integration
-
- Posted 2 years ago #
Okay, I've fixed it and it's working at the moment! :)
I forgot the settings in wp-admin/options.php for WordPress itself. -
You must log in to post.