DAP Files and Database Installation

NOTE: Wherever you see reference to “http://www.Example.com”, be sure to replace the text “Example.com” with your web site’s actual domain name.

1. Unzip the zip file you received after purchase, to your desktop (or any location on your hard disk). It should create a folder by name dap on your desktop within which all DAP files are located.

2. Upload the entire dap directory to your root directory on your web site. So, DAP is now accessible by typing in http://www.Example.com/dap/ - but don’t visit that link yet, as installation is not yet complete.

3. Log in to your web site’s control panel and create a new MySQL database, and then create a user name and password to access this database. (COMING SOON: Tutorial on how to do this). Note down the name of the database, the host name of the database, the user name and password.

4. Visit the following link:

http://www.Example.com/dap/install/

5. Enter the database credentials from before into the form you see at the above page.

6. Click on “Start Installation“. If there are any errors, you will see them on the screen. If not, you will see a message that says that installation is complete.

7. You will also see the email and password for the Admin account that has been created for you. Note them down.

8. Now visit the link below to log in as the admin. After you log in as admin, be sure to go the “Config” screen and customize DAP to your needs.

http://www.Example.com/dap/

Next step: Protecting WordPress or your regular Web site?

Protecting WordPress:
- WP in Root folder (Example.com itself is your blog)
- WP in Sub-folder (Example.com/blog)

-OR-

Protecting Regular Site Files:
Eg., Example.com/product/yourproduct.pdf

Customizing Header and Footer

To change the header and footer that your users will see, modify the following files:

dap > templates > content > header.php
dap > templates > content > footer.php

To change the header and footer of the admin panel, modify the following files:

dap > admin > header_admin.php
dap > admin > footer_admin.php

DAP WordPress Integration: WP In Root

If WordPress is in a sub-folder, follow this other post.

If WordPress itself is your home page, then continue reading for installation…

1. WordPress is installed in root under main domain.
Ex: http://www.Example.com/ itself is your blog.

2. Go to following directory within the “dap” folder on your desktop:

dap > client > wordpress

3. Open the .htaccess file in this directory. Modify the 3rd line that looks like this:

RewriteBase /wordpress/

Replace the text /wordpress/ above, with the text /wordpress/ .
So, you are basically deleting the text “wordpress” and the trailing slash (”/”).

So, Line 3 before:
RewriteBase /wordpress/

Line 3 After:
RewriteBase /

4. Copy both this .htaccess and dapwpclient.php files from the same folder into the root directory of your web site.

5. Access your blog at:
http://www.Example.com/

- End of installation -

DAP WordPress Integration: WP In A Sub-folder

1.  WordPress is installed in a subdirectory under main domain.
Ex: http://www.Example.com/blog/

2.  Go to following directory within the “dap” folder on your desktop:

dap > client > wordpress

3. Open the .htaccess file in this directory. Modify the 3rd line that looks like this:

RewriteBase /wordpress/

Replace the text wordpress above, with the actual folder name of your WordPress installation. So if you installed wordpress into a folder named “blog”, then the above line becomes:

RewriteBase /blog/

4. Copy both this .htaccess and dapwpclient.php files from the same folder into the root of your wordpress directory (blog).

5. Access your blog at:
http://www.Example.com/blog/

- End of installation -

Creating a Product


So just how easy is it to create a Product in DAP? Incredibly easy, as you will see below.

Product Name:

Obviously, this is the name you give your product. So if you are creating a product (subscription-based, or one-time purchase) about how to make money online, then you would call it “How to make money online”. This name will be used by DAP on various screens, emails and reports. So, name it something intuitive, and not something cryptic.

Description:

Use this to expand on what your product does. This field is used on auto-generated error pages and such.

Sales Page URL (optional):

When a user who doesn’t have access to the links in this product, DAP can show her a default error page (see “Error Page URL” below), and on that error page, it will say something to the effect of “Sorry, you don’t have access to this Product. You have to purchase access to it first.” and then the link to this “Sales Page URL” will be shown, which the user can then follow to read your sales page and then purchase the product.

Error Page URL (optional):

Default value: /dap/product-error.php

If you use the default value above, then DAP will show the default error page when a user tries to access a URL that she doesn’t have access to yet, URL to which access has expired, or she hasn’t purchased the product of which the URL is a part of.

Is this a recurring product?

Pick “Yes” or “No” depending on if this product is a recurring product for which you expect periodic payments to come in.

If you pick “No”, then when the user purchases this product (or you give her direct access from the admin area), then the user is given access from Day 1 to Day 9999.

Price

Enter the price of your product, regardless of whether it is one-time or recurring. This data is not used by DAP currently. In the future, this may be used for payment validation purposes.

Billing Cycle

Applicable only if recurring is set to yes. If this is a recurring product, then you need to enter how often billing is done (in days). So, if your product is available for a monthly subscription, then enter “30″ (as in, billing occurs once every “30″ days).

Product Status

If you want to temporarily remove access for all users to all URL’s in this product, then change the status to “Inactive”.

3rd Party Notification Email Ids

If you want DAP to send email notifications to 3rd party email addresses (like autoresponder services, or JV partners), then enter one or more email addresses here - separate multiple email addresses by a comma.

Every time a user subscribes (paid or free) to this product, an email is sent out by DAP to all these email addresses - the “from name” is the subscriber’s name, and the “from email” is the subscriber’s email address

This is very useful for automatically adding your subscriber to a 3rd party list service that has a “subscribable” email address - like yourautoresponder@1siteautomation.com or subscribe@yourlist.com .

Once you fill out the fields, click on the “Save/Update Product” button to save the changes.

Use the same form to make changes to the fields as well.

Random Stuff About Products

What is a Product?

A Product is just a collection of “Files” and “Emails”.

So if you are running a subscription site on “How To Train Dogs”, you could give your product the same name - “How to Train Dogs”.

For every new “subscription” based product you wish to sell and manage using DAP, you need to create a new “Product” within DAP.

You can add both “Files” (basically links) as well as “Emails” to an existing Product.

Adding files means that as an admin, you can say which files on your web site are part of this product, and you can go into each link and specify the access control for that file (is that file free or paid, when is it accessible to the user and for how long, etc). You can add files from your web site using the provided file browser within the “Manage Products” page, or you can also add using full URL’s (like http://www.YourSite.com/dogtraining/protect-this-post.html).

Adding emails means you can setup an email autoresponse to be a part of this Product, and that email can be configured to go out to the user after “X” number of days after she has joined, or on a specific date (in case your email is date- or time- sensitive.

Welcome to DigitalAccessPass.com

This is the documentation blog for DigitalAccessPass.com - lovingly nicknamed “DAP” :-) .

Here’s where you will (or should) find all information related to the installation, and use of DAP, both as a User as well as an Admin.

If there’s anything missing, or you have any questions or comments, feel free to email us.

- Ravi Jayagopal
DigitalAccessPass.com