Dear astereo,
Great guide! One thing I would add, however, is what to do when there are errors, ie troubleshooting. For some reason I get stuck at the install.php file telling me “Cannot select DB.” This is despite the fact that I have followed the directions you mentioned (and those included on this website) to a T and have successfully installed WordPress, phpBB, and other php/mysql web programs with no problem. Also it seems like the member n2 is having the same problem. If the solution is found to this, perhaps it could be put in your ultimate guide, so that others do not fall into the same trap. Thank you.
Shouldn’t have posted the problem here. But sometimes this laptop seems to have a mind of his own.
great guide! I hope you keep it up
Great, thanks. Although I’m still having problems installing this 
Parse error: syntax error, unexpected T_VARIABLE in /home/bookieb/public_html/bbpress/config.php on line 46
Line 46 (and further):
$bb->wp_table_prefix = ‘wp_’; // ‘wp_’; // WordPress table prefix.
$bb->wp_home = ‘www.bookieboy.co.uk’; // WordPress – Options->General: Blog address (URL) // No trailing slash
$bb->wp_siteurl = ‘www.bookieboy.co.uk’; // WordPress – Options->General: WordPress address (URL) // No trailing slash
Mozey: hmm but what are the chance of a designer will make a simuliar design to both bbpress and wp ? mabye some, i just know i dont want the same theme on my forum as i got on my blog
Maybe I have misunderstood you but there is already a search function in bbpress. Try opening /search.php
It’s also possible to integrate it on any page.
I’ve just installed bbpress and have the same problem – my posts were all -1years “freshness”
I figured out that I needed to configure the config.php with my server time and not my local time. My server runs on PDT, which is 7 hours behind my physical location (on BST, shortly to be GMT). So now my “freshness” is correct, but all my post times are wrong. I’d like to see a mod that allows the user to define their local time zone and operate independently of the board’s installation location.
Apart from that – bbpress looks great and I love the freshness of it after the clutter of phpBB.
Mozey: ore just new kindt of themes just fore bbpress?
Mistainu
What I wrote should have helped you. You are doing what I said you cannot do.
You CANNOT have BBPress inside WP. BBPress must be outside WP. Then you edit bbpress’ config.php to link to the WP directory. That is where the integration happens.
The other option that could work is that WP is a subdirectory of BBPress (being the root). But I haven’t tried that.
The same happent to me when i deletet alle post in the first forum bbpress automatic made when installing, I think its becors you not made the first topic yourself it count -1 ?
why not do as wordpress does? just copy a script/code into a folder and then activate the plug-in and then folow the install instructions acorting too the plug-in readme about tags? and so on?
then you can easly can deside yourself witch you need this plug-in ore not just like wordpress.
in the 0.72 version of bbpress, i cannot remove forum treds in my Mysql database..
Yes its quit nice skin to bbpress, i hope in the futre there vil come more cool skins to bbpress like wordpress
#1. have a smoother “intuitive” integration between wordpress and bbpress?
#2. plugins and theme options pages in control panel *doh* 
#3. in the bbpress control panel, have a link that says “over to wordpress” and vice versa; that would require bbpress and wordpress to “recognize” each other’s presence on the website. a result of suggestion #1
#4. search function? etc
that’s all i can muster… otherwise it’s awesome.
nevermind, i figured out what went wrong:
near the bottom…
// Use the following line *only* if you will be loading WordPress everytime you load bbPress.
//define('WP_BB', true);
so i removed the //
define('WP_BB', true);
and that’s what caused the problem… now that i replaced the // back, integration works fine. but i have a question?
what was that line even supposed to do? i thought load everytime means i can callup the wordpress functions in the bbpress template? or something to that extent? someone please clarify?
it said something about capabilities.php had an error… so that’s why i added both plugins again, yet both failed to fix the problem.
consider me a first timer dummy and guide me step by step how to go about integrating bbpress to my wordpress?
What about importing from PunBB?
*sigh*
Please! You’ll have to be patient.. we are lucky we got this phpBB to bbpress importer this quickly.. jeesh! I’m sure brunotorre will probably make up more import scripts then..
If not brunotorre, then someone else I’m sure.. We’ll just have to be patient here.. Just my 2 cents …
spencerp
The domain should be http://localhost
and the path should be /~myusername/bbpress/
but that shouldn’t stop the database connection.
Do you know if you have PHP’s mysqli extension loaded (as opposed to the normal mysql)? If you do, try copying bb-includes/db.php to bb-includes/db-mysqli.php to overwrite that later file (it seems to be out of date).
Please let me knw if that helps or not.
It’s the space.
Try this plugin:
<?php
/*
Plugin Name: Allow spaces in user names
Plugin URI: https://bbpress.org/forums/topic/99
*/
function wpbb_user_sanitize( $text, $raw, $strict ) {
$username = strip_tags($raw);
// Kill octets
$username = preg_replace(‘|%([a-fA-F0-9][a-fA-F0-9])|’, ”, $username);
$username = preg_replace(‘/&.+?;/’, ”, $username); // Kill entities
// If strict, reduce to ASCII for max portability.
if ( $strict )
$username = preg_replace(‘|[^a-z0-9 _.-@]|i’, ”, $username);
return $username;
}
add_filter( ‘user_sanitize’, ‘wpbb_user_sanitize’, -1, 3);
?>
Jaxia, bbPress cannot use forum and topic names in its urls currently.
This will likely be a feature in future versions.
What do you mean “but it failed”?
I would like to try bbPress, but cannot get past the “Cannot select DB.” error message. What am I doing wrong? Here is what I have done…
1. Downloaded and am successfully running MySQL 5.0.26 server on Mac OS X 10.4.8.
2. Added a database called “testbb” to the mysql server (this is working because I can access this database through the mysql commandline in Terminal and in CocoaMySQL).
3. Turned on php (version 4.4.1) in the httpd.conf file.
4. Turned on the apache webserver running on my computer.
5. Downloaded the bbPress folder and put it in my webserver directory.
6. Changed the config-sample.php file to config.php.
7. Modified the config.php file. I changed the database name to testbb, changed the username to root, added the appropriate password, and changed the URL domain to “http://localhost/~myusername” and the URL path to “/bbpress/” because I did not change the folder’s name. It is still “bbpress”.
When I try to access the install.php file, I type in “http://localhost/~myusername/bbpress/bb-admin/install.php” into my browser. This successfully brings up the following error message: “Cannot select DB.”
What am I doing wrong? Why can’t it access the database, when I can access it through the commandline with the same username and password?
Agreed. Put the fields right there! (this should actually be simple to do with a little template editing) the bbPress dev team might be better to delegate this one…
ear1grey: what you need is already available see:
https://bbpress.org/forums/topic/87?replies=5
I tried this one:
http://www.ozpolitics.info/blog/?p=87
but eventually used this one:
http://www.underjc.com/?page_id=15
You may need to modify your rss2.php and copy it to your my-templates folder.
You can see it in action on my site (link via my username).
Hope that helps.