Since I upgraded to 0.9.0.1 and WordPress 2.5 my username in bbPress (which is integrated with WordPress) shows up in bbPress as “admin” instead of “Brad”. Is there any easy way to fix this?
My guess is that bbPress is using user_login instead of user_nicename or display_name in the wp_users table. As user_login and user_nicename for my user record are both set to “Brad” but user_login is “admin”.
Broken JavaScript is a non-trivial, since it will trigger a very visible error message for some users… on essentially every topic page, when logged in. The error isn’t FireFox-specific.
Commenting out the contents of the “addLoadEvent( function() { // TopicMeta” block of code in topic-js.php appears to remove the error without creating new issues: The underlying AJAX behaviour is broken anyway. A proper fix would be appreciated.
Edit: Ok… playing with *this* forum, it seems there is already a fix: The equivalent code in https://bbpress.org/forums/bb-includes/js/topic-js.php?ver=433 appears to work just fine.
I have a new wordpress site which is the new 2.5. I’ve uploaded the new bbpress but when I go to install by visiting the url I get redirected to xxx/bb-admin/install.php/ which comes up as page not found (which ends up at the wordpress 2.5 home page).
I notice that install.php is now in the plug-in folder so tried
xxx/bb-plugins/bb-admin/install.php
and get:
Warning: main(../bb-load.php): failed to open stream: No such file or directory
Fatal error: main(): Failed opening required ‘../bb-load.php’ (include_path=’.:/usr/local/PEAR’)
both on line 9
Suggestions, some little thing I’m doing wrong?
Thanks!
a perfect example, how slow phpbb 3 is, compared to bbpress
Let’s put it this way – bbPress is running with slugs and rewrite rules on literally thousands of servers, so the problem is likely your setup, not necessarily bbPress.
mod_rewrite should be virtually 100% internal to apache and not really depend on the OS/filesystem underneath but there’s always a chance for something to be interfering.
If you are using the bb-admin/rewrite-rules.php
in your htaccess and you have slugs turned on and it doesn’t work, then I would bet that you have another mod_rewrite rule somewhere that is conflicting, either in the same htaccess file or in a directory above it. Do NOT use multiviews. I cannot help you if you are using multiviews.
I need much more information, like your htaccess file, and any htaccess file in directories above your forum. Is bbpress running in /forums/ or in the webroot (ie. / )
Also are you running wordpress at the exact same time as bbpress? I don’t mean standalone integration, I mean loading within each other. Because I am not sure how that would be handled and I never recommend it.
hello, there seems to be a stylesheet error on the admin page. when you visit the admin forum section the edit/delete items are both offset from the actual forum line and each one cascades in diagnally making it almost impossible to use. This is using Firefox and the standard theme.
I had godaddy hosting when I was setting up this forum. And it did not worked for permalinks. I moved to another shared hosting, and it worked. Now my website gets more traffic and I moved to a vps. But although I can change every setting on my vps, I dont know what to do. And technical stuff also did not know anything about the problem.
I used mod_rewrite rules in my previous hosting, and I use it for now, but it does not work. Forum is opening, but links are not working.
On godaddy, the mod_rewrite was also working for wordpress, and it also works for my vps. I think bbpress has some problem with those rewrite rules. Do I have to move back to shared hosting, which I dont want to do so, after I saw how fast my website is on a vps.
I have troubles too with cookies, login inconsistent between WordPress and BBpress:
Login on WordPress -> Log out on BBpress and vice versa 
PD: Until the latest version, with the hack for 0.83, this was working fine
Web example: http://www.laguardiadejaen.com/web/
The bb->load_options = true brought the load of the cpu to 5 times that of the one with 30+ queries but I guess that comes from not having that many topics in the newly installed Db so I really don’t know what to make of this.
Turn on (or increase) your mysql caching. It’s fairly obvious you are running either without any or not enough of it if you can detect any load increase with load_options=true. The query to load all options would be exactly the same across all instances for all users and mysql would pick up on that immediately and keep it in the cache, always. At least that’s what happens on my installs. I don’t have a site with 50k views a day but I have a 0.8.2.1 version with 15k views a day and it runs very fast.
Also make sure you use a php opcode cache like eaccelerator, xcache, etc. Best thing you can do for bbPress or WordPress.
0.9 of bbPress is not some kind of radically different change since 0.8 – there are many bug fixes and a few features added but the db calls are almost identical (some plugins however can be sloppy about not caching queries so that can cause issues).
Try my bb-benchmark if you want to see what happening behind the scenes for each page generated.
at http://bbpress.org/documentation/integration-with-wordpress/ it says:
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).
but if I do this, I can’t enter the admin area any more, cause, the relative path to the wp-blog-header.php isn’t right anymore. I can’t use the full url because of: URL file-access is disabled in the server configuration.

ok ok, I believe you. 0.9.0.1 is good enough to give a try.
Just one more thing: I’m guessing you have something like 100,000 pageviews a day in this forums which would render about 3,000,000 queries (moderate estimate) if you run bbpress 0901 out of the box. Your servers are cool with this? RAM at OK level?
No need for exact figures but just a notion of what’s been your experience so far would be golden. 3,000,000 queries a day means around 35 queries per second. That’s some load.
Thanks again.
EDIT: The reason why I’m asking is that I’d really like to continue to use bbpress as my primary PHP-framework for all my sites that has logon/user needs as I’ve had a hard time to find a more suitable framework to my needs.
does this still work for latest versions (2.5, 9.0.1)?
It is probably less work to use bbPress than using other forum software if your intention is to re-skin to match your blog. You can actually “load” WordPress inside bbPress (check the documentation), but there is a definite performance penalty in doing that.
The best performance choice is to integrate your user tables and auth cookies. Then skin your forum to match your blog, but don’t “load” WordPress into bbPress unless you intend to use WordPress functions inside bbPress quite extensively.
You will probably find the exercise of skinning your bbPress install quite simple compared to other forum software. The templating system is similar to WordPress, so it will be a familiar environment if you have done that before.
Oh, and not to mention this forum as well.
We have been running revisions which are only slightly older than 0.9.0.1 at WordPress.org and WordPress.com for a while now without fault.
0.72 is old yes. stable yes. quite fast yes.
0.9.0.1 is new and shiny but we don’t know anything about the performance. It seems fast but I wonder if anyone who runs it *live* have some real data to show for it? That would be great.
@_ck_: if you have some performance data please share. Thanks!
_ck_ might be able to give you some version performance comparisons.
0.72 is a very old version.
Seems to be broken in 0.9.0.1. Anybody else having trouble?
Can we not just give bbPress the URL of our WordPress installation, and have it make a best guess as to the location of the wp-config.php file, and then let it read all that databasey stuff out of there?
Seems like it would take a LOT fewer steps to get bbPress integrated with WordPress this way.
silent1643,
You can’t just drop bbPress onto a blog page. bbPress is a totally separate installation and you have to link to it from your blog. You have to modify the bbPress templates to make it look like your blog. If this is done well, the user doesn’t realize they are jumping between two different programs.
I’m sort of amazed that no one else has mentioned this as a potential problem. I have on average 50,000 pageviews / day.
So 50,000 pageviews / day * 35 queries / page gives 1,750,000 queries per day.
I’m at one million queries as it is today with one of my sites running bbpress, I don’t think an upgrade is an option with the above since memory consumption has started to become an issue with that installation.
The bb->load_options = true brought the load of the cpu to 5 times that of the one with 30+ queries but I guess that comes from not having that many topics in the newly installed Db so I really don’t know what to make of this.
I’m of course realizing that bbpress rocks. Totally. I wouldn’t be asking these questions if I didn’t think it was worth while pursuing so don’t take the above the wrong way but do please give me a hint as to whether or not you advice me to go with this release or to stick with the 0.72 which I’ve found to be very stable.
Any known issues with 0.9.0.1 so far? Anyone who has any reports on memory consumption? Very much appreciated.
@sam: you do marvelous work. Thanks again.
extract the zip file .. upload the extracted bbpress folder to the root of your websites location. Example: your website is located at http://www.hermiony.com, it will look like this http://www.hermiony.com/bbpress. You can, if you want, rename the bbpress folder to forums or something else. Go to http://www.hermiony.com/bbpress with you browser and the installer will guide you furter. Good luck…
Hi,
I followed the instructions and uploaded and unzipped bbpress to my server. I wasn’t sure exactly where to upload to so I put it in ‘uploads’. According to the instructions I should then be greeted by the bbpress installer at my url, but this didn’t happen. I assume I’ve uploaded it to the wrong place. Any advice?
Hi,
For some reason I can’t see at the moment, comments made on bbpress don’t show up in their respective posts in wordpress, but the comment count does reflect them. I tried deactivating all my plugins and changing the template just in case, but the problem persists.
No comments appear at all in WordPress in posts shared between forum and blog, but they appear correctly in bbpress. Older posts not in bbpress are not affected.
I’m using bbpress 0.9, last build of bbsync and WordPress 2.5. Ideas?
Thanks in advance