How to disable my website users to answer a closed discussion?

6.17K viewsCore
1

Hi,
Is there anyway that you will help me to disable my website users to answer a closed question as follows using anspress?
http://snowykyoko.com/caselaw/legal-answers-2/question/186/howdy-titus-here/

Mr. Raul told me that he can add this disable function to 1.4.3 version, could you do so asap please?
My customer prefers to use 1.4.3 for his website instead.

0

Hello,

Could you help me disable my website users to answer at a closed discussion ASAP please?

I erased the all of the code of duplicated anspress/theme/default/answer-form.php in my new folder called anspress. Then I copied and pasted the code that you gave me in my new anspress folder. Besides my new folder, everything is as same as original.

Following is the code that you gave me and I copied and pasted.

<?php
$question_id =get_question_id() ;
$current_user = get_userdata( get_current_user_id() );
$validate = ap_validate_form();
if(!empty($validate['has_error'])){
echo '×Close’. __(‘Problem submitting form, please recheck form’, ‘ap’) .”;
}
?>

user_email, ap_opt(‘avatar_size_qquestion’) ); ?>

Get the latest commit, it solve the issue

You are viewing 1 out of 4 answers, click here to view all answers.