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.
ATTN: This post appears on both WordPress.org as well as bbPress.org forums so I can get the best response possible!
Alright, well some of you out there have been kind enough to help me via the forums or within the mIRC channel while we waiting on status of the new bbPress. First of all, thank you so much for all the help! After much research, I think I know what I need to do…
I laid out what I want my actual users to be able to do! A very basic overview would be this:
Primarily WordPress Accounts: Posting ability on the “main site” (AKA WordPress install), posting ability on the forums of the site, ability to post comments to WordPress posts and a robust profile.
Primarily bbPress Accounts: Posting ability within the forums, ability to post comments to WordPress posts and a robust profile.
What these two types of accounts need to share is a unified Registration page, unified login/password recovery/login form.
I think I know how to go about this… basically I want my header.php to be the same throughout the website AND forums. That way it is the same login form, same link to register, same password recovery. And to change the register form I just need to use the WordPress one and just have the WordPress Intergration plugin, display name plugin and name with spaces plguin for bbPress … I believe.
I’m still kinda new to all this so I could use any input possible.
Thanks in advance and sorry for the long read!
Major help is needed. I’m new to bbPress and am quite ‘nooby’; with these things
I done everything and I can’t access my forums:
http://raiderfanzone.10gbfreehost.com/forums/
Whats wrong?….
There’s no simple way to do this… and there’s a ton of possible security holes if you do it wrong.
You will need to have a database table to store session information, and check that on every page load.
The iframe approach would need to only indicate that the user was logged on, but make sure you don’t set the password cookie that way… just the sessionid or userid, and then each application would have to check the shared session store.
The auto-close-tags was broken in earlier versions of bbPress but if I am not mistaken, this is possibly fixed in 0.9 (out any day now).
I just tested it on bbshowcase.org and leaving off the end tick simply treats the open tick like any other character (ie. no text is converted to code)
This indeed is a very tricky problem because everything about a browser’s security is designed to prevent this from happening.
WordPress.com addresses it in one possible way (across multiple domain names) via I believe a hidden iframe (as Sam suggests).
I’ve noticed cookies are still sent with images loaded from another domain so that might be another way but you’ll still not be able to read them on the server since it’s not the local domain.
I’m using this plugin at http://geekdc.com/forum and I’m having problems with loginb in while on PDA/mobile phone. Could this be on the fault of the devices?
There may be some trickery you could do using iFrames to get the two different domains sending cookies at the same time on login. It wouldn’t be pretty though, and you would have to really test your code for vulnerabilities.
@McKrazie – I just removed the bbPress registration stuff and require my users to register through my WordPress (MU) installation, although I’m actually running its registration through a totally customized process as well.
http://mybabyourbaby.com/
If you set up your cookies in bbP and WPMU properly, then users should only have to log in once (as long as it’s all on the same domain/subdomain) – see here for how i did it https://bbpress.org/forums/topic/wpmu-integrated-installation#post-14346
HTH
@talbina – Automattic just hired the developer of BuddyPress (www.buddtpress.com), which is basically what you’re asking for, minus bbPress. So they are thinking somewhere along the lines of what you’re saying 
Needless to say it’s not much of a leap to take what comes of BuddyPress (a solid social networking core) and integrate that with bbPress to add the forums element (assuming BuddyPress doesn’t move in that direction itself, which is quite possible).
@jel3: it’s possible on different *sub*domains, but not on entirely different domains (transparently, as you said).
Beau
I have personalised my bbpress forum and want to add a link on the page to allow the user to edit their profile (I have removed the original, “Welcome….” section at the top)
What do I need to link to for the page to redirect the user to their profile?
I guess I’ll have to set up the wordpress login to redirect to the bbpress login page sending over the user info and then loging them into bbpress and redirecting them back to where they started.
But that seems like a lot of goings ons for a simple login. Any ideas on how I could simplify that at all?
Another thought would be to create a plugin to check for the wordpress cookie and then if present set the bbpress cookies.
The problem is that WordPress and BBpress both use cookies for login.
Since your browser will only send the cookie for the domain that it was set on, it’s not going to work automatically.
You could use the same login database, of course. It’s just not going to be transparent.
Is this possible? I’ve tried every configuration I can think of and it’s just not working. Am i just missing something simple or is it not possible?
you meant the “anti-corporate image”? that’s what i really like.
When I type this in the body:
I’m postin’ a test.
I get this:
bbPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘m postin’ a test.
‘,’2008-03-11 07:01:23’, ‘24.22.18.14’, ‘0’, 1)’ at line 4]
INSERT INTO bb_posts (forum_id, topic_id, poster_id, post_text, post_time, poster_ip, post_status, post_position) VALUES (’18’, ‘7’, ‘2’, ‘
I’m postin’ a test.
‘,’2008-03-11 07:01:23’, ‘24.22.18.14’, ‘0’, 1)
Warning: Cannot modify header information – headers already sent by (output started at /home/13057/domains/tudorarmspdx.com/html/hoa_forum/bb-includes/db.php:86) in /home/13057/domains/tudorarmspdx.com/html/hoa_forum/bb-includes/pluggable.php on line 164
When I post this in the body:
I’m postin’ a test.
Everything goes through without an error.
I’ve heard several people telling that bbPress wouldn’t be updated anymore, because of a new system that is coming soon.
Those people are grossly misinformed.
By the way, WordPress 2.5 has been delayed a bit due to illness. We’ll release bbPress when WordPress 2.5 comes out (I’m trying to find out a more exact time now).
I you are the administrator of the pig2twig forum, I suggest you contact the web host, which appears to be 1&1 Internet. If you are a user of the pig2twig forum, I suggest you contact the administrator of that forum. Since the site is down, I have no idea how to contact that person or who that is although it appears the domain is registered to Penguin Books?
Registrant:
Penguin Books Ltd
Registrant’s address:
80 Strand
London
WC2R 0RL
GB
The bottom line is, it’s not the bbPress software causing the problem. The whole site is down, as are other domains on the same IP address. The problem lies there, not with bbPress.
I’m trying to delete some posts. When I hit “delete” the post turns red. When I refresh the forum, I find that the posts are still there. They do not show up in the Admin panel of Deleted posts. I was able to delete before… the last one was about a week ago. I haven’t done anything to the forum since then. The last change I made was adding the Report Post plugin, but that was BEFORE I deleted my last post (2/25/08).
I’m running the latest released version of bbPress, which is integrated with WP 2.3.
Here are the plugins that I am currently running in bbPress:
Use Display Name 0.7.2
BBCode for bbPress 0.1
Quote 0.2
Show Post Count .73a
Page Links 1.0.3
Indicate New Posts 0.8
Simple Onlinelist 1.5
Move It 0.14
Censor 0.1
Page >> 0.7
Unread Topics 0.4
Comment Quicktags for bbPress 1.1
bbPress Polls 0.27
bbEmoticons 0.72
Enhanced Registration 0.1.0.1
Report Post 0.12
bb-benchmark 0.17