I am a designer, a blogger and a Wordpress nut!

Subscribe to my Feed

bbPress and WordPress Integration

bbpress

In this screencast tutorial I show you how to integrate bbPress with WordPress. This integration will allow the sharing of user database tables and admin database tables so that way users can be logged in to your WordPress site and will already be logged in to your bbPress site without having to log in with another user account. That goes the same with admin accounts. One admin account can administer both your bbPress and WordPress.

As of this tutorial I am using WordPress 2.9.1 and bbPress 1.02.

Running Time: 10 minutes 43 seconds

Links from video:

BB Press

Have you intergated bbPress with WordPress? How was your experience?

About the Author

Roy Ho is a web site design and developer. He blogs tutorials and articles on web design and development to share with the community. He has been practicing this field for 12 years now. He is passionate and very eager to learn more!
This entry was posted in Articles, Tutorials, Wordpress and tagged , , . Bookmark the permalink.
Back to top

54 Responses to bbPress and WordPress Integration

  1. shipping says:

    Hello! Your post (bbPress and WordPress Integration | Design in the Raw) does so well that I would like to translate it into French, publish on my french blog and link to you. You have something against it? Regards

  2. kunstharz says:

    I found your Blog when I was searching for already and I need to say, you do a really good job. You article helps me a lot! Thanks.

  3. jingis says:

    Excellent Tutorial, Roy Ho!

    your video makes it possible to integrate wp an bbpress, even for a beginner like me.

    thank you so much, i couldn’t have managed it otherwise.

  4. Victor says:

    Yes I followed the instructions but I seem that I still can not get these two things to function correctly. What can I be doing wrong? Everytime I log into one it will log me out of the other. Thanks

    • Roy Ho says:

      Did you start from scratch? Removing the database you used to install it and recreating it?

      Pay particular attention to where I talked about the advanced integration. Take note of the database bbPress is pointing to.

      • Victor says:

        Yes they both were fresh installs. I did the install on the wordpress first and than made the forums folder in the server, copy and pasted all folders out of the bbpress and than copied what you suggested on the video. When I first logged into the wordpress admin NP than I went to log into wordpress it denied me I had to get a new log in just to get back into that. Now I have all these errors showing up inside the wordpress admin but no problems with posting on the forums or the wordpress.

  5. Victor says:

    sorry for double post but it isn’t that new of a forum should I delete it and start over from scratch again? or would that mess up what I had to replace in the config.php?

    • Roy Ho says:

      As you can see in the video, I did a new fresh install and I demostrated that I can log in to bb Press and be logged in to WordPress.

      What does this mean on your reply “wordpress admin NP than I went to log into wordpress it denied me”

  6. Roy Ho says:

    Perhaps shoot me an email with your FTP info and domain name I will set it up for you.

  7. Victor says:

    I sent FTP and also log in for both the wordpress and bbpress

    Thanks :)

  8. Victor says:

    I just want to personally thank you for all of your help. I am not much of a webmaster or anything like that but if I can ever do anything to help you please let me know K>

    With Love and Respect

    Vic

  9. Thanks a lot for the tutorial. Followed each instruction and installed it in one shot. :)

  10. Azoo says:

    Hi!

    First I just wanna let you know that this is a great tutorial you got here, very easy to follow.

    But I have a problem like one of these other guys above had, I do everything as you say in the video but when I logg in to the bb-admin and then go to wp-admin, I have to input my login info. And when I do that I get logged out of the bb-admin.

    Hope you understand what I am trying to describe for you, and I hope you could help me.

    Thanks!

    • Roy Ho says:

      Hi Azoo and welcome to the site. No problem I can help you out.

      It would be easier if I can login myself to have a look. If you are comfortable with that, simply email me the login info. If not, we’ll trouble shoot another way.

      Either way, let me know…

  11. dyadica says:

    Hi, great post, before I try it can I ask if it works if you install bbpress in another subdomain and/or folder outside of the wordpress install

  12. mely says:

    uhm…actualy i’m not try this video tutorial yet, but when i saw the last moment from this tutorial, i saw u log in from bbpress first and then wordpress.
    I had tried a lot of tutorial before and have the same case here :
    :> if i login from bbpress, i can login WP admin.
    :> i can’t login from WP admin first.
    and all i wanna ask :
    can i login/log out from wordpress first and login to both…??not just login/log out from bbpress first and then login to both…thanx~

    • Roy Ho says:

      Hi mely,

      After I have logged into WP first, and then I go to my forums section, I can see that I am already logged in as my name will show on top and in addition I can moderate the posts. Although I have to mention there is a slight bug where if you log in to WP admin first and then come to your forums, although you are logged in, if you click ADMIN, for some reason it won’t take you to the admin backend page. It will just refresh. However, with that aside, you are able to perform the functions of the admin like edit posts, reply…etc.

      I hope that helps!

  13. Dany says:

    GREAT!!!! Video

    Thank you…
    :)

  14. MakMak says:

    Does this work for the current version of WP (3.0.1) and the current version of BB (1.0.2) ?

    • Roy Ho says:

      Hi MakMak,

      I didn’t personally try it on WP 3.0.1 but it works on BBpress 1.0.2.

      • MakMak says:

        Oh okay, currently I have done that but my problem lies in that I think the cookies aren’t reading each other because my forum is installed on a separate subdomain, so when I log into the forum, I can’t log into wordpress unless I log out of the forum first.

  15. Mi says:

    Perfect! Now I can see the bbpress via http://localost/wordpress/forums

    Thanks!!

    By the way, do you have tutorial that explains how integrated bbpress forums can have same look&feel (theme) with wordpress?

    I’m using WordPress 3.0 Twenty Ten theme.

    Thanks,

  16. Mi says:

    Thanks!!
    I’ll look forward to that (as soon as possible :)
    Sorry to bug you, but would you please email me when you post that tutorial or if it’s too much, then would you please post the news in this site as I’ll check this site regularly?

  17. Miff says:

    Hi there,

    thanks for the tutorial.

    after i did the integration, when i login to my wp, i can access the dashboard etc it’s all like normal.

    but when i go to my forum (/boards), it didnt show up the bb-admin “ADMIN” for me to click to….

    it’s just Welcome, Miff, Log out

    and when i go to /boards/bb-admin

    it keeps bring me back to /boards

    may i know what’s wrong with that?

    Thanks.

  18. Paul says:

    Do you have to create a new sql database for bbpress or can it run in the same database wordpress itself is using? Or is it best to have its own database? Please advise, great job for creating the video, well done :) cheers

    • Roy Ho says:

      Hi Paul
      I kept it separate.

      • Paul says:

        Hi Roy,

        I followed the video successfully with no errors, but when i tried to go to the bb-press admin i got a lot of errors: –

        Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\samplesite\forum\bb-settings.php on line 186

        Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\samplesite\forum\bb-includes\backpress\functions.wp-object-cache.php on line 108

        Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\samplesite\forum\bb-includes\backpress\pomo\mo.php on line 171

        Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\samplesite\forum\bb-includes\functions.bb-l10n.php on line 484

        Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\samplesite\forum\bb-includes\backpress\class.wp-taxonomy.php on line 581

        Warning: Cannot modify header information – headers already sent by (output started at C:\xampp\htdocs\samplesite\forum\bb-settings.php:186) in C:\xampp\htdocs\samplesite\forum\bb-includes\functions.bb-pluggable.php on line 232

        Do you have any ideas why i would get all this when no errors appeared in the install?

        I have to intergrate this into a live site soon, and just wanted to test getting it working locally first incase anything bad goes wrong on the live site.

        Thanks
        Paul

  19. Nick says:

    Hi Roy,

    Great post. Clear instructions and easy to follow. It may seem as a sill question, however I am wondering whether I can use the same MySQL DB I have for my WP installation for the bbPress installation? Or, is it mandatory for me to have a separate bbPress DB and then just do the integration as shown in your video?

    Again, you have just saved me a heap of time and for that, one big MASSIVE THANK YOU FROM THE UK!

    • Roy Ho says:

      Hey Nick,
      Yes I have done it in the same DB before and didn’t notice anything different but take note that was many WP versions ago..

      • Nick says:

        Thanks Roy,

        Just upgraded my WP to new 3.0.2 (I think that is right) and am going to give this integration thing a whirl now.

        Paranoid as I am, I have a second MySQL database and will install bbPress on that then see how the integration goes.

        Using buddypress too so trying to make everything install nicely before moving forward. To have one login for WP, BP and BBPress will be amazing!

  20. Tim says:

    Awesome tutorial.

  21. David says:

    Great instruction video, thanks! Really worked a treat for me and walked me through the process. Much appreciated

  22. szakal161 says:

    great tutorial but Im geting some errors with new wordpress;/ do you know how I can corect that ?
    Deprecated: Assigning the return value of new by reference is deprecated in /customers/anime-seven.com/anime-seven.com/httpd.www/forum/bb-settings.php on line 186 Deprecated: Assigning the return value of new by reference is deprecated in /customers/anime-seven.com/anime-seven.com/httpd.www/forum/bb-includes/backpress/functions.wp-object-cache.php on line 108 Deprecated: Assigning the return value of new by reference is deprecated in /customers/anime-seven.com/anime-seven.com/httpd.www/forum/bb-includes/backpress/pomo/mo.php on line 171 Deprecated: Assigning the return value of new by reference is deprecated in /customers/anime-seven.com/anime-seven.com/httpd.www/forum/bb-includes/functions.bb-l10n.php on line 484 Deprecated: Assigning the return value of new by reference is deprecated in /customers/anime-seven.com/anime-seven.com/httpd.www/forum/bb-includes/backpress/class.wp-taxonomy.php on line 581 Warning: Cannot modify header information – headers already sent by (output started at /customers/anime-seven.com/anime-seven.com/httpd.www/forum/bb-settings.php:186) in /customers/anime-seven.com/anime-seven.com/httpd.www/forum/bb-includes/functions.bb-pluggable.php on line 232

    I cant log in to my bb admin becaouse Im geting same eror when Im trying go to bb-admin page ;/

  23. Cheryl says:

    Tremendous video. I had already struggled through it before I found your video. Being a visual person, I wish I had seen this first.

    My problem now is that I can go from WordPress to bbPress (via a tab with that URL address) but I can’t get back to WordPress. When I follow the instructions for Deep Integration (www.wpwebhost.com or http://www.domainwebcenter.com) I’m getting an error. Do you have a way to do Deep Integration?

  24. Cheryl says:

    As I look into Deep Integration more, it appears that doing so will increase the load on the server. I think what I need to do is replace the bbPress header with the WordPress header and that should do it.

  25. Kimberly says:

    Thank you SOOOOO much for this tutorial! Tried multiple times to do this with no success until watching your video :)

Leave a Reply

Your email address will not be published. Required fields are marked *

*


*