Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+4 votes
in Q2A Core by
Is there a way to prevent any user from hiding the question he just asked?

I need all questions to be viewable once asked, and only administrators can hide the question after it has been asked...

Thanks for help.

1 Answer

+1 vote
Best answer

Hi there and welcome. In qa-page-question.php, change this line:

$permiterror_hide_show=qa_user_permit_error($post['isbyuser'] ? null : 'permit_hide_show');

... to ...