Hmmm. They say talking to oneself is one of the first signs of insanity…
I just found a year old thread on this topic: https://bbpress.org/forums/topic/bbpress-wordpress-mu-or-not-leads-to-404-errors-but-pages-still-load?replies=7#post-14899
So I have a couple of questions for anyone out there:
1. Aside from the ugliness of a core hack, is there any reason my workaround is a bad idea?
2. Has anyone produced a plugin that implements Beau’s idea in the thread above?
Sounds like there are a lot of people with deep integration, so I find it really strange that this is still a problem in WPMU 2.8.4a / bbPress 1.0.2.
[Opening a new thread with a more descriptive title. The old one was here: http://bbpress.org/forums/topic/help-404-error-but-page-displays%5D
I have bbPress 1.0.2 and WPMU 2.8.4a with deep integration. Forum pages load fine in the browser, but they have a 404 status in the header, which causes a googlebot crawl error. If you have deep integration, this might be true for you too. You can use Firebug or http://web-sniffer.net/ to check.
I have posted my understanding of the problem and a workaround on the WPMU forums: http://mu.wordpress.org/forums/topic/14425?replies=1#post-83354
I think this issue will stop Google (and other search engines) from indexing your forum pages. So if you are using deep integration it might be a good idea to watch for a patch.
Use my little workaround at at your own risk.
heyho,
so i guess this is going to be my last question and i should be done now with my bbpress template .
so i need a placeholder link for normal logged in folks like
<?php if ( is_admin() yadda yadda php xy bla bla() ) : ?>
<table>
<tr>
<td>
<li><?php bb_admin_link();?></li>
</td>
</tr>
</table>
or else
<table>
<tr>
<td>
<li><?php bb_any_link();?></li>
</td>
</tr>
</table>
what kind of bbpress/php tags do i need?
thankssssss a bunch
Looks like WordPress is setting the 404 because it doesn’t recognize the bbPress page that is loading.
When the global WP object is constructed, the function WP->handle_404 calls “status_header( 404 )”.
As a workaround, I modified “handle_404” to lay off the 404 if “BB_PATH” is defined (i.e. when a bbPress page is loading). This seems to work ok.
Here’s the new “handle_404” at around line 445 in “wp-includes/classes.php”.
function handle_404() {
global $wp_query;
if ( !defined( 'BB_PATH' ) && (0 == count($wp_query->posts)) && !is_404() && !is_search() && ( $this->did_permalink || (!empty($_SERVER['QUERY_STRING']) && (false === strpos($_SERVER['REQUEST_URI'], '?'))) ) ) {
// Don't 404 for these queries if they matched an object.
if ( ( is_tag() || is_category() || is_author() ) && $wp_query->get_queried_object() ) {
if ( !is_404() )
status_header( 200 );
return;
}
$wp_query->set_404();
status_header( 404 );
nocache_headers();
} elseif ( !is_404() ) {
status_header( 200 );
}
}
Kawauso, you buddypress knowledgeable, I want to use this on my site but I don’t use bbpress registration.
It’s not too hard but it does take a while. You first have to figure out which profile you want your user to use, wordpress or bbpress.
I know WordPress has a page full of ’em that you can use here: https://wordpress.org/about/logos/
Not so sure if bbpress has put up such a page or not though. They don’t seem to have a similar page yet, but the team at Automattic are usually pretty damn cool about things like that (if you wanted to pull one from somewhere in the public domain), so long as you make it plain that you’re not a subsidiary.
Not quite sure what you’re asking, but if you’re just trying to display a message to non-logged in users, use something like:
<?php if ( !bb_is_user_logged_in() ) : ?>
Welcome, please log in or register!
<?php endif; ?>
in front-page.php
My coding is pretty terrible too ;P I just learn from poking around in bbPress and WordPress and breaking things a lot, so you’re going about it the right way
I’d have a go at it if IPB wasn’t paid software
kind’ve hard to develop for something you don’t have really, which might be why it’s difficult to find a viable converter. Do you know if there are any formats it will export to natively?
Interesting… the BuddyPress forums (https://bbpress.org/forums/) have the same problem, but the bbPress.org forums are fine.
I know that the BP forums and our site both use deep integration, so I tried removing that. Result: No more 404.
So it appears that deep integration is part of this problem.
I have bbPress 1.0.2, WPMU 2.8.4a and BuddyPress 1.0.3.
It should be. There’s an option in the Advanced Options section of the WordPress Integration section to specify different settings for the user database, so you’d just have to use that. The rest of the bbPress database could be stored locally.
delayedinsanity, thanks for your comment. Yes, you are really right.
But, at the same time, the cost of hiring such a programmer must be covered somehow. At this time, I would like to keep the cost as low as possible for me and for those who wish hosting at HostPress.
But, because we are manual, we can accept many different kinds of requests flexibly. This kind of human service is what I am offering. I want HostPress to be like a small, but a shining gem. ;O)
Is it possible to integrate bbPress membership with a remotely hosted WordPress?
Thank you very much for your kind help.
It doesn’t seem that complicated or fancy of an update to the website, why is it taking so long to change?
COOL!
That was all! Thx so much!
There’s no such thing as bb_print_scripts. bbPress is partially integrated with WordPress functions (BackPress), so in bbPress it remains wp_print_scripts.
Hi There,
I adapted this plugin to bbPress: http://wordpress.org/extend/plugins/page-cornr/
You can load it here: http://www.xtc-modified.org/page-cornr.zip
Works great so far. The only thing that doesn’t work ist that the peel-effect only starts on a topic-page, but not on the front-page!
Any ideas?
@johnnydoe: In your theme’s register.php, before the line if ( is_array($profile_info_keys) ) : (above the <?php tag before that), put:
<?php unset( $profile_info_keys['user_url'], $profile_info_keys['from'], $profile_info_keys['occ'], $profile_info_keys['interest'] ); ?>
That will take out the extra fields in the register form. What you did was take out the part that outputs all the form fields 
I can’t see the “to participate” part either, did you manage to get hold of the bbPress.org template?
Is it a Mysql problem?
Or is it supposed to be more related to bbpress itself, please?
I’m working on the design for a web-site (e-zine) that will be use bbPress as it’s forum software somewhere later in time when we have enough members to warrant one. We will be having circular sticker-like buttons on the main page leading to the WordPress blog, Facebook fan-page, Twitter account and the bbPress forums. Is there anyway I can get an official vector that I’ll be licensed to use to design the sticker?
I can illustrate my own but I’m not completely sure whether that would be violating any of Automattic’s rights.
hi fellows,
iam running this blog http://www.embtrans.com , my hosting is running on Windows IIS and it doesnt allow mod_rewrite functionality.
i have managed to configure the pretty permalinks for WordPress using custom 404. here is its code
<?php
$qs = $_SERVER;
$_SERVER = substr($qs, strpos($qs, ‘:80’)+3);
$_SERVER = $_SERVER;
include(‘index.php’);
?>
i would like to know if there is some custom 404 code for bbpress on Windows IIS to make pretty permalinks work.
thanks in advance
Hello bbpress community.
I’m trying to write a plugin that checks certain actions and saves them to a “status feed” so they appear in a friendfeeed-ish manner.
eg.
User made a new post
User started a topic
User tagged a topic
etc.
bb_new_post and bb_new_topic return the post and topic id respectively so it’s easy to grab it… But I’m using add_action('bb_add_topic_tags', 'status_tags_update'); to check the tags. The thing is, it seems to break tagging.
I checked bb_add_topic_tags and it returns tt_ids, which I assumed was an array of the inserted tag ids. But I’m probably wrong. I don’t understand very well what $tt_ids = $wp_taxonomy_object->set_object_terms( $topic->topic_id, $tags, 'bb_topic_tag', array( 'append' => true, 'user_id' => $user_id ) ); is supposed to do. So I don’t understand what’s being returned. I’m trying to get either the tag id, or preferably the topic id.
Any of you plugin-savvy users have any idea/help?
I’m having trouble trying to work out in my wordpress homepage post, how to stop the comment button click to redirect to my bbpress forum, which I have just recently set up.
This is my website: http://fitness-passion.com
I do not want any redirects, but rather have the comment to stay at the original post in wordpress.
Please tell me how can I fix this problem. Thanks!