It might be worth noting that in my working version, I have not modified either of the -config.php files other than what the WP plug-in states. Basically I did not modify the bb-config.php with what the admin integration speed up thing asked me to. I never could get that manual stuff working right.
configure the WordPress plugin and also follow it’s instructions to modify the wp-config.php file in WordPress.
Did that.
Further to this, you should clear out any manual settings you have made to bb-config.php in bbPress and re-check your settings in the “WordPress integration” page in bbPress admin.
Did that.
Then clear all your cookies and retest.
Did that (went in to Firefox’s cookies and after logging out, whacked everything from my domain).
Result: Login is not shared as I think it should be.
If I login on bbPress I can get into my WordPress admin area, but I do not show up as logged in on the WordPress ‘regular’ side. If I go to comment, it says I’m not logged in.
Also, if I have this line in, I can’t log in to both at the same time:
$bb->logged_in_cookie = 'wordpress_logged_in_<long string>';
I think clearly something’s wrong on my end, but damned if I can sort out what!
EDIT!
I watched my cookies as I logged into bbPress after being logged into WordPress.
WordPress makes two entries for wordpress_logged_in_<long string>! Both have ‘Domain’ of .domain.net, and then path of / and /blog/
bbPress has one entry and it has Host of domain.net (no leading . ) and path of /
I fixed the host/domain part by setting $bb->cookiedomain = '.domain.net'; but I’m pretty convinced this double existence of the logged_in cookie is what’s screwing me up.
@the_Wish:
Are you using a subdomain of some kind?
Alright I figured it out now for my case.
In wp-config.php I had to add both lines
define('COOKIE_DOMAIN', '.domain.com');
define('COOKIEPATH', '/');
as opposed to just
define('COOKIEPATH', '/');
which the WP Plugin suggests to do.
The WP Integration Settings in the bbP Admin section got this part right but not the Plugin Settings in WP.
Anyways it’s working now all the way. Great achievement Sam!
Are you trying to use bbRatings with WordPress? Why?
What you thing about https://wordpress.org/extend/plugins/wp-postratings/
Ah I didn’t think of handling
But I thought bbpress allowed htmlentities. Maybe only some of them.
Having Google Alerts set up to tell you when your company gets mentioned is a pretty standard PR move these days.
There is probably one or two people at GoDaddy who look at all these and then route them to sales or service or whatever.
If they follow through I’ll be impressed then, not enough to use their service, but still.
I’d rather not fork bbPress to create a plugin version but I would be interested in seeing a plugin created for WordPress that basically loaded bbPress into WordPress for you. johnjames is right about having to keep our integration options open beyond a simple plugin.
Also, perhaps you missed the announcements about full integration returning in the recent alpha versions?
vannak, let me know what happens.
Chris, I see webhosting companies visit websites that deal with webhosting all the time, it’s possible GoDaddy hired a PR firm to scan websites for talk about them. Given the amount of competition for hosting, it’s very likely.
If you google their IP, you’ll notice that GD person looks for “godaddy sucks” and shows up to post things like “will look into it” so this is PR at it’s cleverest. They really are on godaddy ISP though in Arizona so it’s legit (or a offshore group hired to use GoDaddy as a proxy).
I justed upload bb-rating folder to wordpress site, WordPress Plugin can activated.
But I don’t know how to use it or the plugin can’t working.
Looks like cross integrating the bb-load.php file into wp-config.php breaks the WP admin styling completely. It causes the header to output all funky and out of order. Trying to track it down now, but for the time being don’t try it! Yikes! Haha!
@David:
I’ve thought about this, and tossed it around in my mind for the past few weeks. I think that for us right now, it would make sense to do things this way, since we’re only really familiar with WordPress, and then bbPress. There are a few other products that Automattic has, such as WordPress MU, BuddyPress, and BackPress, that also will need to have a way to integrate around each other and any random installation combination of them.
With that being said, from a bbPress users perspective, it might almost make more sense to have WordPress MU be a plug-in for bbPress, giving each individual user their own WordPress type blog. This would use bbPress as the core installation, and include another application inside itself.
You can see that with so many products and possibilities, the fact that Sam has enlightened us with a working bbPress/WordPress dedicated integration solution using bbp1.0alpha4 is pretty awesome.
I’m going to do my best to make a plug-in like you’ve mentioned, to add a bbPress menu in the WordPress admin panel, and allow editing of the bbPress settings. I think that again, right now, a majority of the bbPress audience is going to lean towards that as a next logical step. Eventually however, BuddyPress and BackPress will probably be the future for all of us.
Your points are valid, and I think many of us here feel the same, just rest assured that the devs are listening and busting their butts to make things work together the best way they can.
This looks awesome! I am going to try it out tomorrow… I noticed that some nbsp’s were being “encoded” in my bbPress installs tonight, and was wondering how I was gonna strip them out. Looking forward to trying this out
.
Will report back with results.
Hello David!
A fully integrated version of bbPress 1.0 is being tested here:
https://bbpress.org/forums/topic/bbpress-10-alpha-4-released
If you can help out with the testing, that would be great!
John
Do you know what transport is being used on the broken installations?
wp_remote_get() now uses the HTTP API library, which is supposed to try different ways of retrieving a remote HTTP resource. It is possible that the method the problem server is selecting to use looks like it is valid to WPMU but in fact isn’t for some configuration reason.
Beyond that I really can’t help without more specifics about your setup, mainly what transport method the HTTP API is using.
Sounds like a bug to me, please report it in Trac http://trac.bbpress.org
I LOVE bbpress…..
I LOVE wordpress…..
but…
I am really disappointed that bbpress integration with wordpress was broken at wordpress version 2.6 and has yet to be put back into bbpress.
In fact, bbpress intigration with wordpress wont be back until bbpress version 1.0 which is not due for some time.
http://bbpress.org/forums/topic/wordpress-and-bbpress-integration-101
on one of my websites:
http://lifelightcam.com/bbpress/
i currently run the 1.0-alpha, because i need wordpress 2.7.
I don’t know about everyone else, but I am extremely disappointed that wordpress and bbpress are from the same company (Automattic), but they are not joined at the hip like I thought, they are more like completely independent and might as well not be made from the same company.
bbpress is an excellent product on its own, but the integration with wordpress is simply embarrassing.
So, this what I think should be done:
Create 2 versions of bbpress.
1) a standalone version already in existance
2) a wordpress plugin (installed from within wordpress) that has the same functionality as bbpress. The bbpress admin would reside within wordpress itself. This would make bbpress instantly integrated with wordpress.
Having 2 versions would increase the number of users of bbpress and make it a lot easier and simpler for non-technical users to integrate bbpress with wordpress.
Please consider this. If you have any questions, please feel free to ask.
peace
Hi _ck_ I didn’t give the topic link to godadday. they actually found it by themself. anyway, i’ll try your suggestion. thanks indeed.
Vannak
bb-config.php shouldn’t need a LOGGED_IN_KEY definition – you may as well remove it.
BB_NONCE_KEY is a new key for making unique nonce values – this doesn’t affect cookies.
I am a fan and always have been. It has been a great ride and thanks to all that contribute and spend time on this project and with the community.
Trent
@sambauers
I checked all my settings again and it looked like I did not put in my define(‘LOGGED_IN_KEY’, on bbconfig.php. That is now fixed and running smoothly.
Haven’t found problems logging in/out either bbpress or wordpress. Thanks sam.
Question: what is define(‘BB_NONCE_KEY’, ”); on the bb-config file? It is currently empty and don’t remember having it on 1.0a2.
@johnjamesjacoby
In your wp-config.php file, right after you include bbPress you should probably clear out all filters and actions so that nothing in bbPress alters WordPress unexpectedly. Use this code right after the include to do that:
// Remove filters and action that have been set by the included bbPress
if ( defined( 'BB_PATH' ) ) {
$wp_filter = array();
$wp_actions = array();
$merged_filters = array();
$wp_current_filter = array();
}
I’ve also briefly tested the deepest integration possible with a cross include; including BBP into WP config, and WP into BBP config, thus allowing all functions in all areas.
You are a braver man than me.