Page 1 of 1
Is it possible to email an up-loader on receiving of a file
Posted: 11 Aug 2015, 21:32
by bigdave
This is my first post.
I'm using your product Phoca Download in my educational website and so far have found it to be a great solution.
My question is "Is it possible when an up-loader uploads their assessment file to the website to email that up-loader that he/her have been successful ?"
Re: Is it possible to email an up-loader on receiving of a f
Posted: 11 Aug 2015, 23:57
by christine
Hi,
welcome to the forum!
Could be this a little help?
https://www.phoca.cz/documents/17-phoca- ... e-joomla-3
Section: Uploads
regards, Christine
Re: Is it possible to email an up-loader on receiving of a f
Posted: 13 Aug 2015, 20:37
by bigdave
hi Christine,
Thanks for the heads up. I had look at the options page as you suggested but I noticed I am only able to select one user for the email notification for all uploads.
I am missing the point, is there an option for current session user?
Regards
Dave
Re: Is it possible to email an up-loader on receiving of a f
Posted: 14 Aug 2015, 00:01
by Jan
Hi, yes, mostly you select an administrator who will get email when someone uploads a file. To add more users there, this needs to be customized in the code
Jan
Re: Is it possible to email an up-loader on receiving of a f
Posted: 24 Aug 2015, 00:17
by bigdave
Thanks Jan,
I imagine that Phcoa has taken the 'MVC' approach in developing their down-loader module, can any one point me to the correct controller file/s, where I could possible try to develop some customised code as Jan has kindly suggested.
Dave
Re: Is it possible to email an up-loader on receiving of a f
Posted: 24 Aug 2015, 23:25
by Jan
Hi, I think, the easiest way is to hardcode the email addresses here:
administrator\components\com_phocadownload\libraries\phocadownload\mail\mail.php
Jan
Re: Is it possible to email an up-loader on receiving of a f
Posted: 25 Aug 2015, 03:06
by bigdave
Thanks Jan,
Sorry, I couldn't find that path (administrator\components\com_phocadownload\libraries\phocadownload\mail\mail.php) that you mention in your post, but I also forgot to mention I've installed Version 2.1.9 of Phoca.Is it in a different path?
Regards
Dave
Re: Is it possible to email an up-loader on receiving of a f
Posted: 27 Aug 2015, 22:48
by Jan
Hi, yes, in old version of 2.1.9, the mail function in in different file.
administrator/components/com_phocadownload/helpers/phocadownload.php
Jan