Hello everyone!
I have a few important questions.
I want to make a theme for wordpress and bbpress . Is it possible that i can make it so that no-one can see when he is in bbpress and wehen in wordpress?
Is it also possible to show the wordpress widgets in the bbpress sectionß
The login menue must be in both pages and wehen you login you are logged in in wordpress and bbpress automatically.
Can someone help me?
greetz sensi
// sorry for my bad english
Hi, I’ve installed the 0.8.3.1 version into the wordpress v2.3.2 directory.
I tried to localise bbpress in french using the fr_FR.mo found in http://www.adilade.fr/blog/41/bbpress-traduction-francaise.html#comment-281
But when I add the french mo file in bbpress/bb-includes/languages, and the line
define(‘BBLANG’, ‘fr_FR’);
into config.php file
I’ve the Fatal error: Cannot redeclare class cachedfilereader in E:wampwwwhyporecrs_next2bbpressbb-includesstreams.php on line 163
After many hours of research and tests, the problem seems to be due that there is a confict between wordpress fr mo file and the bbpress one.
Note that to use the header and the footer from wordpress in bbpress, I’ve added:
define(‘WP_BB’, true);
if ( !defined(‘DB_NAME’) ) {
require_once( dirname(__FILE__) . ‘/../wp-config.php’);
}
into the config.php file
(the bbpress template could then use get_header(); and get_footer(); of wordpress which is very convenient)
Please how can I solve this issue ?
thanks in advance
crazlunatic: did you try it? That looks like what you need to do for integration, to me. Oh, except I think you need to do that before you install, so that your user tables are integrated. If you changed that after installation, install again.
Integration next week will be different with the release of WordPress 2.5 and the latest bbPress 0.9.
rahul286: the false option always works for all servers. The other options work but require some configuration on your end. So, setting it to false is the quickest and easiest way to get going. It’s not a problem with bbPress, it’s a problem with configuration on a lot of servers.
That is great. I really appreciate your help but now I want to integrate it into wordpress. How can I do this?
http://vistarewired.com/test2/bbpress/
This is how I edited my config:
// The rest is only useful if you are integrating bbPress with WordPress.
// If you’re not, just leave it as it is.
$bb->wp_table_prefix = ‘craz_’; // WordPress table prefix. Example: ‘wp_’;
$bb->wp_home = ‘http://vistarewired.com/test2’; // WordPress – Options->General: Blog address (URL) // Example: ‘http://example.com’
$bb->wp_siteurl = ‘http://vistarewired.com/test2’; // WordPress – Options->General: WordPress address (URL) // Example: ‘http://example.com’
/* Stop editing */
It looks bad because the path to your style.css is wrong. The stylesheet should be here, but it’s not:
http://vistarewired.com/test2/forums/bb-templates/kakumei/style.css
So, where is it really? I suspect the path in the config.php and the URL you are using to access the forum are not the same, and that’s why you see the forum without any styling.
Wait – it’s actually here:
http://vistarewired.com/test2/bbpress/bb-templates/kakumei/style.css
So, in your config you called the directory forums
but you actually installed it in the directory bbpress
. You need to fix your config.php.
You have this:
$bb->uri = ‘http://vistarewired.com/test2/forums/’;
It needs to be this:
$bb->uri = ‘http://vistarewired.com/test2/bbpress/’;
(or, you can leave the config alone and change the name of the bbpress
directory to forums
.)
Fix that and everything will look as it should. You may need to do a hard refresh or clear the cache in your browser to see the effect of the changes. CTRL SHIFT R in Firefox.
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,