I found significant problems with the bbPress documentation on integrating bbPress into a WordPress site, which had me puzzling for well over an hour (http://bbpress.org/documentation/integration-with-wordpress/). Here is what I did in the end:
1) Not at all clear from the documentation that bbPress should be installed in the same database as WordPress. Get WP database parameters from the WordPress wp-config.php, and enter these on the first page of the bbPress install page:
define(‘DB_NAME’, ‘warriord_wrdp7’);
/** MySQL database username */
define(‘DB_USER’, ‘warriord_wrdp7’);
/** MySQL database password */
define(‘DB_PASSWORD’, ‘xxxxxx’);
2) Fantastico and other automated scripts generate very long AUTH_KEY etc, that typically contain “escaped characters” within a PHP “define” statement (ie. ’ and \). Copying these from the wp-config.php into page 2 of the bbPress installer is problematic. Rather than trying to figure this out, I just copied them from wp-config.php (in WordPress) to bb-config.php (in bbPress).
Other than this, it was pretty straightforward and now works like a charm. To see it working http://internet101.biz/wordpress-how-to/
Marc
Hello,
I am aware that there have been several topics in regard to this subject. I am also aware that none of them solved my problem. I wish to have bbPress add target=”_blank” to all external links. I have tried _ck_’s plugin, but it results in an empty anchor: <a >url</a>. I am using the latest version of bbPress. Help is much appreciated.
Ryan
All the existing directories will be in the cPanel. Not sure if you can create a new one there, but you don’t even need to. find out where WordPress is installed (the folder with wp-config.php in it usually) and then upload the whole bbpress folder to the server. Rename that bbpress folder to whatever you want before you upload it.
So would that directory be in my cPanel? I’m using Hostgator web hosting if that makes a difference
First you need to get it on your server somewhere. Unzip it on your desktop and then rename that bbpress folder to whatever you want to call your forum (some people us “forums”, like here, or “forum” or “discussions”. If you don’t change it from bbpress, you will be accessing it at http://www.example.com/bbpress/
Once you unzip it, rename the folder if you want, upload it to your server. It’s commonly installed in a subfolder of WordPress. So, if WordPress is here: /var/www/htdocs/wordpress/ then you will want bbpress here /var/www/htdocs/wordpress/bbpress/ (with whatever you called the bbpress folder.)
Once it’s uploaded there, you will access the installer online like this:
http://www.example.com/bbpress/ (assuming http://www.example.com/ displays your WordPress site.)
Once you are this far, you can work on the integration with WordPress.
bbPress is not a WordPress plugin. If you uploaded it to wp-content/plugins it’s in the wrong place. bbPress requires its own folder and then you need to go through the installation by accessing your forum online at:
http://www.example.com/bbpress (or ‘forum’ if you renamed the bbpress folder to something else.)
There would be no point in having a bbPress installation if you were to have no forum. I’m not fully understanding what the whole scene here is. What exactly is your website?
I somehow managed to download the Read only forums plugin. Forgot how/where.
You can grab it from my server: http://www.inniosoft.co.cc/bbpress/plugins/read-only-forums.zip
The only thing I found was that it didn’t remove the header (“New Topic in this Forum”) for read only forums. Oh well – it still works, which is grand.
I realize this is a really dumb question but I have the .zip file from this site so what do I do with it now to integrate it with wordpress?
I am considering using this and have a couple questions:
1.) Is there a way to list all of the available Forums on one page and let the user select the forum they want to choose from there rather than placing all available forums at the bottom of the page like on http://bbpress.org/forums/
2.) Is it possible to remove the Hot Tags area at the top of the page like at the top of
http://bbpress.org/forums/
Thanks!
I’m looking for it as well. I tried Ben’s but it didn’t work so maybe it was indeed modified.
Anyone know where to get it?
Hi Matt,
I’ve been programming (or teaching it) for a living for 20+ years. I wrote my first few plugins for WordPress in 2005 and started working with WordPress MU in early 2006. The merged WP/WPMU codebase I mentioned in October can be downloaded here: http://wpmututorials.com/hacks/community-service/. More recently, I developed buddymatic which was one of the demos in the theme plugin/competition at WordCamp NYC. I also have a sharded database plugin for MU (based on HyperDB) which will be released this month. The database plugin itself is done and in use on production installs. I’m currently working on a site admin tool for migrating an install from a single database to the sharded structure.
Buddymatic is great illustration of what I do best: approach problems & solutions from an unusual angle. (For other people reading the thread Buddymatic is a port of Thematic that has the BuddyPress theme functionality embedded in it that auto detects whether BP is active.) What I would like to do with bbPress is make it a canonical plugin. IMO, that’s the way to ensure its longevity and continued development.
I am not a programmer so I can not help on that side of things.
Anyway, I would suggest that you have a look at one great Forum-software and another great Forum-application. You might get some ideas from it which might help you to build a much better Forum-software.
Please check the following:
http://www.gossamer-threads.com/forum/
http://vancouver.en.craigslist.org/forums/?forumID=81
KISS (Keep It Simple & Stupid).
Okay, now that we’re ready to get this show back on the road, let’s get this show back on the road!
That would be translating bbPress, and you’d need two things: Poedit and The bbPress POT file from your version.
You’d want to make “new from POT”, then save it as de.
Find the things you want to translate and put the translations in for them, then save again, and upload the de.mo to your forum’s my-languages folder. If it doesn’t already have one, make one.
Then, in your bb-config.php, set BB_LANG to de, and you’re done!
You could always use Role Manager and disable “Make new topics” for Members.
Assuming that $mydata_curpage is the current page number (starting from 1):
bb_paginate_links( array( 'total' => ceil( $mydata_count / $mydata_pagelimit ), 'current' => $mydata_curpage ) )
You’ll have to do the actual pagination yourself, but that’s as simple as an array_slice.
Thank you Matt! Good news from you! Thanks to all.
That’s what we’re doing, right here. Don’t worry.
That database host name does not look correct. That might be the web host name (a FTP server over HTTP?) but I would guess the database host name is actually something different, maybe some variation of that.
If bbPress can’t connect to the database, there’s usually a simple error in the connection details. There’s not much more to it than that.
I’m saddened to see development of bbPress stagnate since summer. After glimpsing bbPress a couple of years ago, i was enamored with the visual appeal, design and speed. This led me to migrate my fairly large board over to bbPress from older inferior software earlier this year. I dont want to see bbPress die! It’s got mojo and can be strengthened.
Pretty please, update me on how we can carry bbPress into 2010 and beyond as a dynamite communication tool. Thank-you.
ya my fault 
not used to the way BBPress saves options yet.. haha
You’re probably right, and it is all related as well. Andrew Powers reported me he fixed things in his “iBlogPro Forum” theme. I’m waiting for his update.
Thanks for the help! Will report back.
Later…