send mail after upload phoca downloads

Phoca Download - download manager
thewelt
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 30 Dec 2011, 02:35

send mail after upload phoca downloads

Post by thewelt »

Hi there,

Does anybody know if it is possible tot send mail after an upload with phoca downloads to a user or a group of users ? :idea:
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: send mail after upload phoca downloads

Post by Jan »

Hi, for now there is sending for users, sending emails for groups needs to be customized.

Jan
If you find Phoca extensions useful, please support the project
SonRiab
Phoca Professional
Phoca Professional
Posts: 258
Joined: 02 Jun 2011, 09:29
Contact:

Re: send mail after upload phoca downloads

Post by SonRiab »

There is an option located under the general tab where you can select the user. To send the email to more then one user you maybe could add a new user whose email address is redirecting the mail to the right ones!?
wavemaster01
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 22 Jan 2013, 01:28

Re: send mail after upload phoca downloads

Post by wavemaster01 »

Hello,

another question to the same topic.
The sending for users funtions well, but where can I finde the text of the message.

I get a mail like this:
"New File uploaded

Website: xxx
Date: Montag, 21. Januar 2013 23:06
IP: 1.2.3.4.5.

Nachricht:

File "Testfile" was uploaded by User X (x).

Regards,
Domain"

Where can I translate this text and is it even possible to add the category of the added file into the mail?

thnx!

wavemaster01
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: send mail after upload phoca downloads

Post by Jan »

Hi, all strings you can find in language files:

https://www.phoca.cz/documents/46-transl ... -in-joomla (see the article for location of the translation strings)

Jan
If you find Phoca extensions useful, please support the project
wavemaster01
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 22 Jan 2013, 01:28

Re: send mail after upload phoca downloads

Post by wavemaster01 »

Hi Jan,

thanks for your answer. I' ve checked the files, but all strings are translated into german. I cannot find any strings, which belong to the email - posted above. Can you help me? Administrators get the mail after a new user upload is done.

thnx!

wavemaster01
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: send mail after upload phoca downloads

Post by Jan »

Hi, then check if the language pack is up to date. There is no other place to set the langauge strings.

Jan
If you find Phoca extensions useful, please support the project
ronniestamps
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 27 Nov 2010, 03:43

Re: send mail after upload phoca downloads

Post by ronniestamps »

I am sorry if this should be its own thread but my question is very similar...

I am trying to send an email to the owner of the file when admin uploads a new file or updates a current file. Ideally I would like to have a button control sending the email to the owner of the file from admin.

I know that I'll be using the sendPhocaDownloadMail method of the PhocaDownloadHelper class...I have the ability to do this but am in need some insight. If anyone could give me a hint of the logic or pseudocode I could make the modifications myself.

Thank you in advance,

Ronnie

Joomla! 2.5.9
Phoca Download 2.1.8
Post Reply