I’ve installed the bb Ratings plugin and put the following code on the front page:
<h2><?php _e('Highest Ratings'); ?></h2>
<table id="highest"><col class="wide" />
<tr>
<th>Highest Rating</th>
<th>Rating</th>
</tr>
<?php bb_top_topics();
foreach ($topics as $topic) : ?>
<tr<?php alt_class('forum'); ?>>
<td><a href="<?php topic_link(); ?>"><?php topic_title(); ?></a>
</td>
<td class="num"><div class="rating-holder"><?php bb_rating();?>
<span class="count"><?php bb_rating_count(); ?>
</span>
</div>
</td></tr>
<?php endforeach; ?>
</table>
The stars show up, the counts are correct, but instead of displaying horizontally which would allow the color to display properly the stars are stacked one on top of the other with the count at the very bottom.
I know the display works on the plugin repository page, but I haven’t been able to track down what I’ve been doing wrong.