0

Prevent email notification until approved?

I would like to prevent a email notification being sent to questioner UNTIL the answer has been approved, is this possible? at the moment I can approve answers to filter obscene content etc from appearing on the CA page, but it seems the email notification is sent anyway without being approved, which could be very undesirable if it contains obscene content etc.


Category: Member Questions

Like it on Facebook, Tweet it or share this question on other bookmarking websites.

56

What is the version of Community Answers you are using? Please upgrade to latest version.
Answered


7

I only just recently uploaded the latest version 1.7.1 version date 2011-08-27, and installed. We are currently testing it, and this was a problem that was brought up through testing.
Answered


57

You are correct. Answers moderation was added in the last version and this was missed to consider in it. You can quickly fix it by following the below procedure.

Find below code in components/com_communityanswers/controllers/answers.php at line 398
if($config[A_NOTIF_NEW_ANSWER] == '1'){

Change it to
if($config[A_NOTIF_NEW_ANSWER] == '1' && CAuthorization::authorise('answers.autoanswer')){

This will prevent notification before approving. However sending notification after approval require some more coding which I will do for next version.
Answered


3

So if I use this new code, it will prevent email being sent automatically, but the down side is, no email notification will be sent at all, once it is! approved, until this is introduced in new version. Correct!

So, what is the time frame for this new version with this feature, please.
Answered


8

As soon as possible.
Answered


Please register/login to answer this question.  Click here to login