Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author DesignWall

    (@designwall)

    You can open the /wp-content/plugins/dw-question-answer/inc/Handle.php file in line from 81 to 83 :

    $answers[‘post_status’] = isset( $_POST[‘save-draft’] ) ? ‘draft’ : ( isset( $_POST[‘dwqa-status’] ) && $_POST[‘dwqa-status’] ? $_POST[‘dwqa-status’] : ‘publish’ );

    and replace with following code:

    $answers[‘post_status’] = ‘pending’;

    Regards,
    Kevin from DesignWall.

    jordanmtchs

    (@jordanmtchs)

    I tried using this and it didn’t seem to help. Questions currently have to be approved my moderators before showing up on the forum, but the answers to those questions can be submitted by people without any moderator needing to accept it.

    After I used this code it stopped users from being able to comment at all. After posting something the page would just refresh and the user wouldn’t be told anything. The comment that was made was not able to be found anywhere in the backend, not even asking for approval.

    Let me know if there is anything I can do to fix this. Thanks!

    Plugin Author DesignWall

    (@designwall)

    I will check and fix this issue in an upcoming version of DW Question & Answer.

    Regards,
    Kevin from DesignWall.

    Hi,

    Thank you. It works.

    How to show a message on sending a answer to verification?

    Plugin Author DesignWall

    (@designwall)

    you can add the following code under line 44

    if ( $answers['post_status'] = 'pending') {
    			dwqa_add_notice( __( 'Your answer is waiting moderator.', 'dwqa' ), 'error' );
    		}

    Hope this helps!
    Dominic from DesignWall team.

    Plugin Author DesignWall

    (@designwall)

    Hi guys,

    How’s everything? Does DW Question & Answer look good on your sites?
    If you encounter any problem, please do not hesitate to get back to us. We’re here to help you.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Answer verify by administrator’ is closed to new replies.