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.
*slaps self*
I didn’t realise it was a WP plugin!
If I install this – will it solve the require_once(blah blah…) function error I am getting (this is placed in my bbPress config.php file). I am trying to get the whose online plugin sidebar that’s on my bbPress template to show up in WordPress you see.
Garry
Yesssss I did it!!!
Instructions for Apache users:
1. Append to <bbpress-root>/bb-includes/template-functions.php before “?>” code from first message in this topic.
2. Create or edit .htaccess file in <bbpress-root> directory and put into then next code
Options +FollowSymlinks
RewriteEngine On
RewriteBase /!!!!!! your bbpress root dir!!!!!!!/ #edit this!!!!
RewriteRule ^tags/([^/]+)/page/([0-9]+)/?$ tags.php?tag=$1&page=$2 [L,QSA]
RewriteRule ^tags/([^/]+)/?$ tags.php?tag=$1 [L,QSA]
RewriteRule ^tags/?$ tags.php [L,QSA]
RewriteRule ^profile/([^/]+)/page/([0-9]+)/?$ profile.php?id=$1&page=$2 [L,QSA]
RewriteRule ^profile/([^/]+)/([^/]+)/?$ profile.php?id=$1&tab=$2 [L,QSA]
RewriteRule ^profile/([^/]+)/([^/]+)/page/([0-9]+)/?$ profile.php?id=$1&tab=$2&page=$3 [L,QSA]
RewriteRule ^profile/([^/]+)/?$ profile.php?id=$1 [L,QSA]
RewriteRule ^view/([^/]+)/page/([0-9]+)/?$ view.php?view=$1&page=$2 [L,QSA]
RewriteRule ^view/([^/]+)/?$ view.php?view=$1 [L,QSA]
RewriteRule ^rss/?$ rss.php [L,QSA]
RewriteRule ^rss/forum/([^/]+)/?$ rss.php?forum=$1 [L,QSA]
RewriteRule ^rss/topic/([^/]+)/?$ rss.php?topic=$1 [L,QSA]
RewriteRule ^rss/tags/([^/]+)/?$ rss.php?tag=$1 [L,QSA]
RewriteRule ^rss/profile/([^/]+)/?$ rss.php?profile=$1 [L,QSA]
RewriteRule ^bb-login.php$ index.php
RewriteRule ^([^.]+)/([^.]+)/page/([0-9]+)/?$ topic.php?id=$2&page=$3 [L,QSA]
RewriteRule ^([^/.]+)/([^.]+)/?$ topic.php?id=$2 [L,QSA]
RewriteRule ^([^/.]+)/page/([0-9]+)/?$ forum.php?id=$1&page=$2 [L,QSA]
RewriteRule ^([^/.]+)/?$ forum.php?id=$1 [L,QSA]
Since it’s a WordPress plugin, log into your WordPress admin panel, Plugins > bbPress. That’s where you enter your bbPress table prefix.
This is the URL once you’re logged in.
http://www.example.com/wp-admin/plugins.php?page=bbpress-integration
Replace example.com with your domain and you should end up right where you need to be.
I have installed the bbPress-integration plugin as instructed. However, the readme file says to configure it, I need to:
Go to Plugins -> bbPress and enter your bbPress table prefix
What does it mean go to Plugins? There is no where in the bbPress dashboard plugin section to enter my table prefix.
Sorry for such a dumb question but I’m new to this!
Thanks,
Garry
Looks like your blog is fine, but bbPress is not. Assuming you’re using the same database for both, then the connection details should be the same, other than the name of the constants (BBDB_ for bbPress instead of DB_ for WordPress – if you copied the whole section over, the constant names would be wrong.)
It’s hard to troubleshoot these things remotely since someone needs to be able to log into your control panel to see the actual connection details, then view and edit your config.php to make sure the settings are the same. Without trusting someone with that info, you’re going to have a hard time finding help for the problem.
P.S. please don’t post the connection details here.
P.P.S. you can contact me directly using any email found on the site linked in my profile, or just google my name (screen name or real name, matters not). I will be glad to help off-list.
bbPress is not a plugin for WordPress. There are forum plugins for WordPress if that’s what you’re looking for.
Here are a couple. I have no experience with them, I just know they exist.
http://www.stuff.yellowswordfish.com/simple-forum/
http://www.fahlstad.se/wp-plugins/wp-forum/
causes a fatal error and then lots of errors when i go to log out
I’m trying to track down the same problem with “Cannot select DB.” The problem is actually upstream in a call to mysql_connect. The mysql_connect is fails, but without any separate error handing in db.php. But I don’t know why the mysql_connect is failing. The params look right, and the bbpress database has been added via my Plesk control panel.
— Mark
I have installed bbPress and it is authenticating with my WP install but it is not clear to me how to have bbPress show up looking like an integrated part of my WP site. I have included require_once(‘../wp-blog-header.php’); into the config file but it doesn’t seem to get picked up. What am I missing. I sure wish bbPress was as easy to integrate into WP as all the other plugins are.
My problem is different. I moved all my WP & BBpress file into different directory in my server. Then all the links lead to 404 pages. I updated permalinks (by a single click) in wordpress and it solves the problem. Now i can’t update it in my BBpress site. Any help will be very appreciated.
Thanks.