1
krystinevo
wf-downloads 2.05 - How to change subject line of notifications?

Hi everyone

In wf-downloads 2.05, is there a way I could change the subject line of the notification email/message to include the actual name of the file? Right now the subject line is "[Site Name] Downloads auto-notify : New file"

Users have suggested it would be helpful to know which file has been uploaded without having to go in and open the email.

Thanks in advance,

Kristine in Toronto
Everything is as it should be

2
Bender
Re: wf-downloads 2.05 - How to change subject line of notifications?
  • 2008/4/11 19:39

  • Bender

  • Home away from home

  • Posts: 1899

  • Since: 2003/3/10


Hi Kristine,

you could check the file \wfdownloads\language\english\modinfo.php

Search for line 00157:
define('_MI_WFD_GLOBAL_NEWFILE_NOTIFYSBJ''[{X_SITENAME}] {X_MODULE} auto-notify : New file');


(should be line 157 most likely - since there were different versions of 2.05 in the old days it might slightly differ)

You can try to use
{FILE_NAME}
for placing the filename.

However i have no installation currently at hand so i can´t really check myself. I hope the variable is actually filled with the filename at that point in time.

If it doesn´t work you could post also on the wf-downloads forum.


[Edit]Any special reason why you did not update to wf-downloads 3.x yet? Some issues, features and security fixes were done over time.

[size=x-small](the usual reminder: as with any kind of update: backup db and files first)[/size]
Sorry, this signature is experiencing technical difficulties. We will return you to the sheduled signature as soon as possible ...

3
krystinevo
Re: wf-downloads 2.05 - How to change subject line of notifications?

Bender, you're awesome! Remind me to name my first-born after you ;)

Thanks again, worked like a charm.

Kristine in Toronto
Everything is as it should be

Login

Who's Online

261 user(s) are online (152 user(s) are browsing Support Forums)


Members: 0


Guests: 261


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits