This is one basic feature that I wish was included as standard.
Only way currently is to use a plugin, there are three but none look like they’re actively being updated.
https://bbpress.org/plugins/topic/hidden-forums/
https://bbpress.org/plugins/topic/zaerl-visibility/
https://bbpress.org/plugins/topic/private-forums/
Not tested any yet, will be doing so soon. Zaerl is the most recent so that’s the one I’ll try first.
If anyone could feedback any experiences with using these on bbPress beta2 that would be great.
Yeah sorry, poor wording on my part. I think of “core” as meaning “any file that came with bbP” but that’s not really accurate. I’m modifying the various page template files, CSS, and a few minor modifications to the files in mytheme/bbpress/. Oh and I did modify the replies widget, but only so I could make it a fixed size and give it an overflow. There’s probably a better way to do that but I just needed a quick solution that I could do myself.
So basically when a file like page-front-forums.php changes, I need to know so that I can incorporate those changes into my version for my theme, or vice versa.
Traclog seems to be pretty much what I was asking for anyway, so thanks for pointing it out.
Jonathan
Nothing useful in the apache error logs.
No folder called “forums”.
No bbPress install.
No rewriting of the forums slug.
And like I said, it was working fine… then 20 minutes later not. And all I did in between was answer a handful of forum posts.
Also with the slugs enabled, I’m still not able to visit /forums/ if the forums base is set to same.
Jonathan
I can guarantee you with 100% confidence that a bbPress plugin update alone will *never* nuke any files outside of the /wp-content/plugins/bbpress/ folder. 
When you update any WordPress plugin through the auto-updater, it deletes the plugin folder, recreates it, and puts the contents of the new version in there; that’s it.
Good info. Thanks for sharing that. I imagine there will be other framework style themes that do some custom hijacking like that too.
@Jonathan – No. You should *never* modify core files, ever. If you’re modifying the core, you should share what you’re changing and why, so someone can show you a better way, or we can improve the core. If you’re creating a custom theme based on the core files, then until 2.0 drops you’re on your own to monitor the traclog and see what changes might impact you.
I’ve resolved it. Apparently, the WP theme I’m using (Thematic) has a constant named THEMATIC_COMPATIBLE_BODY_CLASS defined as TRUE. I disabled it and now I can see “bbPress” added to the body class in all forum pages.
But that’s just it – all I did was run the update from within my WP admin. That’s all. I was running a stock bbP beta 1 install (my customizations are just to the various template pages and a few minor edits to files within mytheme/bbpress). When next I looked, the folder was gone.
Nobody at all was working on the server during this time but me, and nothing else happened in between. I ran the update, saw it completed, walked away, came back after a couple of hours, and the directory was gone.
I suppose I could back it up now and try again just to test it, but I’d really kinda rather not. I can’t come up with any logical explanation of how my entire theme directory could have spontaneously deleted itself right after running the plugin updater.
If I’m the only person this ever happens to, then great… we can write it off as an unexplained mystery. Personally though I’m never updating again without first backing up my theme directory.
Jonathan
When are adding your theme compatibility? If you are hooking in on the ‘init’ or ‘wp’ actions, then it is too late for theme compatibility to pick it up.
function anointed_theme_setup() {
add_theme_support( 'bbpress' );
}
add_action( 'after_setup_theme', 'anointed_theme_setup' );
Can you confirm the bbpress.css is inside the bbPress plugin directory and bbp-twentyten theme?
If it wasn’t working at all, then your custom theme’s bbPress template files wouldn’t be getting loaded either.
@Johnathan – Can you use a tool like Firebug or Inspector, and look at the hidden input fields in your reply form?
Should look like the following
<input type="hidden" name="bbp_reply_title" id="bbp_reply_title" value="Reply To: Updated to bbPress 2.0 pre-beta 2" />
<input type="hidden" name="bbp_forum_id" id="bbp_forum_id" value="138" />
<input type="hidden" name="bbp_topic_id" id="bbp_topic_id" value="439" />
<input type="hidden" name="action" id="bbp_post_action" value="bbp-new-reply" />
<input type="hidden" id="_wpnonce" name="_wpnonce" value="0b78bb87eb" />
<input type="hidden" name="_wp_http_referer" value="/discussion/topic/updated-to-bbpress-2-0-pre-beta-2/" />
Also, some details about your configuration would be great. WordPress version, Multisite/single-site, custom theme/theme compatibility, etc…
There’s absolutely no way that bbPress is responsible for doing anything inside your wp-content/themes/ directory. If you made changes to files inside the bbPress plugin folder, then you broke the first rule of using a WordPress plugin.
For some reason the function theme_compat() -line 189 bbpress.php is not respecting the add_theme_support( ‘bbpress’ ); in my theme’s functions.php file.
The reason I don’t think it’s working is because the bbpress.css is still being injected into my header.
*btw the function definition says it also enqueues the topic.js, however it’s not in the arguments, not sure if that matters though, as I am doing that on my own.
I’m no sysadmin, so understanding what is happening is a bit beyond me right now.
Here’s what I was doing to cause the 403 error:
1. I wanted to test to see what bbpress does with a really long forum post title, so I tried the following:
Let’s create a really crazy long title name to see if the table properly removes any extra text from the title or not
The body of the post says:
Well I hope that title above was long enough, I can’t imagine any forum titles being longer than this one.
When I click submit, I get a 403error below:
[Fri May 27 20:21:10 2011] [error] [client 76.121.8.129] mod_security: Access denied with code 403. Pattern match ":space:+(select|grant|delete|insert|drop|alter|replace|truncate|update|create|rename|describe):space:+[A-Z|a-z|0-9|\\*| |\\,]+:space:+(from|into|table|database|index|view):space:+[A-Z|a-z|0-9|\\*| |\\,]" at POST_PAYLOAD [severity "EMERGENCY"] [hostname "mysite.com"] [uri "/forum/prayer-requests/healing/"] [unique_id "TeA-9kUuJUQAABVAGuk"]
I am unsure of how to interpret the error, and what steps I need to take in order to resolve the problem. Hope this error helps identify something.
Gotcha…
Its because of bb_config integration.
/** WP Theme **/
define(‘WP_BB’, true);
if ( !defined(‘DB_NAME’) ) {
require_once( dirname(__FILE__) . ‘/../wp-config.php’);
}
Hmmm… Last time is not happening, why its happened now ?
Is there any solution to integrate the theme without having to hardcode the theme itself ?
Currently I installed bbpress on separate database.
and I intend to separate the user too.
So I want only to integrate the theme….
Any better solution for this ?
Checking that box fixed my problem. Thanks.
The sanity check that I do in the breadcrumb is to check if the root slug is being included in the forums or not. If there’s no root slug, in the URL, then there’s no definitive breadcrumb that bbPress could know about. My logic may still be flawed here though.
Yup, I am more than comfortable with modifying this for my own needs. I was just thinking that the standard should go to the forums, as people browsing forums wouldn’t expect to jump to the homepage via forum breadcrumbs.
Either way, life is good LOL
You can manipulate the inclusion of the links on customized setups (such as the one I know you have.)
Check out the plugin code and adjust it to suit your needs in your custom theme.
Suggestion:
I noticed that beta2 changed the breadcrumbs to include a ‘Home’ button as the first level. The suggestion would be to have the ‘Home’ button link to the forum home page and not the site root home page.
It is rather confusing even to myself to be kicked from the forums when clicking the home breadcrumb link. I would expect to be sent to the forum homepage instead.
Could we get a list of files that have changed in the changelog? For those of us who have had to make certain modifications to some core files, it would be extremely helpful.
Thank,
Jonathan
Are you sure? I can’t see bbPress added to the body class here:
http://barcelonaphotobloggers.org/forums/forum/general-2/
But using bbPress 2.0 when it is final – won’t that be up to date?
Hallo, I’m using bbpress 2 and i have a multi-site installation, but how do I do to active bbpress on each site? BBpress is network actived but I can create forums only from the admin network panel.
Hallo, I’m using bbpress 2 and i have a multi-site installation, but how do I do to active bbpress on each site? BBpress is network actived but I can create forums only from the admin network panel.
Ah ha. That’ll do it. WordPress doesn’t have built in collision detection for these manually entered slugs. Mind creating a trac ticket and I’ll look into preventing this in the next release.