Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: bbPress – using bb_top_topics()


_ck_
Participant

@_ck_

Upon further examination, function bb_rating_init() { may need further modifications under bbPress 1.0

Unfortunately I am unfamiliar with what to do with that query under 1.0 so mdawaffe may have to do it.

Just a complete guess, you can try changing line #94:

$query_args = array( 'meta_key' => 'avg_rating', 'order_by' => '0 + tm.meta_value' );

to

$query_args = array('object_type'=>'bb_topic', 'meta_key' => 'avg_rating', 'order_by' => '0 + tm.meta_value' );

Skip to toolbar