6 replies [Last post]
JackThompson's picture
Offline
Joined: 02/28/2009
Juice: 110
Was this information Helpful?

Hello, this is a pre-use question. With ubercart, can I sell access to a php script (page) for a limited time?
What I really ened to do is when the user pays, give him access to a php script that I created and email him
a file (digital delivery).

Would this be possible "out of the box?"

Thanks,
Jack

tcindie@drupal.org's picture
Offline
Getting busy with the Ubercode.
Joined: 05/15/2008
Juice: 440
Re: Selling php page access for limited time?

Yes, you would create a "file product" and the user would be able to download the file upon payment.

Follow me on twitter.

JackThompson's picture
Offline
Joined: 02/28/2009
Juice: 110
Re: Selling php page access for limited time?

Actually, I need to user to access the PHP page and not download the php file. Do you know what I mean? Times access to a page. Not to download.

tcindie@drupal.org's picture
Offline
Getting busy with the Ubercode.
Joined: 05/15/2008
Juice: 440
Re: Re: Selling php page access for limited time?

Ahh.. well in that case you would either use the node_access module if the page is only for a specific person (that's my understanding of that module anyway) .... or have a product that updates the users role to a role that is allowed to access that page/those pages.

The first option is an add on module, the second, I believe, is part of ubercart core.

Follow me on twitter.

JackThompson's picture
Offline
Joined: 02/28/2009
Juice: 110
Re: Re: Re: Selling php page access for limited time?

Thanks I appreciate this guidance. I hope this is doable. Just want to be sure. I am new to Dupral and Ubercart.
Can you answer me this real quick... Do I first install Dupral then Ubercart? Do I download both of these from the download link above?

Thanks a lot.

Alaska's picture
Offline
Joined: 10/16/2007
Juice: 1433
Installation

Basically, create a DB first, install Drupal, then Uber modules in the specified order.

See below for more specifics.....

http://www.ubercart.org/docs/user/90/installing_ubercart

JackThompson's picture
Offline
Joined: 02/28/2009
Juice: 110
Re: Installation

ok Great, Much Appreciated!