Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
678 views
in Plugins by
Is possible to have the way to be not possible that anyone answer or comment or vote or flag to a question when this is closed by the admin or the creator?

Only a simple request to be reopened because someone think that is closed not correctly and has something to say for example or because someone has closed his question to not receive flag or downvotes.
by
moved by
Up. there's someone that can help me?

I think that is not correct  that a closed feedback can be voted and commented
by
It doesn't exactly solve your problem but you can try hiding the question.
by
yes i know but if i hide no one will rwad the solutions and answers of the users so it is mot a solution

1 Answer

+4 votes
by
selected by
 
Best answer

In qa_page_q_post_rules(...) in qa-page-question-view.php, add the following to the conditions for $rules['commentbutton']=...

&& (!$rules['closed'])

That will prevent commenting on closed questions. Preventing voting is harder but can be done in qa_post_html_fields(...) in qa-app-format.php

by
ever tne best answer and solution.
THANK YOU
...