Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
594 views
in Q2A Core by
hi

I want to ask this question frequently.

I appreciate if anyone find a way that selecting the best answer limited only to admins

thanks and looking forward  a suitable answer to this strange problem :)

bye
by
Am also looking for the same..

1 Answer

+1 vote
by

If figured this hack, not sure if effects other places...

in question-view.php page, delete $rules['isbyuser'] ? null : from line 143.

i,e

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

to

$rules['aselectable']=($post['type']=='Q') && !qa_user_permit_error('permit_select_a', null, $userlevel);

...