Forum Replies Created

Viewing 15 replies - 346 through 360 (of 1,025 total)
  • Plugin Author DesignWall

    (@designwall)

    Hi, Thanks for contacting DesignWall,

    Please open the file wp-content/plugins/dwqa-question-answer/inc/Handle.php

    And add the following code under the line 297:

    if(0>= strlen(trim(strip_tags(trim($_POST[“submitted q”]))))){
    dwqa_add_notice( __( ‘Your notification’, ‘dwqa’ ), ‘error’ );
    return false;
    }

    If you need further assistances, please feel free to reach out.

    Plugin Author DesignWall

    (@designwall)

    Hi, thanks for contacting DesignWall.

    Would you mind providing me more detailed information, some screenshots and site URL about the error for us to check?

    Plugin Author DesignWall

    (@designwall)

    Hi,
    Thanks for your response.

    You can go to wp-content/plugins/dw-question-answer/inc/Handle.php and add this code in the line 92nd:

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

    and this in line 230th

    $args[‘comment_approved’] = 0;

    • This reply was modified 9 years, 6 months ago by DesignWall.
    Plugin Author DesignWall

    (@designwall)

    Hi,
    Thanks for contacting DesignWall.
    Please add the function below into wp-content/themes/theme-folder/functions.php

    add_filter( ‘dwqa_insert_comment_args’, ‘dwqa_theme_moderate_comment’ );
    function dwqa_theme_moderate_comment( $args ) {
    $args[‘comment_approved’] = 0;

    return $args;
    }

    add_filter( ‘dwqa_insert_answer_args’, ‘dwqa_theme_moderate_answer’ );
    function dwqa_theme_moderate_answer( $args ) {
    $args[‘post_status’] = ‘pending’;

    return $args;
    }

    If you have more questions, please feel free to reach out.

    Plugin Author DesignWall

    (@designwall)

    Hi,
    Thank you for contacting DesignWall.

    About this matter, you need to add this function into wp-conten/themes/theme-folder/functions.php

    remove_action( ‘the_content’, ‘make_clickable’ );

    If you have more questions, please feel free to reach out.

    Plugin Author DesignWall

    (@designwall)

    Hi,
    Thanks for contacting DesignWall and sorry for my late reply.

    Would you mind providing some screenshots related to your matter “Answer content is empty”?

    Plugin Author DesignWall

    (@designwall)

    Hi,
    Thanks for your contribution to this plugin. It helps us a lot.
    We’ll consider and update in the next version.
    Warm Regards,
    DesignWall team.

    Plugin Author DesignWall

    (@designwall)

    Hi,
    Thank you for contacting DesignWall and sorry for my late reply.

    You can disable comments instead of disabling answers.

    You can go to Dashboard > Questions > Settings > Permissions
    then unselect Comment’s Permissions

    We’re willing to answer to your any more questions.

    Plugin Author DesignWall

    (@designwall)

    Hi,
    Thanks for contacting DesignWall.

    About this matter, you need to add the function below into wp-conten/themes/theme-folder/functions.php

    add_filter( ‘dwqa_question_button_action’, ‘dwqa_theme_question_button_action’ );
    function dwqa_theme_question_button_action() {
    $html = ”;
    if ( is_user_logged_in() ) {
    $followed = dwqa_is_followed() ? ‘followed’ : ‘follow’;
    $text = __( ‘Subscribe’, ‘dwqa’ );
    $html .= ‘<label for=”dwqa-favorites”>’;
    $html .= ‘<input type=”checkbox” id=”dwqa-favorites” data-post=”‘. get_the_ID() .'” data-nonce=”‘. wp_create_nonce( ‘_dwqa_follow_question’ ) .'” value=”‘. $followed .'” ‘. checked( $followed, ‘followed’, false ) .’/>’;
    $html .= ‘<span>’ . $text . ‘</span>’;
    $html .= ‘</label>’;
    if ( dwqa_current_user_can( ‘edit_question’, get_the_ID() ) || dwqa_current_user_can( ‘manage_question’ ) ) {
    $html .= ‘ get_the_ID() ), get_permalink() ) .'”>’ . __( ‘Edit’, ‘dwqa’ ) . ‘ ‘;
    }

    if ( dwqa_current_user_can( ‘delete_question’, get_the_ID() ) || dwqa_current_user_can( ‘manage_question’ ) ) {
    $action_url = add_query_arg( array( ‘action’ => ‘dwqa_delete_question’, ‘question_id’ => get_the_ID() ), admin_url( ‘admin-ajax.php’ ) );
    $html .= ‘‘ . __( ‘Delete’, ‘dwqa’ ) . ‘ ‘;
    }
    }

    return $html;
    }

    add_filter( ‘dwqa_answer_button_action’, ‘dwqa_theme_answer_button_action’ );
    function dwqa_theme_answer_button_action() {
    $html = ”;
    if ( is_user_logged_in() ) {
    if ( dwqa_current_user_can( ‘edit_answer’, get_the_ID() ) || dwqa_current_user_can( ‘manage_answer’ ) ) {
    $parent_id = dwqa_get_question_from_answer_id();
    $html .= ‘ get_the_ID() ), get_permalink( $parent_id ) ) .'”>’ . __( ‘Edit’, ‘dwqa’ ) . ‘ ‘;
    }

    if ( dwqa_current_user_can( ‘delete_answer’, get_the_ID() ) || dwqa_current_user_can( ‘manage_answer’ ) ) {
    $action_url = add_query_arg( array( ‘action’ => ‘dwqa_delete_answer’, ‘answer_id’ => get_the_ID() ), admin_url( ‘admin-ajax.php’ ) );
    $html .= ‘‘ . __( ‘Delete’, ‘dwqa’ ) . ‘ ‘;
    }
    }

    return $html;
    }

    If you have more questions, feel free to ask.

    Plugin Author DesignWall

    (@designwall)

    Hi,
    Thanks for contacting DesignWall and sorry for our late reply.
    About this matter, you have to turn on Notifications in Dashboard > Questions > Notifications
    We are always willing to help if you have any more questions.

    Plugin Author DesignWall

    (@designwall)

    Hi,
    Thank you for contacting us and sorry for our late reply.
    To solve this problem, you should follow these two steps.
    – 1st:
    copy file question-submit-form.php
    from wp-content/plugins/dw-question-answer/template/ to folder wp-content/themes/theme-folder/dwqa-templates/
    Then delete email field in that file
    – 2nd:
    go to the file wp-content/plugins/dw-question-answer/inc/Handle.php
    and remove those code lines from 299 to 302 that is the same as follow:

    if ( empty( $_POST[‘_dwqa_anonymous_email’] ) || !is_email( sanitize_email( $_POST[‘_dwqa_anonymous_email’] ) ) ) {
    dwqa_add_notice( __( ‘Missing email information’, ‘dwqa’ ), ‘error’ );
    return false;
    }

    Feel free to ask if you have any more questions.

    Plugin Author DesignWall

    (@designwall)

    Hi,
    Thank you for contacting DesignWall and sorry for our late reply,

    Can you provide us more clear details about the matter or some screenshots related?

    Plugin Author DesignWall

    (@designwall)

    Hi,
    Thanks for contacting us and sorry for our late reply.
    To solve this matter, please add the following style into the file wp-content/themes/theme-folder/style.css

    .dwqa-question-meta img,
    .dwqa-answer.meta img {
    display:none !important;
    }

    If you need further assistance, feel free to reach out.

    Plugin Author DesignWall

    (@designwall)

    Hi,
    Thanks for contacting DesignWall and sorry for our late reply.
    About your matter, please try to add the following function into the file wp-content/themes/theme-folder/functions.php

    add_action( ‘init’, ‘dwqa_theme_replace_all_question_name’, 999 );
    function dwqa_theme_replace_all_question_name() {
    global $wp_taxonomies, $wp_post_types;

    $wp_taxonomies[‘dwqa-question_category’]->labels->name = ‘Forums’;
    $wp_taxonomies[‘dwqa-question_category’]->labels->singular_name = ‘Forums’;
    $wp_taxonomies[‘dwqa-question_category’]->labels->search_items = ‘Search Forums’;
    $wp_taxonomies[‘dwqa-question_category’]->labels->all_items = ‘All Forums’;
    $wp_taxonomies[‘dwqa-question_category’]->labels->parent_item = ‘Parent Forum’;
    $wp_taxonomies[‘dwqa-question_category’]->labels->parent_item_colon = ‘Parent Forum:’;
    $wp_taxonomies[‘dwqa-question_category’]->labels->edit_item = ‘Edit Forum’;
    $wp_taxonomies[‘dwqa-question_category’]->labels->view_item = ‘View Forum’;
    $wp_taxonomies[‘dwqa-question_category’]->labels->update_item = ‘Update Forum’;
    $wp_taxonomies[‘dwqa-question_category’]->labels->add_new_item = ‘Add New Forum’;
    $wp_taxonomies[‘dwqa-question_category’]->labels->not_found = ‘No forums found’;
    $wp_taxonomies[‘dwqa-question_category’]->labels->no_terms = ‘No forums’;
    $wp_taxonomies[‘dwqa-question_category’]->labels->items_list_navigation = ‘Forums list navigation’;
    $wp_taxonomies[‘dwqa-question_category’]->labels->items_list = ‘Forums list’;
    $wp_taxonomies[‘dwqa-question_category’]->labels->menu_name = ‘Forums’;
    $wp_taxonomies[‘dwqa-question_category’]->labels->name_admin_bar = ‘Forum’;
    $wp_taxonomies[‘dwqa-question_category’]->labels->archives = ‘All Forums’;

    $wp_taxonomies[‘dwqa-question_tag’]->labels->name = ‘Tags’;
    $wp_taxonomies[‘dwqa-question_tag’]->labels->singular_name = ‘Tags’;
    $wp_taxonomies[‘dwqa-question_tag’]->labels->search_items = ‘Search Tags’;
    $wp_taxonomies[‘dwqa-question_tag’]->labels->all_items = ‘All Tags’;
    $wp_taxonomies[‘dwqa-question_tag’]->labels->parent_item = ‘Parent Tag’;
    $wp_taxonomies[‘dwqa-question_tag’]->labels->parent_item_colon = ‘Parent Tag:’;
    $wp_taxonomies[‘dwqa-question_tag’]->labels->edit_item = ‘Edit Tag’;
    $wp_taxonomies[‘dwqa-question_tag’]->labels->view_item = ‘View Tag’;
    $wp_taxonomies[‘dwqa-question_tag’]->labels->update_item = ‘Update Tag’;
    $wp_taxonomies[‘dwqa-question_tag’]->labels->add_new_item = ‘Add New Tag’;
    $wp_taxonomies[‘dwqa-question_tag’]->labels->not_found = ‘No Tags found’;
    $wp_taxonomies[‘dwqa-question_tag’]->labels->no_terms = ‘No Tags’;
    $wp_taxonomies[‘dwqa-question_tag’]->labels->items_list_navigation = ‘Tags list navigation’;
    $wp_taxonomies[‘dwqa-question_tag’]->labels->items_list = ‘Tags list’;
    $wp_taxonomies[‘dwqa-question_tag’]->labels->menu_name = ‘Tags’;
    $wp_taxonomies[‘dwqa-question_tag’]->labels->name_admin_bar = ‘Tag’;
    $wp_taxonomies[‘dwqa-question_tag’]->labels->archives = ‘All Tags’;

    $wp_post_types[‘dwqa-question’]->label = ‘Topics’;
    $wp_post_types[‘dwqa-question’]->labels->name = ‘Topics’;
    $wp_post_types[‘dwqa-question’]->labels->singular_name = ‘Topic’;
    $wp_post_types[‘dwqa-question’]->labels->add_new = ‘Add New Topic’;
    $wp_post_types[‘dwqa-question’]->labels->add_new_item = ‘Add New Topic’;
    $wp_post_types[‘dwqa-question’]->labels->edit_item = ‘Edit Topic’;
    $wp_post_types[‘dwqa-question’]->labels->new_item = ‘New Topic’;
    $wp_post_types[‘dwqa-question’]->labels->view_item = ‘View Topic’;
    $wp_post_types[‘dwqa-question’]->labels->search_item = ‘Search Topics’;
    $wp_post_types[‘dwqa-question’]->labels->not_found = ‘Topics not found’;
    $wp_post_types[‘dwqa-question’]->labels->not_found_in_trash = ‘Topics not found in trash’;
    $wp_post_types[‘dwqa-question’]->labels->parent_item_colon = ‘Parent: Topic’;
    $wp_post_types[‘dwqa-question’]->labels->all_items = ‘Topics’;
    $wp_post_types[‘dwqa-question’]->labels->archives = ‘Forum’;
    $wp_post_types[‘dwqa-question’]->labels->menu_name = ‘Forum’;
    $wp_post_types[‘dwqa-question’]->labels->name_admin_bar = ‘Forum’;

    $wp_post_types[‘dwqa-answer’]->label = ‘Replies’;
    $wp_post_types[‘dwqa-answer’]->labels->name = ‘Replies’;
    $wp_post_types[‘dwqa-answer’]->labels->singular_name = ‘Reply’;
    $wp_post_types[‘dwqa-answer’]->labels->add_new = ‘Add New Reply’;
    $wp_post_types[‘dwqa-answer’]->labels->add_new_item = ‘Add New Reply’;
    $wp_post_types[‘dwqa-answer’]->labels->edit_item = ‘Edit Reply’;
    $wp_post_types[‘dwqa-answer’]->labels->new_item = ‘New Reply’;
    $wp_post_types[‘dwqa-answer’]->labels->view_item = ‘View Reply’;
    $wp_post_types[‘dwqa-answer’]->labels->search_item = ‘Search Replies’;
    $wp_post_types[‘dwqa-answer’]->labels->not_found = ‘Replies not found’;
    $wp_post_types[‘dwqa-answer’]->labels->not_found_in_trash = ‘Replies not found in trash’;
    $wp_post_types[‘dwqa-answer’]->labels->parent_item_colon = ‘Parent: Reply’;
    $wp_post_types[‘dwqa-answer’]->labels->all_items = ‘Replies’;
    $wp_post_types[‘dwqa-answer’]->labels->archives = ‘Reply’;
    $wp_post_types[‘dwqa-answer’]->labels->menu_name = ‘Reply’;
    $wp_post_types[‘dwqa-answer’]->labels->name_admin_bar = ‘Reply’;
    }

    Plugin Author DesignWall

    (@designwall)

    Hi,
    Thanks for contacting DesignWall and sorry for my late reply.
    First, you need to translate into Russian by using Proedit at the link https://poedit.net/.
    Then copy 2 files .po và .mo into the folder wp-content/plugins/dw-question-answer/languages/.
    If you have any more questions, feel free to reach out.

Viewing 15 replies - 346 through 360 (of 1,025 total)