Allows the topic starter or moderators to select which reply is a "Best Answer" to the original post. Helpful for support forums, etc.
bbPress Plugin Browser »
Best Answer (0.0.5)
Download
Version: 0.0.5
Last Updated: 2009-8-5
Requires bbPress Version: 0.9 or higher
Compatible up to: 0.9
Average Rating





Your Rating
Author: _ck_
-
I forgot to put this in the first revision of the instructions:
Because of lack of foresight in the bbPress output functions
you have to edit thetopic.phptemplate to change post colors
change:
<?php foreach ($posts as $bb_post) : $del_class = post_del_class(); ?>
to:
<?php foreach ($posts as $bb_post) : $del_class = apply_filters('best_answer_class',post_del_class()); ?>Posted: 10 months ago # -
WOW, It's cool Plugin. You are Great _CK_
Posted: 9 months ago # -
CK , its not working for me , can you please help more on this
Posted: 9 months ago # -
vikram you need to tell me more specifically what's not working
and what version of bbPress you are using and what theme.Posted: 9 months ago # -
Hi CK,
My Apologies for not communicating clearly my problem :) and Thanks all of you for the very quick response you are providing and supporting new bb users like us.
I am trying to set up this Bb press for my office and want to make all the employees active much and get recognition as well ;).
I am using the bbpress-0.9.0.5 and I dowloaded the above plugin of the Best Answer and as suggested by you and I have edited the repecitive code of line of the below mentioned path as :
C:\Program Files\EasyPHP 2.0b1\www\bbpress\bb-templates\kakumei
----------------------<?php foreach ($posts as $bb_post) : $del_class = apply_filters('best_answer_class',post_del_class()); ?>
<li id="post-<?php post_id(); ?>"<?php alt_class('post', $del_class); ?>>
<?php bb_post_template(); ?><?php endforeach; ?>
----------------------and activated this plugin , but still I cannot see how this BestAnswer works and get displays and there is no option as well.
Please do help with this.
Cheers,
-Vikram
http://gripsack.orgPosted: 9 months ago # -
vikram, keep in mind you need more than one post in a topic and then either the topic starter or mods/admin can select the best answer, it should look like this:
http://img40.imageshack.us/img40/5831/bestanswer.png
Do you not see that on your posts?
If not, it may be a issue with you being on windows and I'll have to research.Posted: 9 months ago # -
Hi CK,
Thanks for the help. I will look into it.
I am on vacation and not able to see your replies.Thank you once again.
-Vikram.Posted: 9 months ago # -
Hi CK,
Its working well. Thank you for the support.
Cheers,
-Vik.Posted: 9 months ago # -
In version 1.0 RC3 looks like this:
Posted: 8 months ago # -
Is there a way to restrict this to only work in certain forums? I've use the Support Forum plugin to mark only one of my forums as support, and it would be perfect if Best Answer also only worked in this forum. Is this any easy fix?
Posted: 8 months ago # -
clarklab, it's possible but the way the plugin is currently designed it's a little messy
you can try doing this
function best_answer() { global $best_answer, $topic, $bb_current_user, $bb_post; if ($topic->forum_id!=7) {return;}Where 7 is the forum number you only want it working on.
Unfortunately the plugin will still do stuff behind the scenes for the other forums but it won't be visible.
Posted: 8 months ago # -
That works for me! Thanks for the fix. Also, would there be any easy way to check how many times each user has won best answer?
Posted: 8 months ago # -
Nothing like that is tracked currently. Since best answer is stored in topic meta, it would be a very complex query to try to determine that unfortunately. The plugin would have to be extended.
Posted: 8 months ago # -
will there be any issue if I use this plugin with bbpress 1.0.1 ?
Posted: 8 months ago # -
@sdv1 -- try it and let us know here ;)
Posted: 8 months ago # -
I'm using it with 1.0.1 and its working great.
Posted: 8 months ago # -
@Driftless1: looks like it works fine with 1.0.1, you can see plugin in action here
http://forums.officelivepages.net/But in Firefox 3.5 "*Best Answer?" text moves into the user post area (only last 2-3 chars including ? mark). in IE 8 it looks fine.
Posted: 8 months ago # -
This looks like it could be a very intriguing plugin for getting rules questions answered for the board games I publish. It could help me by allowing the community to answer rules questions, and allow the best answers to be displayed at the top.
A couple of questions:
#1 - Can admins/moderators change the best answers? For example, if somebody posts an incorrect rules clarification, I would want to be able to make sure that it is not chosen as best answer.
#2 - Will the plugin cause any significant drag on the forums?
Thanks,
Posted: 7 months ago # -
Hey Michael -
#1 - Yah, admins can change the best answers.
#2 - I'm using the plugin on my forums, and it seems very fast! I haven't profiled it yet, but it's looking good. :-)
Posted: 7 months ago #
Add a Comment »
You must log in to post.