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 ?"
			
			
									
						
										
						Is it possible to email an up-loader on receiving of a file
- 
				bigdave
 - Phoca Newbie

 - Posts: 4
 - Joined: 11 Aug 2015, 21:16
 
- 
				christine
 - Phoca Hero

 - Posts: 2933
 - Joined: 28 Nov 2010, 17:20
 
Re: Is it possible to email an up-loader on receiving of a f
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
			
			
									
						
										
						welcome to the forum!
Could be this a little help? https://www.phoca.cz/documents/17-phoca- ... e-joomla-3
Section: Uploads
regards, Christine
- 
				bigdave
 - Phoca Newbie

 - Posts: 4
 - Joined: 11 Aug 2015, 21:16
 
Re: Is it possible to email an up-loader on receiving of a f
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
			
			
									
						
										
						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
- Jan
 - Phoca Hero

 - Posts: 49055
 - Joined: 10 Nov 2007, 18:23
 - Location: Czech Republic
 - Contact:
 
Re: Is it possible to email an up-loader on receiving of a f
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
			
			
									
						
							Jan
If you find Phoca extensions useful, please support the project
			
						- 
				bigdave
 - Phoca Newbie

 - Posts: 4
 - Joined: 11 Aug 2015, 21:16
 
Re: Is it possible to email an up-loader on receiving of a f
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
			
			
									
						
										
						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
- Jan
 - Phoca Hero

 - Posts: 49055
 - Joined: 10 Nov 2007, 18:23
 - Location: Czech Republic
 - Contact:
 
Re: Is it possible to email an up-loader on receiving of a f
Hi, I think, the easiest way is to hardcode the email addresses here:
administrator\components\com_phocadownload\libraries\phocadownload\mail\mail.php
Jan
			
			
									
						
							administrator\components\com_phocadownload\libraries\phocadownload\mail\mail.php
Jan
If you find Phoca extensions useful, please support the project
			
						- 
				bigdave
 - Phoca Newbie

 - Posts: 4
 - Joined: 11 Aug 2015, 21:16
 
Re: Is it possible to email an up-loader on receiving of a f
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
			
			
									
						
										
						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
- Jan
 - Phoca Hero

 - Posts: 49055
 - Joined: 10 Nov 2007, 18:23
 - Location: Czech Republic
 - Contact:
 
Re: Is it possible to email an up-loader on receiving of a f
Hi, yes, in old version of 2.1.9, the mail function in in different file.
administrator/components/com_phocadownload/helpers/phocadownload.php
Jan
			
			
									
						
							administrator/components/com_phocadownload/helpers/phocadownload.php
Jan
If you find Phoca extensions useful, please support the project