PDA

View Full Version : Restricting downloads to ++members (and another question)


subduck
Tue 15th Jul '03, 6:36pm
How is this done?

For example there are sites out there like IGN.COM that offer 2 types of memberships, a regular account and then an Insider account. If you purchase the Insider account then you can download movies, demos, etc...

I need to create a similar structure for my site, but I'm not sure how to do it. I've decided to create a member system free to all users, but there will be a method of upgrading the account. When the account is upgraded then the members of my site will be able to download software etc...

When the user upgrades his/her account then i'll update a column in the membership table (database) which identifies the user as a paying customer. (is that the right idea?)

Then the customer will have access to downloads.


Okay so here are my 2 questions:

1) How do I restrict downloads to members that have paid?
There will be many downloads, so the member should only have to enter his username/password once and then be able to download multiple things (no password directory). The downloads will be on multiple pages as well. I mean how do i hide the url of the zips so some random users can't enter the url of the zip in a browser and download the file right away?

2) Do you guys know how I could setup some kind of payment method that updates the user database? Should I go with worldpay? maybe 2checkout.com?

Thanks for any help :)

Floris
Tue 15th Jul '03, 7:14pm
Add an additional usergroup with 'can download attachments' set to yes, and set the registered usergroup 'can download attachments' to no.

subduck
Tue 15th Jul '03, 7:52pm
Add an additional usergroup with 'can download attachments' set to yes, and set the registered usergroup 'can download attachments' to no.

Thanks for your reply, although I'm not talking about vbulletin.

subduck
Tue 15th Jul '03, 9:24pm
It's okay, I figured it out :)