Phoca Download email notification

Phoca Download - download manager
sjoemie1
Phoca Member
Phoca Member
Posts: 13
Joined: 01 May 2011, 22:05

Phoca Download email notification

Post by sjoemie1 »

Hi all, short question: where can I modify the email notification parameters? I receive an email when someone downloaded a file, but it's giving me only the name. I also want to see en email address and telephone number, but I do not know where to modify such settings.

Under Preferences in PD I only can select my name to send the mail to. Thanks in advance.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48610
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Download email notification

Post by Jan »

Hi, this needs to be customized in code (the email function) or you can change the translation strings in language file.

Jan
If you find Phoca extensions useful, please support the project
sjoemie1
Phoca Member
Phoca Member
Posts: 13
Joined: 01 May 2011, 22:05

Re: Phoca Download email notification

Post by sjoemie1 »

Hi Jan, thanks for your quick reply, but I know I have to customize it in the code, but where? I search 2 phocadownload.php files (1 in public_html/components/com_phocadownload and the other in public_html/components/com_phocadownload/helpers) , but couldn't find it there....

I also looked for that functionality in phocaguestbook.php, but couldn't find it there either...
tobisagt
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 28 Oct 2010, 17:10

Re: Phoca Download email notification

Post by tobisagt »

open the file: "phocadownload.php" in "administrator/com_phocadownload/helpers/

The lines you are searching for are: 940 - 992
sjoemie1
Phoca Member
Phoca Member
Posts: 13
Joined: 01 May 2011, 22:05

Re: Phoca Download email notification

Post by sjoemie1 »

Thanks. I found the file. What do I need to modify to get email and telephone information also in the email that will be sent after a file is downloaded?
Post Reply