Skip to:
Content
Pages
Categories
Search
Top
Bottom

Google crawl errors for posts with special characters in title

Published on December 26th, 2009 by Greg

I recently discovered that I was getting quite a few crawl errors for a bbPress installation (1.0.2) and the common denominator was special characters in the title. The Google crawler was changing the hex characters in the encoded URL to uppercase, and this was causing a 302 redirect.

I tracked the 302 redirect to bb_repermalink(), which detects the uppercase hex as a discrepancy with the “correct” permalink. I made a simple plugin that works around the issue (see below).

Has anyone else seen this issue? How did you deal with it?

I’ve described this in a little more detail at http://theblogeasy.com/2009/12/26/bbpress-and-encoded-urls-with-uppercase-hex/.

function _permalink_fix( $permalink, $location )
{
$matches = array();

/* are there any URL encoded hex characters with uppercase in the request URI? */
if (preg_match( '#%([0-9][A-F]|[A-F][0-9]|[A-F][A-F])#', $_SERVER['REQUEST_URI'], $matches ))
{
/* replace ALL URL encoded HEX parameters with uppercase versions */
$patterns = array(
'#%([0-9])([a-f])#e',
'#%([a-f])([0-9])#e',
'#%([a-f][a-f])#e' );
$replacements = array(
'"%" . $1 . strtoupper("$2")',
'"%" . strtoupper("$1") . $2',
'"%" . strtoupper("$1")' );

// print_r( $patterns ); print_r( $replacements );

$permalink = preg_replace( $patterns, $replacements, $permalink );
}

return $permalink;
}

add_filter('bb_repermalink_result', '_permalink_fix', 10, 2);

I need help to change language!

Published on December 26th, 2009 by leonald

already downloaded the entire contents of translation

already created the folder my-languages he asks, but I do not think the place to change the language!

switching to pt_BR?

error in reply button

Published on December 26th, 2009 by godhelpmeout

hi

im using wordpress 2.9 and i have integrated with bb-press evertthing worked fine but when any of new user get register .if tht user what post a new topic he cannot post and also he reply to post…

tht means user cannot click reply button

pleas help me it will greatfullyyyyyyyyy

please

if u register u cannot reply for post please help me out

How about simple wiki plugin

Published on December 26th, 2009 by jurasiks

This plugin must allow users edit all messages in some one forum.

Support Forum Icons

Published on December 26th, 2009 by Michael

Hi all

I’ve been using the Support Forum plugin for a while now, and I’ve just noticed something I can’t seem to fix.

When browsing for topics by tag, the ‘[closed]’ and ‘[sticky]’ are not replaced with icons like they are in the front page and topic pages.

Any ideas on how to implement it?

Peace, Michael

Login Integration Issues – bbpress and wordpress mu

Published on December 26th, 2009 by

I installed wordpress mu and bbpress in single database and installed integration plugins of respective ones on both. And configured it.

As of today mine is the latest wordpress mu version and bbpress version. The problem I am facing is :

1) Login integration

2) User roles integration

3) Theme integration

In detail :

1) Login integration :

When I login in to wordpress and then move to forum, I am logged in. Also when I logout of wordpress and then go to forum I am logged out. This works perfectly. The problem is when I login in to forum and then move to wordpress, it does not work. Also when I logout at forum and then move to wordpress I am still logged in. I can access wp-admin. When I access wp-login it seems like I am logged out. But if I access wp-admin I am logged in. If I press log out I get error :

You are attempting to log out of Test 1

Please try again.

URL of where I am getting is http://test1.soulblog.net/wp-login.php?action=logout_wpnonce=f3ec0d7e0f

2) User roles, in wordpress I installed Role manager. In bbpress I see the registered users as “Inactive (no role)”

3)I want to integrate wordpress theme in the forum. I followed the steps below :

____________________________________________

styling your forum

1. Open bb-config.php and add the following line (replacing PATHTOYOUR with the

relative path to your blog):

require_once(‘/PATHTOYOUR/wp-blog-header.php’);

2. Navigate to the folder for the theme you are using on the forum (the default is

Kakumei, which is in /bb-templates/kakumei) and open the header.php

file. Replace the contents with <?php get_header(); ?>.

3. After the <?php get_header(); ?>, ����������������������������������insert the following line of code:

<link rel=”stylesheet” href=”<?php bb_stylesheet_uri(); ?>”

type=”text/css” />.

4. You can do the same with the footer, replacing it with <?php get_footer(); ?>

if you wish.

5. Open the style.css file for the bbPress theme you are using. Search for the

following line in the header: class.

background: url(‘images/page_header_bblogo.png’) no-repeat

Remove that line and save the file.

6. View the forum. It should now be very similar in look and feel to the rest of the

blog network.

__________________________________________

This replaced the header and footer, but did not integrate well.

So some one please guide me with these 3 issues and get me solved asap.

cannot post at all!

Published on December 26th, 2009 by brayjason

Hello and Merry Christmas bbpress’ers

My forum is at http://musclecontrol.org/tmpftp/bbpress/

For some reason I cannot post at all? I edited the only topic I had, but could not post a reply or start a new topic? So I deleted the only topic and now have nothing. I have no idea how to fix this. I looked all over the admin panel. I searched the forums but nobody seemed to have this same problem.

Any ideas?

Unregisted users posts are blank

Published on December 25th, 2009 by

We are using latest WP and BBpress + BBsync. The problem is that when unregisted users post comment to the blog their post is copied to forum as blank post. Forum shows their name right, but the post is totally blank.

What should we do about it? Any fix?

bbTopic Icons – I recommend

Published on December 25th, 2009 by hpguru

https://bbpress.org/plugins/topic/bb-topic-icons/

Demo: http://keskustelu.hpguru.net/

Really good and necessary bbPress plugin. Thank you for the fact that this has been done. Facilitate both the owner and user by providing good information on the topics of clear icons. Thanks to the author.

I am happy with that plugin in my forum.

Activity Streams

Published on December 25th, 2009 by Michael

Greetings!

In my previous topics, I have mentioned how I’m planning to improve my forum. As it stands, I have a list of things to sort out, as well as things I’d like to add/change.

Obviously, some of these changes will involve changing the core, including the following:

Upon running through the Vanilla Forum ‘Discussions’ page, I noticed the ‘Activity’ tab. This kinda captured my attention because my forum is really a community, if anything.

What I’d like to know is this:

  1. If I attempt to introduce this kind of thing to my forum, should it be a part of the Latest Discussions (which I can change the heading for) on the front page, or should it have it’s own page, in your opinion? Of course, I’d have a few more things to include in the stream, such as updates of profile information.
  2. Also, if anyone can guide me, what files would I need to have a look at to implement this? I guess I’m really looking for the files that have something to do with implementing an action, such as the file that updates a part of one’s profile. I don’t want to make mistakes and change the wrong files.

At some stage, I guess it would be nice to make a plug-in for this, but I need to learn a lot more about creating them.

I’d appreciate any help I can get for this, I would hate to screw it up and re-install.

Peace, Michael

Skip to toolbar