Looking for help with bb-ratings
I am looking for some help with the plugin bb-ratings. Specifically the functions bb_top_topics. From what I gather it returns an array of topics in descending order of the votes the topics have received. I took that information and put the following in my front page template:
foreach ($topics as $topic) : ?>
<tr<?php alt_class('forum'); ?>>
<td><a href="<?php topic_link(); ?>"><?php topic_title(); ?></a>
<td class="num"><div class="rating-holder"><?php bb_rating();?>
<span class="count"><?php bb_rating_count(); ?>
The problem is that it does not display the topics in descending order, it just displays all of the most recent in the order they were entered.
I know the plugin page (bbpress.org/plugins/) has this function working as it should be.
Thanks in advance for any help.
- You must be logged in to reply to this topic.