Login or Register

RSS IconRecent posts in this topic

avatar
gegoodwin on May 17. 2008. 7:43 am
Hello,

Is there a way to have a notification email sent to the poster of a file, milestone, etc. if they select themselves in the 'Notify People' section?

thanks,
Greg
avatar Staff
Ilija Studen on May 17. 2008. 8:18 am
If poster select itself in Notify People list he or she will be added to subscriptions list, but email will not be sent. This user will receive email notifications when new version of a file or comment is posted in the future because he or she is in the list of subscribers.

This information applies to activeCollab 1.0 or later, not for 0.7.1...
activeCollab team member | LinkedIn
avatar
gegoodwin on May 17. 2008. 8:21 am
Ilija,

Thanks for the reply. The client I am working with has requested the functionality for the poster to receive the email notification when they post a file. We are running v1.0.6. Is there a section of code I can focus on to enable this functionality?

Thanks,
Greg
avatar Staff
Ilija Studen on May 17. 2008. 8:42 am
Code can be hacked, but I should warn you:

1. Change you make may not apply only to files, but to other objects too - tickets, discussions etc.

2. You will need to make the changes every time you upgrade the code.

Before I dig into the code and point you to sections where this behavior is implemented please make sure with your client that this really is essential to them...

PS: If this is a new setup you should check out activeCollab 1.1 (currently release candidate) and start with that.
activeCollab team member | LinkedIn
avatar
gegoodwin on May 17. 2008. 8:49 am
The client has requested this functionality work across the board, not just with the files. I've verified with the client a few times that this is what they really want, and they are positive they want this feature.

We just upgraded from 0.7.1 so we will wait until 1.1 release is final.
avatar Staff
Ilija Studen on May 17. 2008. 9:10 am
Ok, great :) We changed mailing a bit in activeCollab 1.1 so I suggest that you make this modification after you upgrade (you may consider RC as stable - we'll fix one more bug and that's it - no more changes).

Using your editor find all calls to sendToSubscribers function. Final parameter to function call is user (or users) who should be excluded from list of recipients. For example:

$object->sendToSubscribers('discussions/new_discussion', array(
  'created_by_name' => $created_by->getDisplayName(),
  'created_by_url' => $created_by->getViewUrl(),
  'last_comment_body' => $last_comment->getFormattedBody(),
), $object->getCreatedById());


Last parameter ($object->getCreatedById()) says to system to exclude person who created the discussion from recipients list. By removing this parameter email will be sent to that person also:

$object->sendToSubscribers('discussions/new_discussion', array(
  'created_by_name' => $created_by->getDisplayName(),
  'created_by_url' => $created_by->getViewUrl(),
  'last_comment_body' => $last_comment->getFormattedBody(),
));


Please let me know how this worked out.
activeCollab team member | LinkedIn

RSS IconRecent posts in this topic