Forum Replies Created
-
Sure,
For the reply toolbar I’m using CLEditor and for the avatar upload I’m using User Avatar.
Sure, this is an example of loop-topic.php:
<?php while ( bbp_topics() ) : bbp_the_topic(); ?>
(etc...)
<div class="vote-count<?php rating_class($thumbs_number); ?>">
<h4>
<?php wp_gdsr_render_article_thumbs(); ?></h4><span><?php votes_text($thumbs_number); ?></span>
</div><?php $replies_number = bbp_get_topic_reply_count(); ?>
<div class="reply-count<?php reply_class($replies_number); ?>">
<h4>
<?php bbp_topic_reply_count(); ?></h4><span><?php reply_text($replies_number); ?></span>
</div>
<div class="freshness-count">
<h4>
<?php bbp_topic_freshness_link(); ?></h4><span><?php bbp_author_link( array( 'post_id' => bbp_get_topic_last_active_id(), 'size' => 14 ) ); ?></span>
</div>(etc…)
Basically, you just have to place the code that generates the rating inside the bbpress loop. You can place it in files like loop-topic.php, loop-replies.php, etc.
Almost all voting and rating plugins work this way (I’m using gd star rating).
The next step is to be able to sort the topics and replies according to their rating. But I’ve already spent one year trying that with no results.
Well, it’s a discussion site for foreigners and English-Speaking Taiwanese. There was only one in Taiwan (made with phpbb) called Forumosa.
In reply to: Here’s how to install Avatar Upload plugin@ratsoid2 Hey thanks it worked.
But when I click Modify your avatar. I get sent to a page. The thickbox doesn’t appear.
@Jakub Hey it worked thanks. Why was that?
I discovered that it only happens with the twenty-ten theme not the twenty-eleven theme.
In reply to: bbpress 2 as a front page?Another options is to place all the content of
page-front-topics.php
tofront-page.php
.In reply to: Could you provide the Chinese version?As far as I know,
the ‘bbPress Team’ are developers not translators.
‘bbPress Team是開發者他門不是翻譯著.
In reply to: bbPress-polls for the bbPress WordPress plugin!?@ideoplasm Adding a voting or rating system into bbPress 2.0 is extremely easy.
You can use this plugin: https://wordpress.org/extend/plugins/wp-postratings
or this one: http://www.gdstarrating.com/
Then just add the rating function in
loop-topics.php
(inside the loop).You can do the same for
loop-replies.php
I’m working in a voting forum myself.
This is an example:
<div class="topic-rating-count">
<h4><?php if(function_exists('the_ratings')) { the_ratings(); } ?></h4>
<span><?php _e( 'rating' ); ?></span>
</div>
<div class="topic-reply-count">
<h4><?php bbp_topic_reply_count(); ?></h4>
<span><?php _e( 'replies' ); ?></span>
</div>
<div class="topic-freshness">
<h4><?php bbp_topic_freshness_link(); ?></h4>
<span> <?php bbp_author_link( array( 'post_id' => bbp_get_topic_last_active_id(), 'size' => 14 ) ); ?>
</span>
</div>I see, then I will just stick with that temporally fix. Thanks!
Thanks Gautam,
I did that instead but still having the same problem.
The only way I can solve the problem is by taking:
<?php bbp_get_template_part( 'bbpress/form', 'reply' ); ?><br />
from single-topic.php out of the loop.