-2

I am using answers, best answer and vote up/down module. But, i am not getting how can this be done? Any suggestion.....

  • If you want best answer and vote up/down to work together like that, you will either post a feature request in vote up/down issue queue, or write quite a bit of own code. – Mołot Sep 12 '13 at 7:53
  • I am new for Drupal. So, i don't have more idea about coding. Still doing – Surendra Prasad Sep 12 '13 at 10:23
  • Sorry, but we can't code for you. Or rather we could, but we are here to help fellow Drupallers, not to do for free what they are doing to earn their upkeep. – Mołot Sep 12 '13 at 10:28
1

You need to read vud.api.php from Vote Up/Down module, and create own module using it.

Implement function hook_vud_access($perm, $entity_type, $entity_id, $value, $tag, $account). Make it return NULL if best answer was not selected, and FALSE if it was.

Not the answer you're looking for? Browse other questions tagged or ask your own question.