Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
480 views
in Q2A Core by
Is it possible to disallow the users to select the best answer?

And the superadmin only has this permission?

please advise me

1 Answer

0 votes
by
 
Best answer
Change this line in qa_page_q_post_rules(...) in qa-page-question.php:

$post['aselectable']=($post['type']=='Q') && !qa_user_permit_error($qa_db, $post['isbyuser'] ? null : 'permit_select_a');

... to ...

$post['aselectable']=($post['type']=='Q') && !qa_user_permit_error($qa_db, 'permit_select_a');
by
Thanks a lot :)
...