DesignWall
Forum Replies Created
-
Forum: Plugins
In reply to: [DW Question & Answer] Don’t want Ask Question Tab BelowHi,
You can add the code below to
wp-content/themes/your-theme-folder/style.css.dwqa-questions-footer .dwqa-ask-question { display: none !important; }Forum: Plugins
In reply to: [DW Question & Answer] change staff textHi,
You can add the code below to
wp-content/themes/your-theme-folder/functions.phpadd_filter( 'dwqa_get_user_badge', 'dwqa_theme_replace_staff_text' ); function dwqa_theme_replace_staff_text( $badges ) { $badges['staff'] = 'IT Manager'; return $badges; }- This reply was modified 9 years, 8 months ago by DesignWall.
Forum: Plugins
In reply to: [DW Question & Answer] wrong time even though the timezone is correctly setHi M Usman,
You change the code below to all of files
content-single-question.php,content-single-answer.php,content-question.php,content-comment.phpatwp-content/plugins/dw-question-answer/templates/from
human_time_diff( get_comment_time( 'U', true ) )to
human_time_diff( get_comment_time( 'U' ), current_time( 'timestamp' ) )Forum: Plugins
In reply to: [DW Question & Answer] Polylang and Question TagsHi theyuv,
At present, the DW Q&A Plugin is not supported Polylang. I will check and fix it in the next version of DW Q&A.
Forum: Plugins
In reply to: [DW Question & Answer] No Answer Option On Question PageHi Mamonth,
Please go to Dashboard > Questions > Settings > Permission, then you can grant permission to user can post the answer.
To add “Login to answer”, please add the code below to `wp-content/plugins/dw-question-answer/templates/answers.php
<?php wp_login_form(); ?>Forum: Plugins
In reply to: [DW Question & Answer] Spam Mail HTTP ERROR 500Hi,
Please replace the code in
wp-content/plugins/dw-question-answer/inc/Notifications.phpat line 442From
public function get_from_address() { $from_email = get_option( 'dwqa_subscrible_from_address' ); if ( !$from_email ) { $from_email = get_bloginfo( 'admin_email' ); } return sanitize_email( $from_email ); }to
public function get_from_address() { $from_email = get_option( 'dwqa_subscrible_from_address' ); if ( !$from_email || empty( $from_email ) ) { $from_email = get_bloginfo( 'admin_email' ); } if ( !$from_email || empty( $from_email ) ) { $from_email = 'noreply@' . str_replace( 'www.', '', $_SERVER['HTTP_HOST'] ); } return sanitize_email( $from_email ); }Forum: Plugins
In reply to: [DW Question & Answer] How to answer via Facebook commentHi Aboobacker Amani,
Sorry for my mistake.
You can go to your theme folder and create a new folder, named it
dwqa-templatesInside your new folder, create a new file:
answers.php
Then try with the code below
https://gist.github.com/oryc9x/e5e3a42f82641a39e2f9925083e6e956Forum: Plugins
In reply to: [DW Question & Answer] Migration of Question and answer forumHi Michel,
Please try to use this plugin
https://www.dropbox.com/s/5m80psuqa9esb59/dwqa-convert-tool.zipPlease notice me if it works fine.
Forum: Plugins
In reply to: [DW Question & Answer] How to answer via Facebook commentHi,
You can install this plugin: https://wordpress.org/plugins/wordpress-social-login/
If it doesn’t work, you can add it by installing the plugin, then open file: templates/question-submit-form.php, line 76
add this line below:
<?php do_action( ‘wordpress_social_login’ ); ?>
Forum: Plugins
In reply to: [DW Question & Answer] Contributor: Cannot see/publish pending questionsHi physalis,
Thanks for writing in.
Present, the DW Q&A plugins can public the question in the backend. This feature will add in the next version of DW Q&A.
Warm Regards,
Kevin.Forum: Plugins
In reply to: [DW Question & Answer] Spam Mail HTTP ERROR 500Hi meravjon,
1. All emails are sent to spam box maybe it came from your server or from your email address was reported as spam. Please try to use wpMandrill to send the email.
2. Please try to enable debug by replacing the code at
wp-config.phpformdefine( 'WP_DEBUG', false )
to
define( 'WP_DEBUG', true )
then reply the question again and you can get the error message. Paste this error message here and I will help you solve this problem.
Warm Regards,
Kevin.Forum: Plugins
In reply to: [DW Question & Answer] No notification emails when questions are answeredHi Dumples,
I have my demo site and it still working fine.
Please make sure that your server can send the email.
If your server can send the email, so you can go to Dashboard > Questions > Emails > New Answer Notification and check you have to enable notification for the new answer.
Let me know if you still face this issue.
Warm Regards,
Kevin.Forum: Plugins
In reply to: [DW Question & Answer] Enable guest participation (no login)Hi airforceadvice,
Thanks for writing in.
You can go to Dashboard > Questions > Permissions. Then you can grant permission for guest can post question and answer.
Let me know if there is anything else I can help you with.
Warm Regards,
Kevin.Forum: Plugins
In reply to: [DW Question & Answer] Correct singular or plural for number of answersHi KTS915,
We are deeply sorry for the problems you have been encountered. I will add the suggested code in the next version of DW Q&A.
Let me know if there is anything else I can help you with.
Forum: Plugins
In reply to: [DW Question & Answer] No notification emails when questions are answeredHi Dumples,
Thanks for writing in.
Please reach us at [moderator note: please do not ask for off-forum contact] and I will help you solve this issue.