WebmasterSite.net: PHP scripts to enable your creativity
WSN Links PHP Directory Software
PHP Scripts Webmaster Links Support Forums

Register | Forgot Password

Hack to e-mail download link to attached file

Version:
printPrint


Hack to e-mail download link to attached file
wtaylor
Beginner

Usergroup: Member
Joined: Sep 05, 2004
Location: Portland, Oregon, USA
Total Topics: 1
Total Posts: 5
Posted 09/15/04 - 05:28 PM:
quote post
#1
I've looked this over, and feel I need some remedial help, if that could be offered.
I assume we're looking at email.php
line 25 is
$message = $language->email_emaillinkbody;

where would the
{DIRURL}/download.php?id={LINKID}
go here?

-thanks,
Will
Vix
Member

Usergroup: Customer
Joined: Dec 26, 2003
Total Topics: 5
Total Posts: 12
Posted 09/16/04 - 12:06 AM:
quote post
#2
Will, you don't need to edit email.php

In your Admin Panel under Customizations, click on the Languages link.
Select the E-mails language section and lool for email_emaillinkbody.

That's where you edit the content to include {DIRURL}/download.php?id={LINKID}
wtaylor
Beginner

Usergroup: Member
Joined: Sep 05, 2004
Location: Portland, Oregon, USA
Total Topics: 1
Total Posts: 5
Posted 09/16/04 - 08:06 PM:
quote post
#3
Another question related to this - How might I change "Hits Out" so that it records the number of File Dowloads (rather than the URL links out)?
Vix
Member

Usergroup: Customer
Joined: Dec 26, 2003
Total Topics: 5
Total Posts: 12
Posted 09/16/04 - 08:33 PM:
quote post
#4
For the attachment field that comes with WSNLinks, use this tag to display the number of times an attached file has been downloaded
{LINKDOWNLOADS}

If you're using custom attachment fields, use
{LINKCUSTOMATTACHDOWNLOADS} where CUSTOMATTACH is the name of the attachment field
Search thread for
Download thread as


You don't have permission to post.

Please login or register.

   
 
© 2008 Paul Knierim. All rights reserved.