Codeable info

How to Integrate WordPress and bbPress

Posted on by in WordPress Tutorials

It’s easy to forget about bbPress, Automattics neglected son. bbPress development seems to be way down on their list. You only need to look at the design and content of the bbPress home page compared to other Automattic projects such as,, Akismet or Gravatar; to see that bbPress isn’t a priority for them.

Which I think is a bit of a shame. Sure, as far as forum software goes, bbPress is very very basic. It lacks a lot of features which are standard on most other forums plus bugs are not resolved as quickly as their flagship WordPress script. Though it does have a lot of positives

Firstly, it’s very easy to install and won’t put too much strain on your host. It’s also very easy to customise compared to other forum scripts and is currently being used for the WordPress Support Forums, BuddyPress and WP Mods.

Last but not least, it’s incredibly easy to integrate with WordPress, which you would expect since it’s developed by the same people. Today I will be showing you how easy it is to integrate a bbPress forum with your WordPress powered website.

Note, in this tutorial I will assume that you are using the latest version of WordPress (2.9.2) and bbPress (1.0.2) as integration is a little different for older versions of the script. I have tested this integration process using bbPress 1.02, WordPress 2.92 and WordPress 3.0 Beta 1.

Integrating bbPress with WordPress – Long Version

Just like WordPress, installing bbPress is very straight forward. All you need to do is download the latest version, extract the files, upload them to your host and run the installer. The installer has 3 steps.

Step 1

The first step is database configuration. This step checks that the database information you entered in your bb-config.php file is correct.

There are lots of articles on the web stating that bbPress and WordPress have to be installed into the same database in order for the two scripts to integrate correctly. This is not true (though perhaps it was in the past). Installing the scripts in the same database will make the installation quicker though as you do not need to enter your database login details again, though from a performance point of view it’s perhaps better to keep them in separate databases. It’s your call.

If you install bbPress in the same database as your blog then the database login information is exactly the same as your blogs, so you can simply copy the database info from your blogs wp-config.php file. If not, you need to change the database name to your bbPress database.

In preparation for this tutorial I installed, deleted and reinstalled bbPress several times to see if I could get it working. With every installation I placed I the bbPress script in a sub folder of my WordPress test blog. You could maybe place the forum in a parent directory if you really wanted though I haven’t tested this myself as yet. I assume it’s possible to use sub domains such as as well though you may run into some cookie login problems.

Before proceeding, make sure you make your bb-config.php writeable so that bbPress can update the config file at the end of the installation process.

Step 2 – Part 1: Cookies

Step 2 is WordPress integration. In this step you need to enter some information about the WordPress blog you are trying to integrate bbPress with.

bbPress Installation Step 2

In this cookies section you need to enter the location of your WordPress website (and the blog URL too if it is different). You then need to make sure you enter the WordPress “auth” cookie key, the WordPress “secure auth” cookie key and the WordPress “logged in” cookie key.

You can also enter the corresponding cookie salts. These were introduced in WordPress 3.0 so if you are using WordPress 2.6 to WordPress 2.9 you will probably only have the authentication keys in your blogs wp-config.php file. However, if you are using WordPress 3.0 beta and above you will have cookie salts too so you should copy these from your wp-config.php file and enter them in step 2.

The installer will stop you if the cookie keys have not been entered but will still let you proceed if the cookie salts are not. And if you don’t enter the cookie salt information it will flag as an installation error at the end of the installation, but don’t be too concerned about this. The salts can be updated in the bbPress WordPress integration page so if you forget to input them during the installation process you can do so later on.

You should already have entered this information into your blogs wp-config.php file so it’s just a matter of making sure the keys and salts are exactly the same, but if you haven’t, here is how you generate them.

This whole process ensures that users aren’t logged out of your blog when they log into your forum (and vice versa).

Note, if this information is incorrect in anyway you can check the details match later on. The easiest way to make sure that they are correct is simply copying and pasting the keys from your blogs wp-config.php file to forums bb-config.php file. However, you must make sure that the keys in the bb-config.php file have the prefix BB_ i.e. BB_AUTH_KEY = AUTH_KEY, BB_SECURE_AUTH_KEY=SECURE_AUTH_KEY etc.

Step 2 – Part 2 : User database

You need to enter the WordPress user database table prefix in this section so that bbPress can find the WordPress data tables. The default prefix is ‘wp_’. Though it’s worth checking your wp-config.php file incase it’s been changed. There is also an option for WordPress multi users to enter their WordPress MU primary blog ID.

Step 2 – Part 3: Separate user database settings

If you are using a separate database for bbPress and WordPress then you will need to enter your WordPress database information here. If you can’t remember your database details, simply refer to the wp-config.php file.

Step 3

In the 3rd and final step of installing bbPress you need to enter the name and location of your bbPress forum. You can also set any admin from your WordPress blog as your ‘Key Master’.

bbPress Installation Step 3

You now just need to complete the installation process. Make sure your bb-config.php file is writeable before clicking on the complete button. If you don’t, you may need to manually edit your bb-config.php file.

Setting Cookies

Your bbPress will now be live, however you still need to set the cookies correctly. This ensures that logging into your blog doesn’t log you out of your bbPress forum (and vice versa).

If you have your blog in the root of your domain with the forum in a sub folder then you simply need to add the code below to the top of your wp-config.php and bb-config.php files:

define( 'COOKIEPATH', '/' );

If you have it installed somewhere else then I recommend installing the bbPress Integration plugin into your WordPress blog.

bbPress Integration

All the bbPress Integration plugin does is tell you the path for your cookies. Once you have the code, you can uninstall the plugin.

Again, remember to make sure you set the cookie path near the top of the config files i.e. before the database information.

WordPress Integration Settings

After setting your cookies path, you should now visit your WordPress Integration Settings page. This can be found in the settings section of your bbPress admin area (i.e. bbpresslocation/bb-admin/options-wordpress.php).

In this page you can edit your wordpress prefix, location and authentication keys and salts. However, the main reason to visit this page after installation is to set your user roles. You should have already set blog administrators as forum key masters though you may wish to asign blog editors as moderators and everyone else as members.

bbPress User Role Map

bbPress WordPress Plugins

If you have successfully integrated the scripts together you may want to add some bbPress related plugins to your WordPress plug such as Bbpress Latest Discussion For WordPress or bbPress Live (just search for bbPress through the WordPress plugin installation section to see a list of bbPress related plugins).

Integrating bbPress with WordPress – Quick Recap

A quick recap of the above guide for those who don’t need a big explanation :)

  1. Download bbPress, upload it to a subfolder of your WordPress installation (preferably), make the bb-config.php file writeable and then start the installer.
  2. Enter the authentication cookie keys and salts in step 2. Make sure they match those in your blogs wp-config.php file.
  3. Enter your blogs prefix. The default value is ‘wp_’ though it’s worth checking your wp-config.php file incase it has been changed.
  4. Enter your WordPress database details if you are not installing bbPress in the same database.
  5. Enter your bbPress forum name, the forum URL (which is already stated), assign a Key Master and enter the Key Masters equivalent forum name.
  6. Define your cookie path. If you don’t know it, install the bbPress Integration plugin to find out the exact location. Add this code near the top of your wp-config.php and bb-config.php files (i.e. before the database information) and re-upload the files. You can uninstall the bbPress Integration plugin at this point as it is no longer needed.
  7. Go to your WordPress Integration Settings page (i.e. bbpresslocation/bb-admin/options-wordpress.php) and assign the user roles from your blog to their corresponding roles in bbPress.

Troubleshooting & Common Integration Problems

I hope that you all install and integrate bbPress and WordPress in your first try. Though, there is a good chance that you may have done slightly wrong at one stage so I thought I would look at some of the most common problems for you.

The main problem that most people face with integration is with cookies. When the cookies aren’t set correctly you will be signed out of your forum when you sign into your blog and vice versa. This is a problem I experienced myself at the start and it can be incredibly frustrating.

Firstly, if you are having this problem then I assume that your bbPress forum has installed correctly and is integrated with WordPress. That is, your users from your blog can login to the forum using the same information and your forum users can login to your blog.

However, if you are being logged out every time you login to the other script then you need to check that you have defined the cookie path correctly and matched your authentication cookie keys and salts. In my experience it’s more likely to be a problem with the cookie keys and salts.

Therefore the first thing you should do is generate a new list of keys and salts at Copy them to your wp-config.php file and upload it. Then copy the same keys to your bb-config.php file and upload the file, making sure you add the prefix BB_ before each key or salt i.e. BB_AUTH_KEY = AUTH_KEY, BB_SECURE_AUTH_KEY=SECURE_AUTH_KEY etc.

If that doesn’t resolve your issue then you should double check all your other settings are correct. It’s perhaps worth deleting the bbPress database tables and reinstalling bbPress just to make sure you did everything correctly if you are struggling to resolve the issue. Jacksi posted in the bbPress forums that integration didn’t work when the cookie keys and salts had 64 characters but did when they were shortened to 32. I didn’t have a problem with this personally though it’s worth trying if you are having problems and nothing else is working.

If you are really struggling with it though please leave a comment here or post a thread in the WP Mod Forums.

The other two main problems that users report are:

You can only integrate bbPress if you use non-www

Many believe that you can only integrate bbPress and WordPress together if you set bbpress at rather than I believe this actually used to be true in older versions because WordPress cookies would let you use www or non-www whilst bbPress cookies would only use non-www (I don’t know for certain, though there are many threads about it in the bbPress forums).

During my tests I installed bbPress and WordPress using www and non-www. The first time I used non-www as the URL it resolved an issue I was having with cookies so I did more tests to see if it was true. It isn’t.

It seems that bbPress is a little more forgiving with cookies when you use non-www though if you set the authentication keys and salts correctly you will not have a problem with either.

It’s better to use the same database

As I mentioned before, another thing which many people are encouraging you to do is use the same database for WordPress and for bbPress. I have installed bbPress in a different database and in the same one as WordPress.There really wasn’t any problems in either location for me so it’s really up to you.

If you are having problems installing bbPress in a different database, I would double check the database information you have given in the integration page.

Changing your forum from BuddyPress to bbPress

BuddyPress is a fantastic script from the Auttomatic team. It integrates with WordPress much easier than bbPress because it is installed as a plugin rather than a stand alone script.

This means that users don’t have to try and integrate two different scripts or integrate their designs, which is why many people install BuddyPress as a forum solution.

However, BuddyPress doesn’t have a forum. It allows you to set up a groups function which can be used as a forum. Through the use of templates BuddyPress can redirect users from a URL such as to the groups function. Unfortunately, groups work very differently from a forum and many users quickly realise that it doesn’t do what they need it to do, so they then start looking at bbPress. In my opinion this is the best solution (BuddyPress themselves use bbPress for their support forum).

I installed BuddyPress a while ago to try it out and tried out the groups function as a forum. I then uninstalled it and came across a few of the redirect problems which users come across. Specifically, if you had your BuddyPress group/forums at, uninstalled BuddyPress and then installed bbPress at the same address; you would get a forum not found error.

This is probably occurring because of the BP Template Pack. If you don’t use a BuddyPress template and instead choose to use your blogs own theme, then you probably installed the template pack plugin. This plugin adds lots of template files to your theme and integrates BuddyPress functions into the WordPress design.

So to uninstall BuddyPress completely you need to deactivate all BuddyPress plugins (and delete them if you wish). You can also delete the BuddyPress tables from your database if you wish (worth doing if you don’t plan on using it again). The last thing you need to do is delete all of the BP Template Pack template files from WordPress. The 6 folders (activity, blogs, forums, groups, members and registration) should all be in your theme folder e.g.

These templates added redirections so with them now removed you should now see your bbPress forum at Once BuddyPress has been completely removed, you just need to integrate bbPress with WordPress using the steps mentioned in this article.

Deep Integration

Deep integration involves loading up WordPress and bbPress when your forums are loaded. Some people believe that this is the best way to integrate WordPress and bbPress but I think it’s overkill, you simply don’t need to load everything unless you want to call up functions like latest posts, archives, categories etc. And in my opinion, it’s better to simply link to your blog in your forum area and list the latest forum posts and forum categories than blog pages.

Though I do appreciate that everyone uses WordPress in different ways. So if you want to integrate WordPress and bbPress beyond just sharing the user tables in your database, you should look more into deep integration.

To call WordPress functions within your bbPress forum you need to add the following to your bb-config.php file:

require_once(dirname(__FILE__) . '/path/to/wp-load.php');

This will increase the load on your server, so it’s prudent to check if there are any plugins for bbPress which do what you want first.

Designing your bbPress Forum

Although bbPress integrates well with WordPress, it is completely separate from it. Therefore it doesn’t work the same way as a plugin and won’t share your blogs design. This is a major stumbling block for a lot of bloggers, though it doesn’t need to be, particularly if you know HTML and a little PHP.

The first thing I recommend doing is downloading 4 or 5 bbPress themes from the web and uploading them to your /bb-templates/ folder. Try a few of them out to see which one you like. You may want to go with a theme which has a similar colour scheme to your blog, though I personally prefer to go with something very basic and then change the colours later to blend the bbPress design in with my blogs design.

A good way to understand the templates better is to compare the code which is being used in different themes. Move things around and play around with the themes for a while to get a better understanding of how the templates work. You can find a good reference on what template does what at

Blending the forum into the rest of your sites design isn’t too difficult. It’s hard to give a step by step tutorial on how to do this, as it depends on the theme you are using for your blog.

However, below you can see the steps I take to make the forum design the same as the blog.

  1. Open up the bbPress theme header.php template and import the stylesheet that your blog is using into the head section. For example:
    <link rel="stylesheet" href="" type="text/css" />

    This allows your forum to use all of the CSS classes that your blog does. You should now be calling two stylesheets in your forum header.php template: your blogs stylesheet and your forum stylesheet. If you prefer, you can copy the forum classes to your blogs stylesheet, but I think it’s better to keep the stylesheets separate to keep things simpler.

  2. View the source of one of your blog pages. You need to copy a lot of the code from here to the header and footer templates of your forum theme. What code you copy over will depend on how your blog design is structured. Though for most blog themes this requires you to copy the code below the body tag to the start of the main content area. Copy this code to the header.php template.
  3. If you want to include your sidebar in your design, copy the code from the bottom of the content area (including the sidebar code) to the bottom of the page to the footer.php file. If you don’t want to include the sidebar in your forum design, make sure you remove all of the sidebar code. You will also need to create another CSS class for your forums main content area since it will be longer (since there is no sidebar). Basically, what you are trying to do in steps 2 and 3 is copy your blogs header and footer design into your forum templates.
  4. You should now open up your bbPress stylesheet and tidy up the code. Many of the classes can be removed. For example, common classes for anchors, header tags etc will be duplicated in both stylesheets. If you remove them from your bbPress stylesheet your forum fonts and colours will match your blog more. Though you will also need to watch out for duplicate classes which are clashing (e.g. menu is used a lot for controlling how navigation menus are styled, so it’s possible that the class exists in both stylesheets).
  5. Your forum should now blend in well with the rest of your website, though there may be a few bugs here or there that need addressed. Usually this is resolved by removing classes that are clashing or over-riding styling from your blogs imported stylesheet.
  6. At this stage your forum should blend in with your blog design so well that most people won’t even realise that they are powered from a different script. Now you can play around with your forum templates, move things around and get the forum looking the way you want it (I sometimes use other theme templates for reference).

If you have some experience with modifying WordPress themes then you should be comfortable with integrating your bbPress forum design with your blog. In one of my last blogs I integrated a vBulletin forum with the blog and I have to say, integrating the design was much easier with bbPress. So you shouldn’t have any major difficulties. If you do run into some problems though, feel free to post the details in the forum and I’ll do my best to help you out.


I hope this tutorial will help you integrate these two great scripts together. Whilst bbPress isn’t the most advanced forum script out there, it works great with WordPress. And for me that is a big part of why I like using it.

Unfortunately, these type of integrations don’t always go to plan, so if you are really struggling with this please leave a comment here or post a thread in the WP Mod Forums and I will do my best to help :)

Good luck,

Below is a list of discussions, articles and videos about integrating bbPress and WordPress which you may find useful.

Codeable info

Comments (53)

Comment by Kevin Muldoon says:

@Riyo I’m not too sure. I don’t user the new version of bbPress (or any version for that matter) due to the many problems I had with it. For me, there are better solutions available.

What exactly does the error say?

Comment by Riyo says:

I am having an issue, whenever a new user joins and creates a new post, he’s prompted with soem error screen. Secondly, I can not delete topics which are created in the forums from the admin panel. Any ideas where I may hve gone wrong?

Comment by Kevin Muldoon says:

I wouldn’t advise using a WordPress installation as old as that as there have been a lot of bugs and security problems addressed since then.

I’d be interested to hear how you get on integrating it with an older version though :)

Comment by sangdedi says:

thank you for the tutorial but will it work on wordpress 2.6.2 + BBpress 1.0.2 ??
I will try it first then I will be right back with the result :)

Comment by Kevin Muldoon says:

Hey Falcon,

It does sound like it’s a cookie issue, so it could be down to the salts.

Can you post the url to your site and post your config files here (minus your personal details and login info etc).


Comment by Falcon1986 says:

Hello Kevin. Very good and thorough post!

I have been trying to get the WordPress and bbPress logins synchronized, but to no avail. Seems like each section is using a different cookie even though I have both installations sharing the same database and salts. bbPress is installed within a subdirectory of WordPress and they are both using www-domains.

Any help would be appreciated. Thanks!

Comment by Kevin Muldoon says:

Hi Hanzel,

If you post the url of the site in the forums I’ll have a look at it :)


Comment by Hanzel says:

Thanks for tutorial!

Sadly, I spent few hours, used every technique and still I can’t integrate cookies. Kevin, maybe you could look what is wrong? It’s for the good cause (charity site). :)

Thanks & best wishes,

ps: sorry for bad english.

Comment by Ray says:

Your guide is good, but your entire BuddyPress section is misleading.

If you install standalone bbPress in /forums/, then you need to tell BuddyPress to change their forum slug to something else.

This can be done by adding the following line in wp-config.php:
define ( ‘BP_FORUMS_SLUG’, ‘discussions’ );

“discussions” can be changed to anything you desire.

The problem is not caused by BP Template Pack like you originally stated.

Now you can have both your standalone bbPress install and BP group forums.

Of course, this gives you another problem from a usability perspective, but at the end of the day, it gives you more options!

Comment by Kevin Muldoon says:

Thanks for clarifying that Ray. With most of my tutorials I go through the steps first in my test blog and then go over it once again once I am writing the article so that I detail everything correctly in the tutorial.

I didn’t spend much time with BuddyPress. I installed it before installing bbPress and then installed the template pack etc. However I included a note about what I done in this article just incase it helped others who were doing the same.

I plan on writing a longer more detailed guide/introduction about BuddyPress in the next few weeks. I had originally scheduled it for last week but the combination of a 4 day trip to London/Belgium for a friends stag do and fixing up my new house has put me way behind schedule.

Rest assured I will be doing my best to write a good guide about this in the future. I’m sure your correction will prove very useful to those who are installing bbPress and BuddyPress. :)


Comment by Pablo says:

Thanks, mail sent ;)

Comment by Kevin Muldoon says:

Can you email me a temporary admin access for the blog and forum and temporary ftp access too.

Comment by Pawel says:

auth salts are identical in file wp-config.php and bb-config.php but i can log in to forum only after log in main site.

Comment by Pablo says:

Hi Kevin, thanks for your answer. When i’m logging out from forum i’m still log in main site.

Comment by Pablo says:

I installed bbPress few times and everything worked but when i logged out i can’t logg in once again.

Comment by Kevin Muldoon says:

I would check your cookie settings and make sure that auth salts etc are identical in wp-config.php and bb-config.php.

Comment by Kevin Muldoon says:

Hi Pablo,

Can you be more specific about the problem i.e. are you being logged out of the forum once you login to your main site?

Comment by Enhance Your Registration Page With Register Plus says:

[…] if you have a lot of people registering on your site, be it for leaving comments, guest posting or posting in your forum; you may want to consider the Register Plus plugin from DevBits developer […]

Comment by Anurag says:

Thanks for the help kevin :)

Comment by Anurag says:

if my user logs into bbpress and then goes to wordpress for commenting on a post, would he have to login again? I am loged into bbpress but i have to loginto wp explicitly, should not that be implicit? then what does single sign on mean ??

Comment by Anurag says:

i updated everything, generated a new set…still not working :(

Comment by Anurag says:

please check, i have sent the details

Comment by Anurag says:

i can give you the access.

can you provide me an email address? I cant put the passwords here !!

Comment by Anurag says:

thanks for the response kevin.

I am running wordpress successfully and i think my PHP version is 4.3.11, so that should not be a problem.

I am using the latest versions, 2.9.2 and 1.02

I did everything, the salts and cookies, tried the 32 char workaround also, but no help. Please help

Comment by Kevin Muldoon says:

no problem. Glad I could help.

Comment by Kevin Muldoon says:

The user needs to sign into the blog and the forum. However they can use the same sign in details.

Plus, signing into the blog will not sign them out of the forum (and vice versa). The main problem most people had with this integration was being signed out when they logged into the other area.

If someone signs into both the blog and forum and doesn’t clear their cookies, they won’t have to sign in again in either place.

Comment by Kevin Muldoon says:

I’m logged into both the admin area and the forum and I’m not being logged out. Seems to be working perfectly :)

If it’s not working for you then you probably just need to clear your cookies. If you’re lazy, just quickly check the forum and blog in a different browser.

Comment by Kevin Muldoon says:

I checked your details.

You haven’t entered the NONCE_KEY in bb-config.php.

In your integration area your “auth” and “logged in” cookie salts are incorrect i.e. they don’t match what’s in your config files. And the “secure auth” hasn’t been entered at all.

My suggestion is that you generate new auth codes and enter them into your config files and make sure it matches up in your integration page too.

Comment by Kevin Muldoon says:

Of course not :)

You can use the Contact page listed at the top of the site.

Comment by Kevin Muldoon says:

I can see the forum is live. I can have a look at it if you want.

I’d need a temporary admin access for both the forum and the blog and a copy of your wp-config.php and bb-config.php files. This will allow me to check all settings against my working setup.

Comment by Kevin Muldoon says:

According to and you need PHP 4.3+ to run WordPress and bbPress.

Does your host have this?

Also, can you confirm you are using the latest versions of WordPress and that you have updated wp-config.php and bb-config.php with the auth salts and cookies.

Comment by Anurag says:

before reading the article my setup behaved like this-
On logging out of bbpress, if i refreshed my wp dashboard, it used to log out. But on logging into bbpress/wp the other guy did not understand this.

after making a fresh install even this is not working. But however if I login to wp as admin and then if i login to bbpress as normal member on returning to wp and refreshing the dashboard, it logs out.

what i understand is that wp understands who has logged out at bbpress but it does not provide seamless integration.

I a mon php version not php5

please help

Comment by Paulo Faustino says:

As you can see now, if i had the include_once(dirname(__FILE__) . ‘/../wp-blog-header.php’ ); on my bb-config i’ll get a page title structure similars to yours but with “Page not found”. Can you help me solve this m8?


Comment by Paulo Faustino says:

Kevin, i have integrated the bbpress into my WordPress main blog. But i’m using php get header and footer in all my bbpress files. The issue is that i can’t get good page titles as you have here: for example. You page title is Troubleshooting < WordPress Forum

Wich type of code have you used to use a bbpress page title when it is a bbpress page? As i'm using my wordpress header, i really don't know how to tell it that if is a bbpress page/post, it should apply the bbpress title and not the wordpress title :(

Thx in advance

Comment by Kevin Muldoon says:

I think you have things set up differently from me.

You have simply imported the header and footer from your blog. I didn’t do this. I simple copied the header and footer design from my main blog into the bbpress header.php template (rather than importing them).

In WordPress you can use if statements to show different titles for different areas of your site (e.g. the archives, categories, single pages etc).

I don’t believe that there is an existing if statement option i.e. you can’t say if bbpress. Therefore you’d probably need to find some hard coded solution.

Hopefully I’m wrong though :) But it does seem like this is a limitation of importing the header and footer rather than just copying the design over like I did.


Comment by Kevin Muldoon says:

Hi Paulo,

I’m not getting any 404 errors. Seems to be working ok.

To correct the header problem. Make sure your bbpress template header has this as the title

It looks like you have just copied this from your home page

Escola de Ganhar Dinheiro</title>

If you use instead then it should work ok.

Let me know if you have any problems :)


Comment by Paulo Faustino says:

Hi Kevin, i have made a really interesting integration of bbPress on my blog, but i’m dealing with a huge problem. How can i show the bbpress page titles on browser, for example, as i’m using my wordpress header?

You can see here:

I’m getting a 404 error for page not found in all bbpress posts and pages.

Thanks in advance.

Comment by Matt Mullenwegs Keynote Presentation at WordCamp San Francisco 2010 says:

[…] thing I was really pleased to hear was that last month he was pushing his developers to develop bbPress as a plugin for WordPress rather than as a stand alone product. As he quite rightly points out, if […]

Comment by Kevin Muldoon says:

Glad you found it useful :)

Comment by Matchbox says:

I wish that I would’ve found this article earlier! I finally got everything working. Thanks a lot!

Comment by Kevin Muldoon says:

It’s difficult to determine what’s wrong.

If you would be willing to give me a temporary ftp login and login for both bbpress and wordpress I can see if I fix it.

Sometimes a fresh pair of eyes can spot something the original developer can’t.

Comment by Eric says:

OK I generated new 64 character keys and no luck. I cut them down to 32 chars and still nothing. I even just used a single character, letter ‘d’, for all keys and no luck. The salts all match also as per what’s in the bbmeta table, I even cut them down to 32 chars but no luck either. I see a meta_key there called bp_bbpress_seed. I wonder if that has any thing to do with this.

PHP is version 5.2.13. I had WP integrated with the login system for a custom social network that I programmed with Symfony, so generally something like this should not be a problem for my technical skill level. I’ve been trying WP-BBP with a totally fresh installation without the Symfony integration just to be sure that’s not the issue. I had this working before with an earlier version of WP, 2.6 or 2.7, not sure, and with the BBP 1.0 alpha. The problems started when I upgraded to WP 2.9.2.

Comment by Kevin Muldoon says:

Hi Eric,

Glad the tutorial helped you out. I did integration a few times using the versions you used.

The first thing I would do was generate new cookie salts and keys and add them to your wp-config.php and bb-config.php files.

Try that and let me know how you get on :)


Comment by Eric says:

Thanks for the tutorial, I knew all those steps before I read it but it was good to see them set down in one place to be sure I’m doing everything correctly.

Even after doing all that though I still have the problem with cookies where it logs you out of one app when you login to the other. I’m using WP 2.9.2 and BBP 1.0.2. I’ve tried it a bunch of times installing in different directories and even on different hosts but no luck. I wonder if there is some problem that prevents WP 2.9.2 from integrating.

Comment by Which Forum Script Should You Use With Your WordPress Powered Website? - WP Mods says:

[…] between WordPress and the Forum script as 99% of people will only be signing up to the forum. And as I showed two weeks ago, it is very easy to customise the design of a forum so that it blends in with the rest of your […]

Comment by Integrating Forums with Wordpress | Scott Elkin says:

[…] didnt read this until after my first attempt, but by following this you should be fine: […]

Comment by budi says:

thanks, very complete tutorial and can you explain about bbpress security?

Comment by Kevin Muldoon says:

I don’t know much about bbPress security just now if im honest as I’m still getting to grips with the script.

I will look into it in the future though.

Comment by Kevin Muldoon says:

Best of luck with the integration Lee. I’m sure you’ll be fine with it once you become accustomed to the templates.

Comment by Lee says:

This couldn’t have come at a different time!
I’ve been through the install process several times my self.. I couldn’t put my finger on what was wrong… But I followed this – and it works perfect! Excellent!

I just need to try and make the forum look like the wp theme now!!!

Comment by Kevin Muldoon says:

Glad you liked the tutorial guys.

Comment by Mahendra says:

What a wonderful tutorial. I was hanging to install a forum for my site. Some one suggested me to go for bbpress. but I was not sure how to install it as I am not a techi. This article helped me to install the bb forum on my site in one single attempt very successfully. Thanks a lot

Comment by Gautam says:

Nice tutorial!

Codeable info