Just out of curiousity, why are you sending headers from your bb-config? bbPress/Wordpress will handle this all on their own.
You also shouldn’t call the blog-header, it causes other problems you can read about around the forums. You should be calling wp-load.php and the following should be more than adequate for your bb-config;
define('WP_BB', TRUE);
if (! defined('DB_NAME'))
require_once(dirname(__FILE__) . '/w/wp-load.php');
$bb->wp_table_prefix = 'wp_'; // your wordpress db prefix is
$bb->wp_home = 'http://domain.tld';
$bb->wp_siteurl = 'http://domain.tld';
I don’t think this will solve your next page problem, as it looks like they’re being sent wrong from bbPress for whatever reason, but it will avoid a plethora of other problems before they become apparent.
Use this link: https://api.wordpress.org/secret-key/1.1/salt It has 8 keys.
NOTE: do NOT use any “www.” anywhere when entering information.
1. Open wp-config line replace your new keys with the one from that link. (lines 55-61)
2. Copy the same keys to bb-config just add BB_ after define(' in each key so it will be define('BB_AUTH_KEY', ' (lines 41-44)
3. Install & activate BBpress Intergration plugin https://wordpress.org/extend/plugins/bbpress-integration/
4. Get the information from the plugin and put it in line 20 in wp-config and line 13 in bb-config. (if you’re using WPMU take out the HASH line when you put it in bb-config)
5. Log into your BBpress admin section and navigate to SETTINGS -> WORDPRESS INTEGRATION enter all the information it ask for, save.
6. Clear you cache and you should be ready to go.
Did you select integration during the installation? I’m assuming so – you should have the following values set in WordPress which you will use during this process to have added to your bb-config.php and the bbpress database;
AUTH_KEY
SECURE_AUTH_KEY
LOGGED_IN_KEY
NONCE_KEY
AUTH_SALT
LOGGED_IN_SALT
SECURE_AUTH_SALT
The four that go in your bb-config.php (should be handled by the installation):
BB_AUTH_KEY
BB_SECURE_AUTH_KEY
BB_LOGGED_IN_KEY
BB_NONCE_KEY
The three that should be (matched) in your database (the bb_meta table) are:
bb_auth_salt
bb_secure_auth_salt
bb_logged_in_salt
…the rest of the integration allegedly needs no attention with the latest WP/WPMU and bbPress, but I have the bbPress Integration plugin installed on mine anyways, and at the very least it doesn’t hurt. It also gives you some additional cookie information to add to your wp-config.php
oh heaoull…. i tried integration…… and thats where it went – at “tried”
did not turn out good
do you have any examples of how that looks like? bb press with wordpress sidebar?
also, is it possible to remove the tags bar? and possibly replace it with something else?
If you’re running WordPress alongside bbPress, simply integrate the two and then you can call your WP sidebar from your bbPress theme. (tip: search under ‘deep integration’)
adamkayce – It’s absolutely possible.
I’ve done it a few times now.
These links are hugely helpful:
https://bbpress.org/forums/topic/integration-of-established-wp-and-bbpress-installations
https://bbpress.org/forums/topic/successful-reverse-integration-steps
The hardest part of the integration is how to handle “name collisions”… i.e. what do you do when two users share the same usernames in bbPress (from phpbb3) and WordPress. That’s discussed nicely in the above links.
Good luck!
Thanks, Kawauso… so, any guidelines/instructions about getting bbPress to use the WordPress user tables on a post-install integration? And am I right in assuming that the issues stem from having two databases (since you’ve got existing forum data, you can’t merge the two, right?) ? Sorry if these are newb questions.
Do you know if the ideas on this post would do it? https://bbpress.org/forums/topic/wordpress-and-bbpress-integration-101 — The reason I ask is because it seems like there’s a lot of info circulating about how it worked, or might work, under earlier versions of WP & bbP… but it often changes. Now that we’re up to 2.8.4 and 1.0.2, is it any different, or more viable? Is it as easy as pointing bbP at WP’s user tables, in addition to the “normal” integration steps? (I’m hoping to save myself a few hours of reading, that’s all… )
That makes sense… it’d be interesting to see if the profile info not displayed is actually retrievable anyway by adding the key from the database to the profile fields array. Displaying bbPress info in WordPress might be the same, I’ve never really looked at how it pulls it up.
Most integration issues I tend to see are related to deep integration, rather than straight forward user integration. I guess it boils down to, does bbPress transfer over existing users to WP’s user tables cleanly (or at all) if you integrate it post-install. It would be possible to do manually anyway, since their respective user tables are essentially identical in structure, but bbPress users would have no WordPress meta whatsoever.
Now, of course, the Big Question is: is it possible to take this newly-converted bbPress forum and get it to integrate nicely w/ a WordPress install? From the poking around that I’ve done, it seems that people have only had success integrating a brand-new bbPress install, not one with data/history in it.
I’d love to be proven wrong, though… any ideas?
gerikg: bbPress uses the WordPress user (profile) tables when integrated
The second thing would be an easier integration of wordpress themes.
This is more the back-end, I aiming more at the front-end.
Is this possible?
I see many cool widgets from WordPress, that I would like to use in bbpress, is this possible? To have a customisable sidebar plain and simple.
Like, theres a widget that does a vertical scrolling picture gallery. That would be cool in the forum.
I would like a shoutbox plugin for bbpress. This is nice communication tool besides all the threads.
The second thing would be an easier integration of wordpress themes.
Hi,
I don’t think that there is a standard function for that, do you tried some custom code?
since version 1.0 it’s possible to have custom functions in the template functions.php file. Just like in wordpress.
when i try to merge tags (any tags) i get this message:
‘Something odd happened when attempting to merge those tags.’
otherwise the forum works perfectly.
can anyone help?
i’m running 1.0-alpha-6 integrated with wordpress.
So it works similar to WP but just that you cannot do it through Editor in WP, rather do it directly in the files on the server, correct?
Correct. There’s no theme editor built in to BB at this time, so you have to edit the template file.
And you can use the same GA code from WP to BB without changing anything, but as it’s a different page, you have to edit the bbPress and WordPress templates separately.
Do not upload to bb-templates of bb-plugins. Make two new folders, if they’re not already there, called my-templates and my-plugins, and put your unzipped templates and plugins in those folders. There is no upload in the admin for themes or plugins, like there is with WordPress.
bbPress for a while was coming with those two folders, empty, but with the wrong permissions. Follow the link from ashfame to see how to fix the permissions issue.
Do I have to make everything absolutely positioned or somesuch? Because a lot of the stuff in my style.css doesn’t seem to be being applied as I intend, or at all, and I can’t figure out why. That would make it MUCH more difficult to port a WordPress theme where everything is positioned with only “clear” and margins. I’ve made another thread about this.
I’m trying to install a new bbPress forum at http://forums.morganwick.com. The “wrapper” div is set in style.css (the only file I’ve changed) to have position:static. It appears to be absolutely positioned, and I don’t see anything in either style.css or in the code that appears when I “view source” that would overrule style.css (the only places in style.css where anything is absolutely positioned either have “display” set to “none” or don’t appear on all pages) unless I have to go hunting through JavaScript. Having to deal with absolutely positioned elements is a pain for an amateur developer like me, and I’d much rather have elements appear as part of the normal flow, like I can do in WordPress; what’s the problem here?
UPDATE: I just removed the background image from “wrapper” and added it to “header”, but it doesn’t show up at all. I’m trying to make it look as much like http://www.morganwick.com as possible.
Those are all questions that are best answered by yourself, actually.
Do you want to share users between wpmu and bbpress?
Do you want to (or even need to) access any WordPress capabilities from your bbpress install?
-In addition to wrapping bbPress with your WordPress template, do you actually need to use any WordPress built in functionality, or would it be easier to recreate the theme in bbPress and avoid the additional overhead of loading the entire wpmu system when your forums are accessed?
If you answered yes to the first question, then yes you should share the database. If you answered yes to the second question, explore the third before deciding on whether to integrate or not. If you decide to integrate, then the process is handled as you are installing, the part you would do after is ‘deep integration’ and you can’t do this before, it has to be done after the bb-config.php file is created.
Hello, everyone.
I would like to know if there is any P2 or looking-like-P2 theme available out there. If not, is anyone working on one?
Otherwise, does anyone know a theme which goes well with WordPress P2 theme?
For your reference: http://p2theme.com/
Thanks !!
That very simple error means that the file is not there, or maybe it’s there but has wrong permissions.
Is this file present:
'/XXXXX/StealthEmployed/forum/bb-includes/backpress/class.bp-log.php
If not, FTP the files up there again maybe one was missed. I don’t think it has anything to do with WordPress because it’s bb-settings.php complaining about a missing bbPress file.
Too bad.
Just so you know, I’m not using WordPress. It’s just bbPress only.
Hi – I’d using bbpress within WordPress and would like to password protect some forums or topics, but not all. Is there a way to do this?
http://unitedfrontmn.org/forums/