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”.
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!
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.
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.
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.
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.
Why would anyone want the forum separated and have to do 2x the more work to redesign it all over? …
Integrating it fully in WP should be #1. Else one can use any other forum or just go with WP-united? …
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.
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
here is my latest theme
http://www.adityanaik.com/forums/
the site has a working integration of wp 2.5 and bb 0.9
I’ve installed bbPress 0.9.0.1 in a WordPress 2.5 site. It works for a while then when I try to access a topic I get:
Not Found
Sorry, but you are looking for something that isn’t here.
and the theme displayed is that of the WordPress blog. After that, only the bbPress front page is useable.
@ Nosgroth
The functionality you describe is not available in bbPress/WordPress without plugins. You probably need to report this problem to the plugin author (I’m guessing bbSync).
I guess I’ll use this post.
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.
I’m using bbpress 0.9 and WordPress 2.5. Ideas?
EDIT: Ah, it’s worse than that. 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. Sigh, my head hurts. Sleeping may be a good idea.
Sat Apr 5 19:34:26 UTC 2008
I am getting a 500 error now, so maybe you’re working on it? I was going to see what version bbPress and WordPress you are running.
Why not move the forum to the domain where the blog is, so you can share cookies?
Hey all,
So I’ve searched both this forum and the WP forum. And there are a ton of avatar related threads, and I’ve read through most of them. It looks like there have been a few various implementations.
But most of those threads are almost a year old, and now we’re in 2.5 and .9.0.1 land… and so I’d love a definitive uptodate answer as to which plugin(s) to use to best integrate avatars into both sites.
Gravatars are cool and all (I do have an integrated user base) but pretty much the first question people asked is how they can upload an avatar without using gravatars (I think some people don’t want their image suddenly showing up all over the web wherever they’ve commented in the passt)
bbPress 0.9 requires WordPress 2.5 “out of the box” but I have just released a couple of plugins that allow for integration with earlier versions of WordPress (e.g. version 2.3).
Although you can use these plugins to get integration with earlier versions happening, it is still strongly recommended that you upgrade your WordPress installation to version 2.5!
Only follow this guide if you are using bbPress 0.9 or higher and are trying to integrate it with a WordPress installation with a version earlier than version 2.5!!!
The problem with using earlier versions of WordPress is two-fold:
- The password hashing algorithm has changed.
- The authentication cookie is now different.
The solution is to install these two plugins into bbPress:
- “MD5 Insecurity for bbPress” – downgrades bbPress’ password hashing back to MD5.
- “Mouldy Old Cookies for bbPress” – Reinstates use of the old cookie styles in bbPress.
Download and install each of these into bbPress. No plugins should be necessary in WordPress to enable integration.
I recommend you make these plugins “autoload” by pre-pending an underscore “_” to the plugin filename. This means the plugins will always load and can’t be deactivated from the plugin page in the admin area.
Hello,
Is there any good plugin for bbPress admins who don’t need a complete WordPress installation, but want a simple portal with news, forum stats, and articles? How about a “promote to frontpage” sort of plugin?
Thanks for the help!