Mauro Paravano
asked 3 years ago

Hi, I just bought the DW Q&A Category, Tag Notification extension. But I don’t know how to use it.
Can you help?

2 Answers
Kevin
answered 3 years ago

Hi Mauro Paravano,

Thank you for contacting DesignWall! My name is Kevin and I am happy to be of assistance in this matter.

You can go to Dashboard > Question > Question Category or Question Tags > Select a Category. In there, you can add email to receive notifications (one email per line).

Let me know if there is anything else I can help you with.

Warm Regards,
Kevin.

Mauro Paravano
replied 3 years ago

Hi Kevin, thank you for your answer 🙂 Now I got it.

Kevin
replied 3 years ago

Your welcome, my friend. Let me know if there is anything else I can help you with.

Mauro Paravano
replied 3 years ago

Actually yes, I’m trying to see if I can hide the “Public or Private” for the question when you are submitting one. And setup “Private” to be the default status.
Can I do that?

cheers

Kevin
replied 3 years ago

Hi Mauro Paravano,

Please provide me your username and password and I will help you solve it.

Warm Regards,
Kevin.

Mauro Paravano
replied 3 years ago

Hi Kevin,
same thing I said to Dominic, I can’t give that information due privacy.
Can we fix this some other way?

thanks again

Kevin
answered 3 years ago

Hi Mauro Paravano,

To setup private question as default. Please go to Dashboard > Questions > Settings and uncheck the option Allow members to post private question..

Then you open the file Handle.php at wp-content/plugins/dw-question-answer/inc/. After that, please replace the code below from

$postarr = array(
	'comment_status' => 'open',
	'post_author'    => $user_id,
	'post_content'   => $content,
	'post_status'    => $post_status,
	'post_title'     => $title,
	'post_type'      => 'dwqa-question',
	'tax_input'      => array(
	         'dwqa-question_category'    => array( $category ),
	         'dwqa-question_tag'         => explode( ',', $tags )
	)
);

to

$postarr = array(
	'comment_status' => 'open',
	'post_author'    => $user_id,
	'post_content'   => $content,
	'post_status'    => $post_status,
	'post_title'     => $title,
	'post_type'      => 'dwqa-question',
	'tax_input'      => array(
		'dwqa-question_category'    => array( $category ),
		'dwqa-question_tag'         => explode( ',', $tags )
	)
);
Mauro Paravano
replied 3 years ago

Hi Kevin,
Awesome!
But in my case, just doing: Dashboard > Questions > Settings and uncheck the option Allow members to post private question
Was enough because in my website, the dw q&a form is on a protected page (membership is required). So I don’t need to change the code in this case.

cheers!

Kevin
replied 3 years ago

Great to hear that. Let me know if there is anything else I can help you with.

Mauro Paravano
replied 3 years ago

Hi Kevin,
Can I do this same thing for answers? (private by default)
I guess that when a answer is private, is just visible for the author and the publisher of the question, right?
Other thing, I can’t see any difference between one code and the other one…. In any case, this is to make questions private by default, can I choose to make them public by default?

sorry for reopening this topic again!

Kevin
replied 3 years ago

Hi Mauro Paravano,

You can add the code below to wp-content/themes/your-theme-folder/style.css

.dwqa-answer-form .dwqa-select {
display: none;
}

Powered by DW Question & Answer Pro