Good News All!!! Ok…. I have sub forums working in buddypress with a small hack to group.php (in latest trunk of bbpress 2.3). @johnjamesjacoby was right, it looks like they started building this functionality into bbpress and so-far it works. The only thing left to do, is maybe make it display a little more intuitively (I’ll continue to work on that), and on the buddypress side allow sub forum posts to be added to the activity feed of the group it belongs to. I was wrong before, sub forum topic posts do not show up on group activity feed, but I think I’ve already isolated the code to fix that.
Here is how to play with my hack in the latest trunk:
EDIT: /bbpress/includes/extend/buddypress/group.php
Delete lines 609-614 and add “?>” back to line 609.
This is how the forums in groups looks now (you can see all topics from the group forum and the bbpress sub forum of that group forum). Also, the post box has a drop-down select to chose the forum or sub-forum to post to:


How to create “New topic page” like this?
@johnjamesjacoby – This actually almost completely works within the current trunks of bbpress and buddypress, even the activity feed of subforums looks and works correctly within the group. The only bug is somewhere in the display of the forum tab in the group, I assume because it’s not expecting a subforum, which is why it doesn’t display the parent forum, which is also the group forum. I confirmed this by creating another subgroup (so 1 parent, and 2 child), and it will only display the latest forum/subforum created within the group and ignore the older 2 (the parent and first created subfourm). I will play around with the source code to see where it’s generating the group forum display and make a code suggestion if you would like. It’s probably just querying the bbpress tables for a forum associated with the group and whichever shows last in the table is what the display generates. It’s smart enough to already calculate all of the topics in all forums and sub-forums, so it’s about 90% of the way there. I think because bbpress and buddypress are partitioned so well, this might not be an issue, it’s almost feature complete in this regard, and I know the community has been clambering for this functionality for a very long time. Most end up turning to the hierarchy plugin, which really isn’t the long term solution. Is it possible to get this into 1.7, which is so close to release? If so, I’ll work out a quick solution, that is future proof and can be expanded on in future versions.
I’ve considered this, but without term meta there’s no way to do sticky topics in groups.
What about assigning tag(s) to a group instead, like you do it on WPORG? Wouldn’t that be a good way to at least make it a bit more flexible while working towards the ‘multiple forums per group’ ?
My short answer is to turn off bbPress’s built in per-topic notifications, and build your own.
Since it’s a blanket on/off for each user, save a usermeta option whether or not they’ve opted in; save this when they create their account. There are plenty of actions and filters in the default profile templates that will allow you to intercept the input/output process, so adding an additional field is not too difficult, though not exactly easy either (lots of touch points.)
In all, this could be built as a completely self-contained plugin, and released to the community. I’d be surprised if someone isn’t already trying to build the same thing.
Multiple forums per BuddyPress Group is started in bbPress, but likely won’t be finished for several months. There are a few technical challenges regarding performance that don’t make it entirely feasible. If it’s something you need, you’ll want to build it, and if you’re able, contribute back to the bbPress project.
On the whole, I agree that it would be nice to have in core.
This is a bit of a brute force hack, and only fixes the problem because something else is initializing the current user before $wp->init would naturally call it.
Also, on multisite installations, this will cause other more annoying issues that are even more difficult to track down. 🙂
There must be some other plugin that’s doing something wrong in your installation(s).
I also am having a problem here. Is there a rich text editor for a buddypress +bbpress installation as my users dont like everything being plain text…
Sorry, I was talking about the bbpress-unread-posts plugin!
Hi, with 082net’s fix participants and all other roles are able to see the forums.
In my forum I have a problem with moderator role privileges they can’t edit, split, or delete any post.
I have check everything
Is something else that you suggesting me!
Thanks
Hello good people
This is my very first request for help and I’m a very, very newbie with all this.
I’ve designed a film photography forum using bbpress and Fanwood theme. I’ve managed to customize some CSS but something does not work.
When writing a post or answering to a given post the “text box” allows me to write all I want and it even assume the line breaks, but when I submit the post all the line breaks are gone and the text turns into a single “block”.
Can anyone please help me?
Thank you
I have opted for SMF hosting from Hostpaedia but i am having some issues with SMF and the forum doesnt seems good for my use.
I am impressed with bbPress and i want to use it on my new host. i dont know the process of installation as i am not techie. Hostpaedia Guys told that they provide with Softaculous where i can instal bbPress with one click. but i dont know from where to start.
Is there any handy guide for it ?
any help will be appreciated.
Defaulting to plain-text, like bbpress.org now does, seems like a perfectly good compromise to me.
I had the exact same problem, and have found a solution that worked for my case:
I have a custom theme running and the site.com/forums/ page was not listing the forums, even though I had created a couple sample forums and topics to make sure there was dummy data.
Thanks to Jared, it became quite apparent that the “the_content()” WordPress function was not properly generating the forum.
At first I tried disabling all the plugins, except bbpress, to see if perhaps a plugin was conflicting with the “the_content()” function; but no luck.
I then installed the TwentyTwelve theme, and switched to that, and voila, the forums were showing! Something was different in the TwentyTwelve theme that I didn’t have in my custom theme… and I narrowed it down:
SOLUTION: Make sure you have the “the_post()” function call BEFORE the “the_content()” function, in your page.php template file in your theme folder. Something in bbPress must be getting triggered by the “the_post()” function which ties into the “the_content()” function displaying the forums content properly. All subsequent pages also display properly.
Simply, ensure “the_post()” is called before “the_content()”. Did the trick for me! Good luck!
I think I finally found a caching plugin that’s actually compatible with the latest bbPress plugin:
http://wordpress.org/extend/plugins/lite-cache/
It’s by the same developer who made the quite popular “Hyper Cache“. Why he decided to make yet another caching plugin I do not know, but it appears to be working great on our site!
I don’t understand why moderators are allowed to create forums (only admins should be allowed to do this).
Is there a way to take this capability away from moderators in bbPress?
Thanks for the help.
Custom bbPress functions can go into your functions.php file, but I prefer to create a custom functions plugin.
Thanks for sharing @will-brownsberger . So it’s been 3 weeks, how are you doing? 🙂 There’s also a mention of a fix in that thread you linked to, but I’m not sure if it’s been applied yet.
We’re on a constant lookout for bbPress-compatible plugins to use on jmonkeyengine.org. It could really save us from a very costly hardware/hosting investment.
Thanks a lot, this is a very welcome tweak! I never did understand the point behind this “feature”. I rarely close topics because the OP shouldn’t be read at all…
Is there a way to safely override this css in my child-theme’s style.css as well, maybe by importing the bbpress.css? The problem with your method is that the change will be overwritten as soon as bbPress is updated.
I’m assuming that if I want to override the template files inside the plugin directory, I need to place a file of the same name (ex: archive_forum.php) inside the bbpress directory within my theme folder.
So where do custom bbpress functions go? My theme’s functions.php?
I know this was a while ago, but in case anyone else stumbles across this topic, here’s how I did it.
In your wordpress install find the folder `/wp-content/plugins/bbpress/templates/default/css`
Open the file `bbpress.css` in a text editor
Within the bbpress.css file, search for the text `#bbpress-forums .status-closed`
When you find this text, below is the entry `color: #ccc;` This is the colour for your text in closed topics. Change it to #000 for black.
You can grab the 2.3 beta 1 now, see https://bbpress.org/blog/2013/01/bbpress-2-3-beta-1/
In theory changing `post_parent` should do the trick though you need to run the ‘Repair Tools’ after doing this to recount all the things.
Hi Stephan, that’s great to hear! Any idea when you plan to release? I’m just doing demo runs right now; I’ll be officially moving my phpbb3-based community over to this bbpress install next month.
I have already been doing a lot of user pruning and forum configuration on the live phpbb forum to make it as close to what I want the bbpress to look like.
I guess I will need to figure out how to mass move topics from a regular forum into a group designated forum. I tried mucking with the database by changing the “post_parent” field to match up with the new group forum, however it didn’t work… the front end looked a little wonky. Tips?