It would be great for me if anonymous user can select the best answer if the author doesn't select it yet

CommentFileSizeAuthor
#5 question_answer-880274-votingapi.patch6.99 KBjcisio

Comments

jcisio’s picture

When starting this module, I was thinking of adding a field "expiry" in each question. After this period, the best answer (using the VotingAPI, for example http://drupal.org/project/vote_up_down) is selected.

That said, I don't know when I'll implement this. A patch is welcome.

Oscar Illada’s picture

thanks i will wait for this patch because i dont have the necessary knowledge to do.
Thanks a lot

jcisio’s picture

Title: How to let Anonymous users to select the best answer? » How to let users to select the best answer?
Version: 6.x-1.4 » 6.x-1.x-dev

Correct the title. I think (well, I think) I'll implement it this weekend.

chalee’s picture

I'll be waiting for this feature too.

jcisio’s picture

Status: Active » Needs review
StatusFileSize
new6.99 KB

Use this patch against the latest CVS. I need to get it reviewed before commit.

jcisio’s picture

Try this one instead (rerolled again the latest CVS change).

How to use?
- Apply the patch
- Go to the Q/A content type, create a new field "duration"
-- Type: Integer
-- Widget: Select list
-- In the configure page, enter prefined time in second, for example (unlimited, 1 day, 7 days and 30 days):

0
86400
604800
2592000

- Go to the Q/A setting page, select this field.
- Install VotingAPI module and another module, for example, vote_up_down (don't forget to enable "vud on comments").
- Go to permissions page, allow anonymous to vote on comments.

jcisio’s picture

Version: 6.x-1.x-dev »
Status: Needs review » Active

I've committed in the 6.x branch http://drupal.org/cvs?commit=442930, need port to 7.x.

jcisio’s picture

Status: Active » Fixed

Committed to the 7.x branch. Currently I don't know any voting modules available for D7. I hope that there will be more users giving feedback later.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.