This object is in archive! 

Email notifications for administrators

Archived Corinne H. 12 years ago

I'm hoping that my UR community administrators will receive an email every time there is new activity in our community. I didn't see anything in my community's settings about this. Is this possible?


Thanks for your help!

Best Answer
photo

Yes, all your administrators and off. representatives will receive notifications once Response is added by default, except the author of response.

No settings are required for this. It works by default

Replies (12)

photo
1

Yes, all your administrators and off. representatives will receive notifications once Response is added by default, except the author of response.

No settings are required for this. It works by default

photo
2

Thank you for the super quick response, Stas!


Something must be off then because that hasn't been the behavior I'm seeing. I'm finding that authors receive email notifications for comments on their responses, but admins do not get email notifications for new responses.


Can you point me in the right direction for debugging this issue? Thank you!

photo
1

We'll take a look during next hour

photo
2

Awesome, thank you Stas!

photo
2

We were unable to reproduce this problem, notifications are working as expected.

photo
2

Code, that is responsible for notifications on new responses could be found at:

/application/modules/system/handlers/Events.php - onResponseAdded method

photo
2

Corinne Hoener wrote:

Awesome, thank you Stas!
If you'll have further problems, and didn't customize the code, you can send us request at support(at)useresponse.com with FTP info and we'll take a look at the problem

photo
2

Paul Yakubets wrote:

Code, that is responsible for notifications on new responses could be found at:

/application/modules/system/handlers/Events.php - onResponseAdded method

Thanks Paul! I had a look in that file and did not find the onResponseAdded method. I haven't modified this file at all. I grepped through all of application/ and found a onResponseAdded method in the following file, but that's all.


application/modules/moderation/handlers/Events.php


Is it the case that moderation needs to be enabled for admins to get notified? I'm guessing no... So I'm not sure what to do now. I'm using the corporate version 1.1.

photo
2

Stas Kuzma wrote:

Corinne Hoener wrote:

Awesome, thank you Stas!
If you'll have further problems, and didn't customize the code, you can send us request at support(at)useresponse.com with FTP info and we'll take a look at the problem
Thanks Stas. Unfortunately, our dev server is behind a firewall that only allows access from certain IPs, so giving you guys access isn't an option for us. It would be nice though. :)

photo
2

Corinne Hoener wrote:

Paul Yakubets wrote:

Code, that is responsible for notifications on new responses could be found at:

/application/modules/system/handlers/Events.php - onResponseAdded method

Thanks Paul! I had a look in that file and did not find the onResponseAdded method. I haven't modified this file at all. I grepped through all of application/ and found a onResponseAdded method in the following file, but that's all.


application/modules/moderation/handlers/Events.php


Is it the case that moderation needs to be enabled for admins to get notified? I'm guessing no... So I'm not sure what to do now. I'm using the corporate version 1.1.

It's enabled by default, for admins (as users who have privilege: can_access_admin).

photo
1

Would it be possible to add our ISP IP ranges to your firewall rules, to allow us access your dev sever. That way we would be able to diagnose this problem quickly.

photo
1

Corinne,

I think you need to:

  1. Turn on our subnet - 178.x.x.x for some period of time for us to access it to help you quickly;
  2. Try to change notification method from Native to SMTP in Admin->Mailing and see if it works.
  3. Take a look at line 147-150 in application\modules\system\controllers/ResponseController.php It should definitely be with can_admin_access and representative and try to var_dump there or show in console the results;

Replies have been locked on this page!