bbPress

Simple, Fast, Elegant

bbPress support forums » Troubleshooting

[sticky]

WordPress + bbPress Integration 101

(125 posts)
  • Started 4 months ago by _ck_
  • Latest reply from _ck_
  • This topic is not a support question
  1. I agree on the registration process which can be done by forcing the links on one side to the other but I could not disagree more with "Editing a wordpress post that didn't exist on the bbpress side would still create a post on bbpress, but it'd date it for when the wordpress post was created, not when the edit took place."

    I can't fathom people who do that. WordPress is for One-To-Many posting and bbPress is for Many-To-Many posting.

    What bbPress needs instead is a "promote-to-front-page" option where the front page becomes a descriptive list of topics with summaries that have been marked by admin as worthy for the front page. It's yet another plugin that I want to write but don't have time for right now.

    Posted 4 months ago #
  2. The problem I'm having is that I've had is that my blog is 4 years old but I only started adding tags less than a year ago and bbpress install is only a few months old. So I'm adding new tags to old posts (because I'm a borderline obsessive compulsive organizer) and they're becoming the top posts on bbpress even though they're years old. I'm almost done, but it's still crazy. If I were smart and had realized what was going to happen I'd've finished my tagging and then installed bbpress. But I'm not ;)

    Anyway, thanks for the tips and the info :)

    Posted 4 months ago #
  3. Adding tags does not bump posts to the top of latest discussions. In any case that question/problem should be asked in a new topic, not in this one.

    Posted 3 months ago #
  4. Daft question time... I've recently built a site based on Wordpress 2.6 and want to launch soon, so BBPress integration is out of the question for now. However, I don't want to use another forum system in it's place.

    So... my question is, If I have a standalone BBPress installation now, is it easy to integrate it with my WordPress installation later on when BBPress gets upgraded or is it going to be a major hassle?

    Thanks all!

    Posted 3 months ago #
  5. That's what I call reverse integration and it definitely can be done but you are going to have to decide which user table you want to use - you cannot merge them. You'll either have to use WordPress's or bbPress. Then you can either rename the usertable or make very specific settings inside bb-config.php and wp-config.php to point to the new table.

    Posted 3 months ago #
  6. Anonymous
    Unregistered

    Sorry to be mildly off topic, but with regard to the cookie issue, is it not possible to create an interface cookie? Like a simple plugin that creates a cookie in WP 2.6 to interface with the BB cookie? Just as a quickfix?

    (as an aside, I signed up with a wordpress.org account and I can login here at bbpress, but when i try to view my profile, I get an error at a bbpress page. This error also occurs when I view my profile from wordpress.org. I'm wondering if this is an integration bug as well)

    Posted 3 months ago #
  7. The problem is WordPress 2.6 re-used the existing cookie name but with a different format and calculation (and purpose). It was not the brightest design move on their part. Had they chosen a new cookie name, your idea would be valid.

    At the rate Sam and MDA are working, I suspect there will be a stable enough bbPress 1.0 alpha by the end of this month (which will work with - actually require - WordPress 2.6).

    A few other people have reported the profile bug. I will ask them to investigate.

    Posted 3 months ago #
  8. grifter
    Member

    oops! Just spent ages upgrading my blog today to 2.6 which broke an afternoon's work I spent a while back integrating with BB press 0.9. Thankfully the 1.0 Alpha release isn't too far away :-)

    Posted 3 months ago #
  9. Sam has just tagged bbpress 1.0 alpha 1 (r1636)

    http://bbpress.org/blog/2008/08/bbpress-10-alpha-series/

    http://bbpress.org/latest-alpha.zip

    Posted 3 months ago #
  10. I'm getting a funky error:

    Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

    I'm trying to integrate WP 2.5.1 and BB 1.0

    It only started when I edited the bb_config file bbpress was working smoothly as a stand-alone... I think

    Posted 3 months ago #
  11. Ah, I guess it's important to point out that just like bbPress 0.9 is not compatible with WordPress 2.6, it's also that bbPress 1.0 is not comptible with WordPress 2.5

    Major cookie changes.

    WordPress 2.5.x <-> bbPress 0.9

    WordPress 2.6.x <-> bbPress 1.0

    Posted 3 months ago #
  12. ah! ok, thanks

    Posted 3 months ago #
  13. I now have a good working intgration between WordPress 2.6 and bbPress 1.0.

    So... errrm... YAY!

    Posted 3 months ago #
  14. mytriniphone
    Member

    ok so what would be the best way to upgrade?

    thanks in advance

    Aaron

    Posted 3 months ago #
  15. IT IS WORKING!!!!! Thanks for all your help!

    Posted 3 months ago #
  16. bh
    Member

    I just did the installation, and things went quite smoothly.
    Just one issue so far...

    If you log into wordpress, you are logged into bbpress. Great!
    But, if you log into wordress, you are not logged into bbpress. Not great.

    I made sure the settings were correct, but I could not find a reference to secure_auth_salt in Wordpress.

    Also, how would one go about creating a single login for both sites that isn't either wordpress or bbpress specific?

    Lastly, is there any type of theme integration, or any tips on creating a unified design?

    BBpress 1.0 alpha 1
    Wordpress 2.6.1 beta 2

    Posted 3 months ago #
  17. csseur3
    Member

    hi,

    for the wp-config.php file in wordpress, it is:

    define('COOKIE_DOMAIN', '.website.org');
    or
    define('COOKIE_DOMAIN', 'website.org');

    ?

    thanks ;)

    Fred

    Posted 3 months ago #
  18. bh
    Member

    BBpress told me to put this in the wp-config, and I did, but still no luck.

    define('COOKIE_DOMAIN', '');
    define('COOKIEPATH', '/');

    Posted 3 months ago #
  19. bh
    Member

    define('COOKIE_DOMAIN', '.website.org');
    or
    define('COOKIE_DOMAIN', 'website.org');

    I tried both of these, in addition to define('COOKIE_DOMAIN', '');

    But still no luck. Any ideas?

    /edit Just another bit of info, bbpress is in /bbpress, and wordpress is in /wordpress. I don't know if it makes a difference, but I thought I would mention it.

    Posted 3 months ago #
  20. chrissydunno
    Member

    i have latest WP and latest bbPress. Looks like integration results in every bb registrant being automatically given ADMIN login role in WP. Role mapping doesn't seem to make a difference. Is there really no solution to this other than recommended downgrading?

    Posted 3 months ago #
  21. If you mean WordPress 2.6 and bbPress 0.9.0.2, then no, they're not compatible. Choices seem to be:

    1. Go back to WordPress 2.5.1
    2. Install bbPress alpha release and take your chances
    3. Wait for a new bbPress release that's compatible
    4. Live without integration

    Posted 3 months ago #
  22. keress
    Member

    3. WordPress and bbPress each in their own directory

    |--\blog\ <-- WordPress
    |
    |--\forums\ <-- bbPress

    (I like this methed best, seems the most "logical")

    In this scenario, do both wp and bbpress have their own, separate databases?

    BTW, I can't get the blockquote to work. I've tried <> [] and to no avail. What am I missing?

    Posted 3 months ago #
  23. In all methods of integration, they both have their own [databases] (correction, tables) and simply share the user table (and usermeta).

    Posted 3 months ago #
  24. keress
    Member

    I was confused on this issue, reading the installation instructions. It may be helpful to others to add an explanation there on whether it's preferred to use separate databases and why. Thanks much.

    Posted 3 months ago #
  25. Sorry I posted some incorrect/incomplete info. Until recently, it was only possible to have one database with both the wordpress tables and bbpress tables shared inside.

    It's now possible to force separate databases since 0.9

    However I recommend against separate databases unless you have some kind of weird configuration that demands it. It's just more overhead, more configuration, more to backup and worry about. Some hosts even limit the number of databases you can have (though tables inside are not restricted).

    Posted 3 months ago #
  26. Just a quick question here, not sure if this is the right thread though.

    I have WP 2.6.1, and last night installed bbpress 1.0 alpha.

    Now when I log in this morning I click the button to 'Log in' and it redirects me back to the login page. The bbpress installation however, I can login to as normal.

    Posted 3 months ago #
  27. amnion
    Member

    Is there any way to "undo" an integration? I integrated WP 2.6 with version 9 before I found this thread and now I can't log into BB press at all. Just wondering if I can hack in and do something to revert it back.

    Posted 3 months ago #
  28. imam.azhari
    Member

    I can log in only through WP for both BB and WP, and also log out: only through WP. I need help how to log in either in WP or BB for both BB and WP, and log out too?

    Posted 3 months ago #
  29. keress
    Member

    _ck_ said: "I recommend against separate databases unless you have some kind of weird configuration that demands it."

    Could you, or someone else, please outline any special instructions on how to go about installing bbpress to the same database that wordpress is already living on? Or is it just that simple as designating the wp database in the installation? What can go wrong? I have visions of destroying our wp installation and losing all our posts and pages.

    Also, to uninstall bbpress, do I just delete its folder and database?

    I would suggest adding a paragraph in the installation instructions recommending the single database installation and whatever instructions are necessary on how to properly do this.

    Posted 3 months ago #
  30. To install in the same database, you just specify that database's connection details in bb-config.php. The important thing is to be sure you use a different table prefix for the bbPress installation. By default, it's bb_ for bbPress and for wp_ for WordPress. Use different table prefixes and you can install as many applications into one database as you want. Just keep the table prefixes unique.

    To uninstall, yes, just delete the directory with bbPress in it, then drop the bbPress tables from the database. DO NOT delete the database since you have WordPress in that database as well, right?

    You're probably overthinking it. Using the same database is how the bbPress directions are written now; I think it's assumed. The key is to just keep the table prefixes unique and you can put as much stuff in one database as you want.

    Posted 3 months ago #

RSS feed for this topic

Reply »

You must log in to post.

Code is Poetry.