All,
I’ve posted a few things on the forums about odd behavior I’ve seen – href attributes in a tags getting stripped, slashes not getting stripped, etc.
I’ve confirmed that these problems are due to the WordPress integration. I am running WordPress 2.1 and bbPress 0.75 and followed the documentation to do the integration.
When I stop loading wp-config in my bbPress config, the slashes get removed and href attributes stay in posts.
I’m still digging, but part of this problem is overlap between WordPress and bbPress. The docs talk about a constant WP_BB that tells the code there are possibly conflicting APIs out there. Setting it causes bbPress to use the kses code from WordPress instead. WordPress 2.1 uses kses v0.2.2 while bbPress ships with v0.2.1. My guess is something changed between the two that bbPress doesn’t handle.
As for the slashes in front of apostrophes, it MAY be part of it – I’m not sure yet if kses is used to strip slashes. I didn’t think kses got called except during posting, not during viewing. There is another library from WordPress that bbPress uses in integration mode (l10n) for localization – not sure if this is involved in anyway (doubt it)
So if you’re seeing weird behavior – it may very well be intergation. But the good news is it doesn’t seem to be overly difficult to fix. Still digging to find the ‘right’ way (though as a hack for the slash problem, you can include a stripslashes call in template-functions:
function get_post_text() {
global $bb_post;
// Hack to strip slashes until WordPress integration is fixed
return stripslashes($bb_post->post_text);
}
Anyway – just an FYI. I’ll dig more into the kses href issue and post if I find anything.
I’m thinking this problem may be due to the WordPress integration stuff. Same thing with the slashes being included in the posts. I may mess around with the integration plugin a bit and see if including the wordpress APIs is the root cause and why.
Easy fix (hack) in bb-includes/template-functions.php, update this function to look like this:
function get_post_text() {
global $bb_post;
return stripslashes($bb_post->post_text);
}
May be an artifact of the wordpress integration – not sure.
lo all, I have the same problem as Staffan, when I use this fine plugin, I get no name name displayed, I have just installed the 0.75 of BBPress, and I do not have any option in my profile to enter a nicename at all, hence why the assigned database entry (‘user_nicename’) doesn’t hold a Nicename 😮
Well I could enter a Nicename via phpMyAdmin, but that’s surely not the way to work that out, because tbh I am way too lazy, to do that for every future user registering with the forum 
==edit==
Nevermind my post above, just sorted it out, it works, IF you install BBP with the database tables from WP in the config.php, but NOT IF you install BBP without these information 
So the nicename from the WP user-table is being used, also means, users have to enter their WP profile to change that, as this is NOT possible via BBP profile
Thx anyways 
==end edit==
Anyhow, a pretty nice plugin, keep up the good work Atsutane
Hey guys,
I recently used a cool script I found on here somewhere to convert our phpbb2 forums’ database over to bbpress.
Anyone know if it would be possible to convert this new database over to a wordpress DB? So all the forum posts become posts in a wordpress blog – under categories?
Sorry probably the wrong place to post this!
Adam
bbPress should already be filtering new registrations thorugh Akismet; if you have Akismet set up, it should mark as “bozo” any new registrations.
There may, of course, be bugs particularly if you’re loading both bbPress and WordPress at the same time.
WordPress sends Content-Type headers. I guess bbPress should too.
https://trac.bbpress.org/ticket/561
I think the easiest thing to do would be to just move over your bbpress install into the same database as your blog. I’m sure somebody here could probably help you modifying that plugin, but I feel like just moving would be much simpler.
That’s right Trent — I’m using 2 databases. I’ve been looking for a way to modify this plugin to get it look in the bbpress database, but I’m afraid my PHP skills aren’t quite up to it. Do you know of any other workarounds?
I think the plugin is designed to work when you have both wordpress and bbPress in the same database. You are using 2 different databases I would imagine then? If that is the case, then this plugin will not work for you.
Trent
I’m getting this error in WP2.1:
WordPress database error: [Table ‘wordpress.bb_topics’ doesn’t exist]
SELECT * FROM bb_topics WHERE topic_status = 0 ORDER BY topic_time DESC LIMIT 10
—-
The table wordpress.bb_topics doesn’t exist because my bbpress database is named bbpress. So the proper database place to look would be bbpress.bb_topics
Any way to fix this issue?
Sorry, wrong location. Search database bb_usermeta table for is_bozo and you will find your bozo information in there. If you are integrated with WordPress, it will be the wp_usermeta table (as in my case). Here is an example of one of the entries in the database for a bozo:
umeta_id user_id meta_key meta_value
696 106 is_bozo b:1;
Trent
I see, and this plugin in instance, where do I set it? either in wordpress or bbpress?
Hello, I’m trying to get working display_name plugin in my forums but after installing the plugin it doesn’t work, it’s still showing “Admin” but in wordpress is showing my “name” correctly.
Another question, maybe related with the previous… Here I see people saying, “put it in your my-plugins folder”, but if bbpress has not plugins or has it? pardon my confunsion :S
Thanks in advance
Has someone thought about this “standard” addition yet? WordPress has it. It becomes even more useful on message boards where, in conjunction with subscriptions or favorites, users can carry on an entire conversation (thread) via email without ever having to get online. The entire conversation is then preserved online for later reference.
Anyone interested in trying to set this up?
Wouldn’t that be the allowed tags in WordPress, not bbPress forum though right drmike? 
Trent
I knew I had seen them over in wp.com land.
They’re in the allowed tag list.
Link
I thought I was going bonkers.
“a list of all the functions in /my-includes/template-functions.php”
Indeed, and to be honest I forgot about that.
Anyway, wouldn’t it be neat to see some examples, etc a la the WordPress codex.
If we assume for a moment, that there a several people who would be happy to contribute to a topic like that, where do we go to from here, and how does it get collated in documentation.
FWIW, bbPress forums are terrific, but they are often answering simple questions (like mine??) that really should be in documentation. Someone suggested a wiki but I think WP has been there and done that. Somehow the user community needs a forum (excuse the pun) to help build the documentation.
Gee, sounds like I’m all fired up, which I’m not. But I can see bbPress dying on the vine for want of continuous improvement in documentation.
Hey Community,
I had a question about this latest discussion plugin, which is awesome by the way:
http://www.atsutane.net/2006/11/bbpress-latest-discussion-for-wordpress/
Is there a way to shorten the length of the titles being pulled from the forum.
For Example, for a forum with a title as:
“this is a forum title and I am a bad poster who make titles way to long”
to this:
“this is a forum title…”
This would really help out because our latest discussions from the forum on our wordpress home page break a bit when the titles get to long.
Any ideas or suggestions are greatly appreciated.
Thanks,
Orion
You folks are a hoot….
I’m a creative designer/web-monkey/illustrator/writer/under-paid literary assasin who has two kids and an ex-wife – and who loves to play around with WordPress and bbPress.
so there!
:p
Could have sworn that we had a FAQ over in wp.com land but I don’t see it. Just the half ass one I have in the support forums:
The “feed” tag is used by RSS readers and is usually not recognized by browsers that do not have a RSS reader installed. You can see the RSS feed if you manually type in your blog’s feed URL into the URL bar of your browser. (ie: http://username.wordpress.com/feed/)
Hope this helps,
-drmike
Ok fixed, thanks.
But now when I browse to /forums/ it isn’t integrated with theme?
The register link from the forums is integrated into wordpress theme, though the page is messed up.
Hello, I’m trying to integrate my bbpress forum and our blog. I’ve made my own template in bbpress, which i’m very pleased with, but I can’t get it work.
The problem is that i can’t login to my forum. I’ve tried to login with members I’ve manually added in wp and a user that i created in bbpress! It seems that I login but I can’t reach the panel that a user who is logged in is able to! When I write a username and pw correctly it doesn’t say anything, just “jumping” to the root. But when I write a bad uname and pw it says that its wrong uname and pw!
I’m triyng to not use my own “plugin” (tabs and loginform) but it still dont work!
Is there something I have forgotten to do?
(im using the 0.75 bbpress and the newest wordpress)
Hi, found this link in another post
http://www.adityanaik.com/blog/bbpress-and-wordpress-integration/
Following the steps and I get
Fatal error: Cannot redeclare is_serialized() (previously declared in /home/niallr00/public_html/dds/forums/bb-includes/wp-functions.php:916) in /home/niallr00/public_html/dds/wp-includes/functions.php on line 165
What does this mean? Or can someone put me in the direction of another way to do it? Quite surprised there’s nothing in bbpress’s documentation about this?