Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2007-11-24 21:24:18
- joshtilton
- Member
- Registered: 2007-11-15
- Posts: 14
Control downloads
Hi!
I have done some searching for a plugin, or a hand coded method to solve this problem. I am trying to set up for a client the ability for them to monitor their downloads. They have three pdf files that they are offering for free, they just want to know the email address of who is downloading each file.
If there are any suggestions I would greatly appreciate them!
Thanks
Offline
Re: Control downloads
Use JavaScript – hide link to file before user enters valid email. It’s easy.
Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?
Offline
Re: Control downloads
Alternatively use zem_contact
<txp:zem_contact mailto="yourclient@clientsite.com" thanks_form="form_with_link_to_download">
<txp:zem_contact_email />
<txp:zem_contact_submit label="Click Once" />
</txp:zem_contact>
And the form_with_download_link can have something like
<a href="http://clientsite.com/file_download/1" title="file_name1.pdf">HERE</a><br />
<a href="http://clientsite.com/file_download/2" title="file_name2.pdf">HERE</a><br />
<a href="http://clientsite.com/file_download/3" title="file_name3.pdf">HERE</a>
Last edited by colak (2007-12-02 16:59:03)
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
#4 2007-12-02 14:32:57
- joshtilton
- Member
- Registered: 2007-11-15
- Posts: 14
Re: Control downloads
Thanks! Just what I was looking for!
Offline
#5 2007-12-02 16:21:59
- joshtilton
- Member
- Registered: 2007-11-15
- Posts: 14
Re: Control downloads
the “ thanksform=“link_dl” is not working. TXP says it is an unknown tag attribute. I am using zem_contact_reborn
Offline
Re: Control downloads
Spend a little time with the plugin help – plenty of examples there. In your case:
thanks_form=“form name”
You missed the underscore.
Offline
Re: Control downloads
my fault. Was doing it by heart:) Corrected the code above for future reference.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
#8 2007-12-02 18:54:45
- joshtilton
- Member
- Registered: 2007-11-15
- Posts: 14
Re: Control downloads
Awesome, thank you!
Offline
Pages: 1