Separate db vs one table is something new for 0.9 I believe.
Those are constants that have to be defined in bb-config.php just like any of the other constants. ie.
define('USER_BBDB_NAME','blahblah');
If you are just now installing bbpress and not already integrating an existing install, if you wait for the 0.9 release on monday, it will do most of the integration for you.
There are endless instructions for integration, I’ve gathered most of them here (though that list is getting outdated for 0.9)
http://bbshowcase.org/forums/topic/better-bbpress-wordpress-integration-the-missing-faq
Hmmm. I think that might have helped but my forums looks reallly bad 
http://vistarewired.com/test2/bbpress/
Edit: Actually now when I log in, it takes me here: http://vistarewired.com/test2/forums/bb-login.php
And yes I did make changes like adding the functions code, but I don’t think I need to use it, do I?
I know the idea of integrate. When I check the documentation on the BBpress site about integrate I find this:
“If you would like to pull user information from a different database, define USER_BBDB_NAME, USER_BBDB_USER, USER_BBDB_PASSWORD, and USER_BBDB_HOST.”
Now I don’t how to do this. I should add this to the config.php file, but how and where exactly to put this is not clear to me. A visitor doesn’t seem any difference and I will not have big MySQL databases.
When I find out in a later stage that I have a lack of visitors I can remove all the data within an eye wink instead of the big adventure of finding everything concerning BBpress in the WordPress database.
With integration, you are sharing the wp_users table. Even if bbPress and WordPress are in different databases, there is going to be some shared data – that’s what the integration does. So having bbPress and WordPress in different databases doesn’t actually help with that. If you have them in the same database, just drop the bb_ tables and edit the users to remove any bbPress users. I don’t think using different databases helps you down the road.
I try to integrate BBpress and WordPress. I’ve already read that it isn’t a problem to have BBpress on a sub-domain. So that is something I will do. Another problem I have is that I want to have two different databases. In a later stage I want to be able (doesn’t say that I will do it) to remove the forum with all his database information. Is there a simple way of doing that?
can the .09 version be downloaded from the nightly build thing and used? is it the version that will be released? and, most importantly; will it work without wordpress 2.5?
What plugins are you using? And, is one of them, “Admin Can Post Anything”?
https://bbpress.org/forums/topic/apostrophe-issue
We are sitting on our hands until WordPress 2.5 is released.
It would be a mistake to release before them as the new integration methods pretty much require WordPress 2.5
WP 2.5 has been moved apparently to Monday the 17th,
so the assumption is bbPress 0.9 will be too.
I think upgraders will be quite pleased with all the subtle bug fixes by Sam and MDA, and new installers will be helped along nicely by the much enhanced installer (with built in integration!)
As far as third party plugins, I can see that
Avatar Upload
Topic Views
still work properly under bbPress 0.9
All of my plugins are 0.9 compatible – if not, I will make them so, just give me a bug report. You should always be using the newest version of my plugins BEFORE you upgrade.
Virtually all of them tested working under the current beta. “Admin Instant Menus” may stop working if the WP menu system is folded into bbPress before release.
“Year Long Cookies” should not really be necessary any more because of the new 0.9 “Remember Me” option on login, unless perhaps one has a forum on an intranet and you don’t want to bother people with logins, ever.
I’m just following up – I posted this bug a while ago, and when I didn’t hear back, I researched and found the solution. (wahoo!)
PROBLEM:
If private-forums plugin is installed, users below moderator capabilities will have a BLANK Pick a Section dropdown on post-form.php. If they go ahead and try to click “submit” on their post, they get an error: Forum topic is closed. (error is bogus, obviously, because they are trying to post a NEW topic).
SOLUTION
In the /my-plugins/private-forums.php, replace line 294:
$new_forums[] = $forum;
with:
$new_forums[$forum->forum_id] = $forum;
WHY IT WORKS
The $new_forums array replaces the global $forums array with just the forums that user is permitted to see. The $forums array uses the forum_id as the array index. Without this fix, the $forums array will have the default index, i.e. 0, 1, 2, 3…
If your forum ids are (a) ordered numerically by their id and (b) no numbers are ‘skipped’ in the ids, you may not notice this issue. However, in my case, my forum ids are in the order “6, 7, 1, 10, 9” because we have added and deleted and reordered them over the life of the forum.
Hopefully this helps someone.
Cheers,
k
For some reason in your bbPress installation the quotes aren’t being escaped before bbPress tries to enter the post into the database. Differences in character encoding on different platforms may mean it is possible from one platform (pc) and not another (mac).
This points to a PHP configuration problem more than anything. Perhpas magic quotes RPC is turned on?
Worth digging deeper though.
Thank you mettled! I am on a mac and that will explain why none of the other users have said anything about the problem because they are all pc users. let me try the ‘ here and see what happens
bbPress would run too slowly as a plugin of WordPress, and the integration path for WPMU would be harder. Plus, it’s not just built for WordPress integration.
Please post here which versions of your plugins are compatible with bbPress 0.9
Here are the ones I look after that I have tested so far.
More to come.
Hello everyone!
Here is my setup:
WP blog = http://www.cocoadummy.com
BB forums = http://www.cocoadummy.com/forums
I have set the config.php values as required. I have enabled the bbPress-integration plugin in WP and configured it. I have added
require_once('../wp-blog-header.php');
to my bbPress config.php file. (This seems to work as I can call the WP bloginfo(‘name’) function in my footer.
When I try to go to the forums admin I get the following error:
Warning: require_once(../wp-blog-header.php) [function.require-once]: failed to open stream: No such file or directory in /home/.omaha/gkp99/www.cocoadummy.co/forums/config.php on line 4
Fatal error: require_once() [function.require]: Failed opening required ‘../wp-blog-header.php’ (include_path=’.:/usr/local/php5/lib/php:/usr/local/lib/php’) in /home/.omaha/gkp99/www.cocoadummy.co/forums/config.php on line 4
Also, I have added the following line of code to wp-config so that I can import functions from bbPress into WP (I want to add the online list to my WP sidebar):
// Import bbPress
require_once(‘../forums/config.php’);
I have added it beneath this code:
// Get everything else
require_once(ABSPATH.’wp-settings.php’);
(although the error is the same wherever I put it).
When I goto my blog homepage (www.cocoadummy.com) I get this error:
Warning: require_once(../forums/config.php) [function.require-once]: failed to open stream: No such file or directory in /home/.omaha/gkp99/www.cocoadummy.co/wp-config.php on line 34
Fatal error: require_once() [function.require]: Failed opening required ‘../forums/config.php’ (include_path=’.:/usr/local/php5/lib/php:/usr/local/lib/php’) in /home/.omaha/gkp99/www.cocoadummy.co/wp-config.php on line 34
What am I doing wrong?
Garry,
It can be done with PHP.
I’ve never done the random thing, but the Cutline theme for WordPress offers this functionality. You can read about it here:
http://cutline.tubetorial.com/totally-random-header-images-for-cutline/
I think you could adapt that for your uses.
In WordPress, for a specific background tied to a specific page, I just do something like this in header.php:
<div id="container" style="background: #fff url('<?php bloginfo('template_directory'); ?>/images/<?php echo $post->ID; ?>.jpg') left top no-repeat;">
That gives the container div the background image of the post ID.jpg, so if you were viewing post 52, you would have a background image of 52.jpg. You could easily adapt this to bbPress calls by using the forum number and $forum_id, whichever div you want a background for (#wrapper or #main?) and then the proper location of your images (whether they are stored in your template folder or your forum root or something.) It fails OK too since there is a color code for the background and that is used if the image cannot be found (I think that’s what happens anyway.)
Let me know if that makes sense. This is how I’ve done it in WordPress, but the same approach will work for bbPress I think.
These look good…I will download and see how well they fit. I agree that it is “funny” that bbPress is affiliated with WP but doesn’t run as a PLUGIN….I’m sure there is some reason….but it feels weird from this end of the transaction….Thanks for the links…
Hello,
I am currently in developement of a theme for a gaming group’s website that I maintain. We play multiple games and I wanted to have different backgrounds get picked randomly for the site and then if you select one of the games in their given section … it would pick that game background for that page. Perhaps, if I could for that game’s forum also on bbPress.
I know this may be a lot to ask of a PHP script but is there anything out there?
To help aid in any responces here is my idea overviewed:
Parent Link – Randomly picked background from backgrounds database
Games > Warcraft – Warcraft background
Forums – Randomly picked background from backgrounds database
Warcraft Forums – Warcraft background
Any ideas?
So these are plugins for WP and they are forums? … Wouldn;t that make a lot of things easier if bbPress was this way also?
I didn’t actually see your forum, so I’m not sure. I don’t think so though – you have to do some more work to get that level of integration. If you browse threads tagged integration here, you will see lots of tips.