Skip to:
Content
Pages
Categories
Search
Top
Bottom

bbpress install that uses separate database from WP database: path to 2.0?

Published on May 27th, 2011 by hlwinkler

Hello,

I would like to be able to move over to the bbpress 2.0 plugin. Unfortunately, a year ago when I created my forum, I chose to put it on a separate database from my WordPress database since there was no reason to integrate them.

Now it seems as if there is no path to bringing over a bbpress forum (with both users and posts) that is on its own database into a bbpress 2.0 plugin install, is this correct? Is there a method for me to get my separate-database bbpress install useable for import into the 2.0 plugin install or am I out of luck entirely? I have tried the following:

1. Doing a user import using the 2.0 plugin import tool (fails drastically, not surprisingly since it is not intended for that purpose)

2. Doing a forum import using the 2.0 plugin import tool (works great but all posts are anonymous)

3. Trying to do WordPress integration in bbpress to prepare to try #1 again (this just resulted in all posts in bbpress being set to anonymous and the keymaster account being removed despite having mapped the user roles, and no user accounts were added to WP in the process so I don’t quite know what happened there but I had a backup so it was no big deal).

One (very unattractive) option seems like it would be to somehow manually create all of the bbpress users in WP, and then try option 2 again, and then somehow manually assign all of the correct posters to the anonymous posts, but I don’t really have that kind of time to be honest. I guess I’d probably do it if it were the only way, since I don’t want to be permanently stuck with a legacy forum version and there are a couple of aspects of the plugin that prefer to the 1.0 implementation.

Anyway, I hope someone can give me some help, especially since I’m sure this is not an uncommon issue since there wasn’t a strong impetus to choose to use the same database previously.

Thank you!

Big problem – posts aren't showing up in forum

Published on May 27th, 2011 by powerspawn

http://powerspawngaming.com/forum/

About eight people have posted in the “Writer Recruiting” forum, including me. Clicking it shows no posts, however. However there are also posts in the General forum, and those show up just fine. What in the world could be the cause of this?

[EDIT: Hmm, it appears that it’s just no new posts are appearing because now nothing I post in any forums shows up, even though it’s in the admin and shows up in the forum post count. What to do?]

/bb-admin/users.php You are not allowed to do this here

Published on May 27th, 2011 by wsokc

Hi,

I dont know what happen, currently I found my bbpress (1.0.3) admin could not open the user admin page with error “You are not allowed to do this here”.

Currently my bbpress template was integrated with wordpress they installed separately.

You can look the page here: http://teknoinfo.web.id/forum

previously it works fine, after i do some changes regarding bug in the count bbpress from here https://bbpress.org/forums/topic/problems-on-recount-tools-after-upgrade-102-to-103, not sure its related or not.

From the error_log i found:

[28-Apr-2011 02:36:13] ERROR: bbPress database error – “Table ‘latqueir_teknoforum.bb_privatemessages’ doesn’t exist” for query “SELECT * FROM bb_privatemessages” via caller “bb_activate_plugin, include, bbPM->bbPM, bbPM->update”

[28-Apr-2011 10:33:17] ERROR: bbPress database error – “Table ‘lat_teknoforum.tekno_users’ doesn’t exist” for query “SELECT * FROM wp_users WHERE user_login in (‘raffaell’);” via caller “require_once, require_once, require_once, bb_current_user, bb_get_current_user, WP_Auth->get_current_user, WP_Auth->validate_auth_cookie, WP_Users->get_user”

[03-May-2011 06:24:52] PHP Fatal error: Call to a member function get_terms() on a non-object in /home7/latqueir/public_html/teknoinfo/forum/bb-admin/includes/functions.bb-recount.php on line 167

Is there anyone experience this ?

bbpress plugin – templates in bbpress folder

Published on May 27th, 2011 by Anointed

I don’t want to hijack the thread where JJJ and I were talking about the template locations filling up my theme root, so here is a new post.

I was playing around with an idea, and before I go to far with it, I was curious what you think.

You had mentioned that this type of system was expressly forbidden by wp, due to having to search all folders for files before proceeding. That would be a nightmare, but here I am defining the folders up front, so it ‘should’ be just as fast, though I am unsure of how to bench test it.

If we could get a system in place like this, then it would clean up the theme area considerably.

I am using the same logic on a number of client sites and it works perfectly, though they are not using bbpress or buddypress. I simply use it for my own custom post-types.

example:

public function template_include( $template ) {
if ( get_query_var('post_type') == $this->post_type ) {

if ( is_single() ) {
if ( $single = locate_template( array( $this->post_type.'/single.php') ) )
return $single;
}
if ( is_paged() ) {
if ($paged = locate_template( array( $this->post_type.'/archive.php') ) )
return $paged;
}
else { // loop
return locate_template( array(
$this->post_type . '/index.php',
$this->post_type . '.php',
'index.php'
));
}

}
return $template;
}

This would completely change the structure of bbpress template names, but could potentially allow me to store everything inside 3 folders ‘forums/topics/replies’.

I’m sure there would be much more to it than that….

What do you think of this type of approach?

*right now it is quite generic and would effect all custom post_types, which would not be good. Changing to be bbpress specific would prob just be a matter of defining types in the array vs. all

I’m really asking because even though I know I could get this to work, I am quite curious how this would end up effecting buddypress when combined with bbpress.

Would a system like this be a deal breaker?

Good idea or bad?

i found a bug,but i don't know if it was fixed

Published on May 27th, 2011 by matchbox

i found a bug,but i don’t know if it was fixed.

when i permalink is /archives/%post_id%.html,i couldn’t open my forum,but use default permalink,it is ok.

is any one also have the same problem?

Styling forums in bbpress plugin

Published on May 26th, 2011 by leemon

Hi!

I installed the new bbpress plugin and I’d like to style the forum pages using CSS. I use a three column theme and I managed to remove the sidebar in the forum pages through the WP theme functions.php file, but I don’t know how to enlarge the content area just in these pages since the body class attribute doesn’t specify that these are forum pages, so I cannot do something like this:

.forums .entry-content {

width: 100%;

}

Any help would be appreciated!

Thanks in advance

Human Test plugin for the bbpress plugin

Published on May 26th, 2011 by Fartlek

Is there a way to apply the Human Test plugin to the bbpress plugin?

Thanks.

bbpress plugin -users favorites

Published on May 26th, 2011 by Anointed

When I am logged in and go to my user.php profile page, I am indeed able to see a listing of my favorite posts.

It is when I am not logged in that my user.php profile page says

‘This user has no favorite topics.’

Now either the logic is broken, or it is intentional not to show a users favorites to a non-logged-in user. If that is the case then we need the logic to remove the favorites from non-logged-in users.

IMHO, I don’t think the public has any business knowing which posts are my favorites. I’d rather just have that text taken out of the template if I am viewing any users profile other than my own.

bbpress plugin user.php suggestion

Published on May 26th, 2011 by Anointed

So far every single template that I have worked with have had some type of ‘wrapper’ around the bbpress content.

example:

div class=”bbp-topic-wrapper” id=”bbp-topic-wrapper-1546″

The bbpress/user.php is the only template so far that has no type of ‘wrapper’ containing the output.

This is not really a problem as I was able to add my own wrapper, but it would be nice to have one built into the standard theme.

Reasons:

I am applying a padding/margin of 20px to the wrapper in order to display a separate background color for the forum area. Having a wrapper makes this natively easy.

also.. this is the only template that is really displaying items in a really weird way. Below the user area is a table list of the users posts that is somehow falling outside the normal layout.

I have to admit that this particular template in its current state is a pain in the butt to apply custom styles to. IMHO This template needs a bit more thought about the flow of information.

bbpress plugin forum specific sidebars?

Published on May 26th, 2011 by Anointed

I need some advice on the best way to create and manage unique sidebars for each forum using the bbpress plugin.

*having new sidebars dynamically created upon creating a new forum would be a HUGE plus! but I don’t mind having to do this manually for now if that is what it takes.

Scenario:

I have multiple forums and sub-forums. I want to be able to assign unique widgets to each forum and sub-forum.

Also when I am viewing a single post, say in the forum ‘cars’, I want the sidebar assigned to ‘cars’ to show up on that single view.

The idea is that I have posts that are directly relevant to each forum category, and I want to provide the user with direct links to the relevant posts.

Skip to toolbar