Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2008-02-21 14:32:30
- lee
- Member
- From: Normandy, France
- Registered: 2004-06-17
- Posts: 831
[request] Protected download page?
I need to protect a page with some downloadable pdfs. A site visitor has to agree to a few conditions by checking a few boxes (no account creation) before being forwarded to the download page. And the download page should not be able to be addressed directly just by typing in it’s url.
Possible with Txp?
Cheers
Lee
Offline
Re: [request] Protected download page?
Not without writing a plugin.
Offline
#3 2008-02-21 18:09:42
- lee
- Member
- From: Normandy, France
- Registered: 2004-06-17
- Posts: 831
Re: [request] Protected download page?
You up for it? How much? When? :)
Offline
Re: [request] Protected download page?
lee wrote:
I need to protect a page with some downloadable pdfs. A site visitor has to agree to a few conditions by checking a few boxes (no account creation) before being forwarded to the download page. And the download page should not be able to be addressed directly just by typing in it’s url.
Possible with Txp?
Cheers
Lee
you can use zem contact reborn and set the conditions there. the pdfs could appear after sending the email.
example:
<txp:zem_contact mailto="you@yoursite.com" thanksform="download pdfs">
<txp:zem_contact_text label="Name" />
<txp:zem_contact_email />
<txp:zem_contact_submit label="Agree" />
</txp:zem_contact>
the thanks form could have the links to the pdfs
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
#5 2008-02-22 09:55:07
- lee
- Member
- From: Normandy, France
- Registered: 2004-06-17
- Posts: 831
Re: [request] Protected download page?
Hi Colak, many thanks for the idea, but the url containing the pdf would still be directly available, but I’ll probably use your idea in the future. In the end I used ExpressionEngine.
Offline
Re: [request] Protected download page?
lee wrote:
Hi Colak, many thanks for the idea, but the url containing the pdf would still be directly available, but I’ll probably use your idea in the future. In the end I used ExpressionEngine.
it depends what you mean with ‘publicly available’. Yes if somebody copies the url and links to it directly, it will be as such but not for the people visiting the page. I guess that it depends what level of control you want.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: [request] Protected download page?
Using ZCR is not a bad idea, because the nonce system enforces that each visitor has to fill out a new form, instead of being able to reuse an old one. Instead of redirecting a download page, you could respond by sending a file. This does depend on your server setup. In a FastCGI setup, this wouldn’t work, in most other setups it does work (although I haven’t explicitly tested this).
Offline