Skip to:
Content
Pages
Categories
Search
Top
Bottom

Modifying a BB_query on the fly?

Published on February 24th, 2011 by [removed]

Hey all,

I’m trying to intercept certain (pre-defined bbPress) queries and filter a few results out. I figured I’ll need to register an action on ‘bb_query’, but I can’t seem to modify the actual query.

Say I want to filter all topics by myself from the recent posts view, I registered the following:

add_action('bb_query', 'filter_query');

And then the code:

function filter_query(&$obj) {

if($obj->type == 'topic' && $obj->query_id == 'get_recent_posts') {

//ADD "AND topic_author != 'Litso'" to the query here
}
}

Can anyone point me in the right direction?

Copy the navigation bar form wordpress to bbpres

Published on February 24th, 2011 by Sredna

Hello

I’m trying to fit my Superbold bbpres style to my modified Twenty10 WordPress style. Basically I would like to copy the navigation bar of the Twentyten to the bbpress forum. Any idea on how to do that?

My wordpress http://krusty.dk/

My forum http://krusty.dk/forum/

Any help is greatly appreciated :D

Sredna

My Website Sitemap

Published on February 23rd, 2011 by kingcoattorney

I recently created http://www.kingcountydogbiteattorney.com and for some reason when you click on the sitemap page it shows up as an error. why is this? I used the google xml sitemap plugin.

First topic_title in array doesn't show up..

Published on February 23rd, 2011 by Thomashorstink

Hi,

I’m using bbPress for a website I’m building and I’m experiencing a kind of weird thing. I’m using the following code to get the last topic title on the forum page:

topic_title(forum_last_topic_id());

It works well except for the first Subforum..

Here’s a link:

http://venvnvs.nl/bbpress/

SQL error!

Published on February 23rd, 2011 by jzp820927

SQL error!

>>> database:bbpress (localhost)

>>>>>> CREATE TABLE IF NOT EXISTS bb_posts (

post_id bigint(20) NOT NULL auto_increment,

forum_id int(10) NOT NULL default 1,

topic_id bigint(20) NOT NULL default 1,

poster_id int(10) NOT NULL default 0,

post_text text NOT NULL,

post_time datetime NOT NULL default ‘0000-00-00 00:00:00’,

poster_ip varchar(15) NOT NULL default ”,

post_status tinyint(1) NOT NULL default 0,

post_position bigint(20) NOT NULL default 0,

PRIMARY KEY (post_id),

KEY topic_time (topic_id, post_time),

KEY poster_time (poster_id, post_time),

KEY post_time (post_time),

FULLTEXT KEY post_text (post_text)

) TYPE = MYISAM DEFAULT CHARACTER SET ‘utf8’;

>>>>>> You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘TYPE = MYISAM DEFAULT CHARACTER SET ‘utf8” at line 16

WordPress and bbPress Integration

Published on February 22nd, 2011 by hixsonb

Hi,

I am sure this has been asked but I must not be typing the right search phrase because I can not find the solution.

I have successfully integrated a few WordPress/bbPress installations but am having an issue with the latest one I am setting up for a client.

WordPress is successfully installed.

The latest download of bbPress has been installed and uploaded to the server.

The WordPress bbPress integration plugin has been installed.

The appropriate define cookiepath and cookiedomain settings have been added to the wp-config.php

When starting the bbPress installation and configuration, I keep getting…

…problem connecting to the WordPress user database.

I know the auth keys and all the other keys are correct as well as the database prefix of wp_.

I am missing something?

Thanks,

Bert

dropdown menu

Published on February 22nd, 2011 by grastabakalator

Hi.

I have a problem with my bbpress.I do not know the reason.

Menu in admin panel has not drop down means i do not have opportunity to change appearence or install pugin from admin page.

Where i should to looking for resolve?

sorry for my english

Key Master username same as WordPress admin username?

Published on February 22nd, 2011 by glumbo

What happens if I want to integrate my bbpress with a wordpress installation that already has a user with the same username as my bbpress installation’s key master?

Since my user tables are in a separate databases I configured user role mapping in the admin panel. I also configured the advanced db settings for user integration by specifying wp_ as the prefix and 1 as the blog id. However, after doing that I cannot login to my bbpress anymore using the key master account or any other account.

WordPress Multisite Single Forum

Published on February 21st, 2011 by t_nally

I couldn’t find an answer elsewhere in the forums but the question is:

Can you install bbpress on a WordPress 3.0 multisite and have a single forum that powers all websites in the network?

Pagination Breaks after 44 Pages

Published on February 21st, 2011 by

I’m not sure what’s going on here but my friends and i have been adding to this thread:

http://letsmarinate.com/topic/funny-pic-marathon

for a LONG time and as of the other day we hit 45 pages worth of posts.

As you can see, the pagination stops @ 44 pages.

If you manually hit page 45: http://letsmarinate.com/topic/funny-pic-marathon/page/45

it works…..

Has anyone experienced this? thanks!

Skip to toolbar