Will, if you don’t remember what your table prefix is for WordPress, you can look it up in /wp-config.php. Most likely, you didn’t change it and it’s: wp_
.
Youhou I think I found a more simple solution than merging bbpress and wordpress language file:
– Download your bbpress language file (for me fr_FR) then rename it using another name than the language file you use for wordpress (in my case my wordpress language file is fr_FR and I renamed it in ru_RU) then put it inside your /wp-content/languages folder.
– duplicate wp-blog-header.php and rename the copy as wp-blog-header-bb.php
– duplicate wp-config.php and rename the copy wp-config-bb.php
– open wp-blog-header-bb.php and replace the two occurences of wp-config.php by wp-config-bb.php
-open wp-config-bb.php and replace the line define (‘WPLANG’, ‘yourlanguage’);
by define (‘WPLANG’, ‘newnameofyourbbpresslanguagefile’); (in my case I replaced define (‘WPLANG’, ‘fr_FR’); by define (‘WPLANG’, ‘ru_RU’)
-In your bb-config.php replace wp-blog-header.php by wp-blog-header-bb.php
You’re done now each time bbpress loads wordpress will load your bbpress language file instead of the wordpress one.
I hope my explainations were clear.
A++
I’ve searched and searched for this on the forum, but I can’t find anything on it.
I’ve been trying to set up a BBPress system for my WordPress blog. I figured WordPress was easy, so BBpress should have been too. And it was. I installed it all and it worked nicely – I even posted a few things on the forums I created.
The problem came when I tried to integrate my WordPress blog’s users with BBpress. I added in the proper field (I can’t remember what it was) the wp_user file, but it simply crashed the whole thing, and now I can’t see any of the BBPress system or pages – I just get the following message:
“Your user table prefix may only contain letters, numbers and underscores.”
I’ve tried Googling it and seraching on your forums, but I couldn’t find a similar event – so am I a techno nitwit or is this a genuine problem? The URL of the site is: http://mnins.dr-spangle.com/bbpress/.
Cheers, I look forward your reply.
That may not be possible at this time.
bbPress is supposed to “move out of the way” of WordPress, but WordPress is not as polite.
Chris you’re right. In BBpress I can use all the WP functions (ex. sidebar) but I can’t use any BBpress function (ex. Simple Online list code) in WordPress.
<?php login_form(); ?> <—BBpress code in wordpress will not work.
Thanks sambauers but I want the opposite/reverse. I want BBPress to load in full when people are in wordpress.
My theory is if this work I can put BBPress code in the WPsidebar .
require_once(‘path/to/wp-blog-header.php’); <– to put in BB-config
require_once(‘path/to/????????????.php’); <– to put in WP-config
Sorry Sam 
Sam, I read that page you linked, but I didn’t see instructions on loading bbPress functions inside WordPress which is what gerikg seems to be looking for (maybe call it reverse integration.) I see the instructions for accessing WordPress functions inside bbPress.
Do I just need to read it again?
The original post is pretty much wrong.
https://bbpress.org/documentation/integration-with-wordpress/
Read the whole page there.
I’m a really new website owner. I don’t know a lot about manipulating html code. I’ve read the step by step instructions for installing bbpress but It’s not enough …I need indepth instructions.
This much I have done. Downloaded bbPress to my PC. Unzipped the file.
I have WordPress already on my web host account.
Where do I put bbpress? I would like to have them integrated.
Do I put it under /wp-admin/?
It looks like your WordPress htaccess file is screwed up, as this link to a WordPress post doesn’t work:
* http://www.charitableorthodoxy.com/2008/05/13/hello-world/
Did you create an htaccess file for your WordPress install? Also, did you create one for your bbPress? If so, please paste in the contents of each htaccess file. If not, try creating one.
Good day,
I just installed wordpress and bbpress on my domain, charitableorthodoxy.com last night. When I try to view a post, it results in a 404 error? I can’t figure out why. Anyone have any ideas?
When users on my site sign up using the forum signup, it successfully integrates them into wordpress, but they do not have a nickname, so all comments appear as Anonymous.
Normally wordpress would automatically set the display name default to be the login name, but they dont seem to for this.
Any way i could edit the BBpress files to make wp have a name?
so what changes do I need to make to /bb-admin/rewrite-rules.php to make it work? where is this F-in’ Manual I need to read? I have bbpress integrated with wordpress so maybe that’s part of the problem
or are you saying I need to copy the rules out of /bb-admin/rewrite-rules.php into my wordpress .htaccess file to make it work?
Strange, I was able to use spaces in mine. Perhaps it has to do with punctuation marks in the string.
I discovered for it to work that the secret keys cannot have spaces in them (as you could in version 2.5 of wordpress and 0.9.0.1 of bbpress). I generated a new secret key as one long string, and voila… users can pass through both programs without having to re-login.
$bb->wp_table_prefix = 'wp__'; // your wordpress db prefix is
$bb->wp_home = 'http://yourwebsite.com/';
$bb->wp_siteurl = 'http://yourwebsite.com/';
replace yourwebsite.com with the blog url.
if your blog url is for example
http://www.google.com then don’t forget to add the WWW to it, but if it doesn’t has WWW, the don’t use it.
Oh forgot. In the header I put just
<li class="page_item"><a href="/forum/">Forum</a></li>
after the page tag. It’s either going to be in front of all your pages or behind.
How I did it… Please back up everything before starting.
You need to find a theme close to your WP to make it easier.
1. BBPress side,I renamed the style.css to styleold.css
2. Copied over the WPress style.css over to BBpress
3. Open both files at the same time. You want to copy over some of the codes from styleold.css to style.css. You might need to play with it. Do not copy “body”.
4. Open both header.php. On the BBpress header copy over from WP header everything after <body> tag. Replacing whatever is there.
5. Open both footer.php. This one is a little tricky.
You can just copy over the whole thing and make sure you have <?php do_action(‘bb_foot’, ”); ?> in the file. You will lose the designers info though OR You need to see on WP side if there is any closing tags. bring that over and delete any closing tags on the BBPress side.
6. Sidebars: depending where the <?php get_sidebar(); ?> tag. For example my <?php get_sidebar(); ?> tag is IN the footer.php Others the <?php get_sidebar(); ?> is in the other php files right before the get_footer tag or after get header tag.
that’s it.
make sure in your bb-config.php
there is
$bb->WP_BB = true;
if (file_exists(‘../wp-blog-header.php’))
require_once(‘../wp-blog-header.php’);
else
if (file_exists(‘../../wp-blog-header.php’))
require_once(‘../../wp-blog-header.php’);
after <?php tag.
Goodluck.
This is a tough one to resolve. I noticed before that someone managed to merge their pot files for wordpress and bbpress into one and load that into wordpress (and in turn bbpress)
Can you post the lines you added to your wp-config.php and bb-config.php files?
The line defining the secret key in bb-config.php should look something like this:
define('BB_SECRET_KEY', 'My Secret Key');
and in wp-config.php
define('SECRET_KEY', 'My Secret Key');
Don’t forget the BB_ in fron of SECRET_KEY in the bb-config.php file.
I saw your thread. It wasn’t a solution for me…
I’ve defined both SECRET_KEY in wp-config and bb-config as the same, as well as pulling in the new “secret” from the wordpress options page into bb-admin config panel.
Still having the same issues of not being able to be logged into both at the same time.
Sorry, but that didn’t fix my problem. I’ve defined both SECRET_KEY in wp-config and bb-config as the same, as well as pulling in the new “secret” from the wordpress options page into bb-admin config panel.
Still having the same issues of not being able to be logged into both at the same time.
I updated the secret key, but I’m still having the same problem as described above.