/**
 * Output the content of the current post in the loop.
 */
function bp_the_topic_post_content()
{
    echo bp_get_the_topic_post_content();
}
 /**
  * Add bbPress forum post ratings. This method is for old versions of bbPress & BuddyPress bundle.
  *
  * @param mixed $content
  *
  * @return string
  */
 public function rw_display_forum_post_rating($content)
 {
     if (RWLogger::IsOn()) {
         $params = func_get_args();
         RWLogger::LogEnterence('rw_display_forum_post_rating', $params);
     }
     $rclass = 'forum-post';
     // Check if item rating is top positioned.
     if (!isset($this->forum_align[$rclass])) {
         return $content;
     }
     $post_id = bp_get_the_topic_post_id();
     /*
     // Validate that item isn't explicitly excluded.
     if (false === $this->rw_validate_visibility($post_id, $rclass))
         return $content;
     
     // Get forum-post user-rating-id.
     $post_urid = $this->_getForumPostRatingGuid($post_id);
     
     // Queue activity-comment rating.
     $this->QueueRatingData($post_urid, strip_tags($topic_template->post->post_text), bp_get_the_topic_permalink() . "#post-" . $post_id, $rclass);
     
     $rw = '<div class="rw-' . $this->forum_align[$rclass]->hor . '"><div class="rw-ui-container rw-class-' . $rclass . ' rw-urid-' . $post_urid . '"></div></div>';
     */
     global $topic_template;
     // Add accumulator id if user accumulated rating.
     if ($this->IsUserAccumulatedRating()) {
         $options['uarid'] = $this->_getUserRatingGuid($topic_template->post->poster_id);
     }
     $rw = $this->EmbedRatingIfVisible($post_id, $topic_template->post->poster_id, strip_tags(bp_get_the_topic_post_content()), bp_get_the_topic_permalink() . '#post-' . $post_id, $rclass, false, $this->forum_align[$rclass]->hor, false, $options, false);
     // Attach rating html container.
     return $this->forum_align[$rclass]->ver == 'top' ? $rw . $content : $content . $rw;
 }