I had that problem except I couldn’t log into bbpress after intergrating but my 17 yr old daughter(smarty pants!) re did the whole thing using the same data base for both and now it works
Same problem here. As far as I know, I followed the instructions to the t in integrating these two DBs – I have the blog running on one db, and the bb running on a second, but the users being “pulled” from the blog db. Once I did that, I lost all rights to access the backend. Have changed everything I can find on the backend to make this work, made edits in phpmyadmin to the user settings in the server, and even tried the plugin that was made available, Fix Admin Access – no avail.
Would love some other pointers if people have gotten buried on this. I’m not sure what else to pull together here.
Hi, I’m experimenting with embedding some of the bbPress commenting features into an existing website and I was wondering how to set a topic ID.
If I do something like this it will return the topic title just fine:
$topic = get_topic( 162 );
$topic_id = $topic->topic_id;
echo $topic->topic_title;
But as soon as I try something like this I realize that I don’t have an active topic because it no longer returns the information:
$topic = get_topic( 162 );
$topic_id = $topic->topic_id;
if (is_topic()) echo $topic->topic_title;
Hope that was clear,
Thanks!
Hi,
I have upgraded my WP blog to version 2.5 and would like to integrate a bbPress forum. Before I do so, I would like to hear from people who have done this and could give me a few tips on how to go about it.
A few things on my mind:
1- Is it better to use a separate database for the forum (which I would prefer if possible)?
2- Should bbPress be installed in a WP sub-folder?
3- Is there a plugin or setting which would prevent users to register via the forum (disable forum registration) and would redirect the user to the WP registration panel?
Any advice (and good plugins) would be well appreciated.
Cheers,
Gene
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.