e-mail notification on file upload to every user with

Phoca Download - download manager
gantichi
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 27 Feb 2014, 16:14

e-mail notification on file upload to every user with

Post by gantichi »

Hi,
I see we can notify a user or a static group of users, but I don't see if it is possible to send an e-mail, when a user upload a file, to all users with access right to this file. Is it possible? Tnx in advance
Gianfranco
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47870
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: e-mail notification on file upload to every user with

Post by Jan »

Hi, no, there is no such option, so this needs to be customized.

Jan
If you find Phoca extensions useful, please support the project
charoa
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 02 Nov 2010, 22:24

Re: e-mail notification on file upload to every user with

Post by charoa »

i am confused, i can't find the feature to send notifications to a group of users. this is exactly what i am looking for but i only see the option to notify a single user. i don't seem to be able to select a group instead of a user here either...what feature have i overlooked? or is this a hack and if so, can you direct me to the modification?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47870
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: e-mail notification on file upload to every user with

Post by Jan »

Hi, such feature needs to be customized directly in the code.

Jan
If you find Phoca extensions useful, please support the project
GerhardVG
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 08 Apr 2014, 12:04

Re: e-mail notification on file upload to every user with

Post by GerhardVG »

Have anybody posted the customization?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47870
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: e-mail notification on file upload to every user with

Post by Jan »

Hi, I think not :-(
If you find Phoca extensions useful, please support the project
f16jack
Phoca Member
Phoca Member
Posts: 15
Joined: 28 Mar 2014, 20:00

Re: e-mail notification on file upload to every user with

Post by f16jack »

Hi Jan
this is a feature I would like also. Any time I upload a new pdf document I would like the program to either send notification to all registered users or to send notification with the document attached to all registered users.
Which subfile would I modify so as to send to all users versus just to one user?
thanks
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47870
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: e-mail notification on file upload to every user with

Post by Jan »

Hi,

first you need to change the parameter (XML, database, ...). But then you need to change the email function too.

- so form XML for product needs to be changed
- database for product table
- controller, model of product edit
- then in libraries the email function

It is hard to list all the files which need to be modified here, because I didn't do such customization yet :-(

Jan
If you find Phoca extensions useful, please support the project
Post Reply