bbPress

Simple, Fast, Elegant

bbPress plugin browser »

bbRatings (0.8.5)

Configuration

The plugin offers the following template tags for use in your templates.

  1. bb_rating(): Displays the average rating for the current topic.
  2. bb_rating_count(): Displays the number of ratings the current topic has received.
  3. bb_rating_dingus(): Displays the line of stars that users click on to rate the current topic.
  4. bb_current_user_rating(): Displays the rating the currently logged in user gave to the current topic.
  5. bb_user_rating(): Displays the rating the current post's author gave to the topic if you use this in the post list.

The plugin alse provides the following potentially useful functions.

  1. bb_top_topics(): Returns an array of the most highly rated topics.
  2. bb_get_user_rating(): Returns the rating the post's author gave.
  3. bb_get_current_user_rating(): Same as bb_get_user_rating() but for the currently logged in user.

Code is Poetry.