Adele
asked 7 years ago

We are no longer receiving any email notifications when someone asks a question. 

5 Answers
DominicStaff
answered 7 years ago

Please send me username & password of your site for further checking.

DominicStaff
answered 7 years ago

Please send me your FTP, We will help you fix the issue now.

DominicStaff
answered 7 years ago

Please send me your FTP, We will help you fix the issue now.

Adele
answered 7 years ago

Hello again, I have now resolved the issue about email notifications not being sent. However we still have the other problem with changing the author.

DominicStaff
answered 7 years ago

To resolve the author issue on your site, you can open content-single-answer.php file in the plugins/dw-question-answer-pro/templates folder and find the line 15 then replace with the following code:

<?php printf( __( '<span><a href="%1$s">%2$s%3$s</a> %4$s answered %5$s ago</span>', 'dwqa' ), dwqa_get_author_link( $user_id ), get_avatar( $user_id, 48 ), get_the_author(), dwqa_print_user_badge( $user_id ), human_time_diff( get_post_time( 'U', true ) ) ) ?>

 

Adele
answered 7 years ago

I have added this code but still have the problem. The author does display correctly on the single answer page, it’s on the main question page with the list of questions – [username] answered xx minutes ago – the username doesn’t change to the new author ( I think it’s the content-question.php file? )

Dominic Staff
replied 7 years ago

It’s content-question.php file. My mistake, please try in the content-question.php file and let me know if you still face their issue.

Adele
replied 7 years ago

Thanks, that is ok as a fix (I just changed “answered” to “asked” in the code).

Dominic Staff
replied 7 years ago

Yes, if you have any issue or question, you can create new question and I will check and help you resolve it as soon as possible.

Powered by DW Question & Answer Pro