There is an answer here, https://bbpress.org/forums/topic/require_oncepathtowp-blog-headerphp
Saying:
Put in the full path from the server root instead of the relative path.
But I don’t know how to code it and what line to place it
I followed this
bbPress will not have access to WordPress’ functions unless you manually tell bbPress to load WordPress first. In order to do that, you need to put require_once(‘path/to/wp-blog-header.php’); in bbPress’ bb-config.php (wp-blog-header is in the same directory as WordPress’ wp-config.php file).
and it looks like this
require_once( dirname(__FILE__) . ‘/wp-config.php’);
this is located in http://domain.com
my bbpress is on http://forums.domain.com and I am using Cpanel
I used to run a blog using blogger called veryserious.org that had various contributors. I wanted a forum, so I used bbpress and set up board.veryserious.org. I liked the interface and having more control etc, so I switched from blogger to wordpress.
Then, I tried to integrate wp and bbpress. It worked okay, but what I think happened was that user numbers from WP were used to assign posts and info to users on BBpress. If you see from this thread:
http://board.veryserious.org/topic.php?id=34
There is a post (2nd post on page) from a girl named Phoebe, but the post is attributed to Jake. Can I reassign posts, or should I just erase all the posts and start over?
I am having troubles with integrating WPMU in with BBpress in a subdomain. Whenever I integrate the BBpress portion. It always says that password incorrect on WPMU. Imust have missed something or it isn’t possible to install it on a subdomain with WPMU wilcarded
Hope you could help me. Thanks
this order: WP 2.3, bbpress 0.8 (no integration with plugins at that time!), WP 2.5, bbpress 0.9
I patently waited with integration until 0.9 was out since I did not understand the whole thing before. And everything seems to work fine. Just as soon as I add the WP_ prefix setting to my bbpress config, it seems as if bbpress can only access the WP users anymore (with the correct role mapping i set up etc.).
maybe I should just ask all registered users to reregister after integration, since the forum is pretty new anyway
I love the simplicity of bbpress, but my needs require file attachment. If I had the knowledge, I would write a plug-in, but I don’t, so I can’t.
I have created a wordpress plugin that moves most used bb admin tab functionality to the wordpress admin section.
the plugin is available here
http://wordpress.org/extend/plugins/bbpress-admin/
any feedback will be appreciated..
cheers
Ok so I take back my last statement, those that register through bbpress get a bbpress role and those that go through wp get a wp role. Again, is there a file where these functions are written that I can check to make sure the table prefix is right? My user registration is integrated in that users show up on both, but the roles only are assigned in the form which a user registers.
You can try bbPortal:
http://www.bbportal.org/
I’m not sure if it works with v0.9 or not. Haven’t seen Null around here for a while now…
I’m not sure that it’s the “fault” of bbpress, but i just successfully set up
an installation and integrated the user db with my wordpress install.
However, now I find that I can’t get into my admin page for wordpress.
I get the error:
“You do not have sufficient permissions to access this page.”
With my admin username. Same with any other username I have. I can log in, but I don’t have the right access.
I can however get into the bbpress admin page.
I have access to phpMyAdmin and checked out the db. In the usermeta table I have this entry for my admin user:
wp_capabilities a:1:{s:13:”administrator”;b:1;}
Which looks right to me.
Any suggestions would be greatly appriciated.
Woot for JQuery, I love this framework ^^!
U have prototype+SAU with JQuery in half the size.
Bump for this trac ticket.
This would be fairly straightforward to do and make a good plugin.
Some flag could be added via the topic meta and then a list would be generated that could be placed anywhere in a template. Also in the topic meta could be placed a custom summary for the topic. As a bonus, RSS could be generated for the list.
I am not sure why Google would be seeing redirects. bbPress only redirects after form submits via wp_redirect to the best of my knowledge. Some plugins do too, but usually again after only form submits. Even tag URLs don’t use redirects.
Are you saying the sitemap plugin does not generate permalink urls but rather the non-slug type ie. ?topic=123
If so, it’s outdated and if you are using slugs it should be modified to generate results that take advantage of slugs.
The Avatar Upload plugin is fairly well developed and I believe there is a hack to show them on the WordPress side as well. It does take a little bit of time to setup though.
Thanks for the reply. I added the line you suggested:
$wp_table_prefix = ‘wp_’;
I put this right after:
$bb_table_prefix = ‘bb_’;
But now I get the following error when logging in. It seems to me that there must be something in the config file or in a table that tells BBPress to use the WordPress usesrs table? I tried deleting the bb-users table whihc didn’t help.
bbPress database error: [Table ‘webdeadm_main.bb_users’ doesn’t exist]
SELECT ID FROM bb_users WHERE user_login = ‘admin’
bbPress database error: [Table ‘webdeadm_main.bb_users’ doesn’t exist]
SELECT * FROM bb_users WHERE user_login = ‘admin’
bbPress has a function to check for administrators.
if (!in_array(intval($GLOBALS['forum']->forum_id), array(2,5,9)) || bb_current_user_can('administrate')) { do something here }
where 2,5,9 is the list of forum numbers you want to restrict
what you are trying to do is possible but very tricky
For example the “add new” on the front page offers all the forums for posting and you’d have to write a replacement for the list (bb_new_topic_forum_dropdown)
All the “magic” happens in post-form.php, so you could take that if statement above and wrap the entire template with that (in theory).
Make sure they have not been flagged as a “bozo” by looking at their profile.
In bbpress 0.9 you can disable the built-in bozo plugin entirely which I actually recommend as it’s more trouble than it’s worth.
(Then use my Human Test plugin to make sure you don’t get bots registering to post spam).
Thank you , what about all plugins ?
Was your bbpress setup before you installed WordPress?
Or did WordPress exist before bbPress? If you had bbPress first, the userbase is actually inside bbPress and not WordPress. It needs to be moved to WordPress (or some different settings in WordPress to use the user db in bbPress). I call that “reverse integration”.
But I’m missing a detail here – did you have working integration with WordPress+bbPress before you upgraded both to latest?
This might be an issue with the two parts of the “secret key” not being setup/synced properly between the two.
I think this is a similar problem posted here (that was never answered)
https://bbpress.org/forums/topic/bbpress-09-released#post-14973
“Interesting design.”
Hopefully that’s a good thing, and not too interesting that it’s junk. 
Thanks for adding it to bbshowcase.
Hey there,
my problem/question might be funny, but I just don’t get it. Just upgraded bbpress to 0.9.1 and set it up to be integrated with wordpress 2.5 (they both share the same DB).
in the bbpress config, i have the WP_ prefix set and everything seems to sync well.
But now all posts in the bbpress forums done by users that registered at the bbpress forums are signed as “Anonymous” and all these users are neither listed in the bbpress nor in the worspress admin.
To test, i removed the WP_prefix from the bbpress config, then these users are back, but for sure this is not the idea since i’d like to integrate both things.
Am I getting this all wrong, or is there any way to “import” the bbpress users into WP or something (without manually editing the database)?
Thanks!
Christophe
Interesting design.
Here’s another live demo via bbShowcase:
http://bbshowcase.org/forums/?bbtheme=peacemaker-bbpress
I had an e-mail saying that the latest bbpress broke my port, so I’ve done a re-release 
http://www.linickx.com/archives/402/k2-for-bbpress-updated-v002
Yep, site is down…. not encouraging.