July 3rd, 2009 — Affiliates, Users
How to directly sign up Affiliates without them having to buy a product
You can use a feature of DAP called “Instant Affiliate” where you send your affiliates this link:
http://YourSite.com/dap/e/?e=EMAILID&fn=FIRSTNAME
… and ask them to substitute EMAILID with their email id, and FIRSTNAME with their first name.
And when they visit the modified link, they will automatically be signed up as an affiliate.
————————
In fact, they can even skip the first name, in which case the link becomes:
http://YourSite.com/dap/e/?e=EMAILID
NOTE 1: They can use the same link to not only signup as a new affiliate, but also continue to use this as their final affiliate link that they can start promoting right away and start sending you affiliate traffic.
NOTE 2: Also remember that in this case they will be signed up using “NoName” as their first name, which they can always change later on the user profile screen.
When you do #2, they will get an account in DAP but not be associated with any product. So it will be hard to send just the affiliates an email.
NOTE 3: When affiliates sign up directly using this method, they will NOT be associated with any “Product” and will show in your “Manage Users” screen with access to NO product at all.
Of course, they can always go on to purchase a product from your web site, and if they use the same email id, then the product(s) they purchase will be associated with the same email address and will be added to their existing account, and NO new account will be created for them.
————————
Your affiliates can take this one step further and redirect their visitor to any page on your web site (or any web site, for that matter) after setting the affiliate cookie. Just add the text “&p=URL” at the end of the above affiliate link.
So, the link with redirection will look like this:
http://YourSite.com/dap/e/?e=EMAILID&p=URL
Replace the text URL with any link (like http://YourSite.com/anypage.php). So it would look like…
http://YourSite.com/dap/e/?e=affiliate@somesite.com&p=http://YourSite.com/anypage.php
June 24th, 2009 — 1ShoppingCart, Admin, ClickBank, Control Panel, FAQ, Integration with Shopping Carts, Payment Integration, Payment Setup and Integration FAQ, Paypal, Products, Setup, Username & Password, Users
(OR) How do members get access to the content
(OR) How does someone become a member?
With DAP, you can add users to your membership site in 3 different ways.
1. PURCHASE: Someone buys your product or subscribes (”Paid” member with access to both free and paid content)
2. FORM SIGNUP: Someone signs up through a signup form (”Free” members with access to only free content)
3. ADMIN ADDED: You add them as a member directly through the DAP Admin Control Panel (you can mark them as either “free” or “paid”)
All three are explained in detail below.
1. PURCHASE
*You first create a “Sales Page”.
On your sales page, depending on which payment processor you use, you go to Paypal/1ShoppingCart/ClickBank and create a new product with the EXACT same name as the product you created within DAP, and get the ‘Buy Button’ link from your Payment Processor. Publish this “Buy Button” on your sales page.
* Your visitor goes to your sales page
* They purchase your product
* Your payment process (Paypal/1ShoppingCart/ClickBank) notifies DAP that you have a new purchase.
* If the product names match, DAP automatically creates an account for them, generates a random password, and sends them an email with their email/password. You can customize the contents of this email on the “Templates” screen in your DAP Admin Control Panel. Integration with your shopping cart explained elsewhere (see documentation for setup).
That’s it!
That’s how “buyers” get added to your membership site and get access to the product they just purchased.
2. FORM SIGNUP:
You wish to give someone a “Free” membership.
NOTE: “Free” members who do not have a payment associated in DAP (which means they have not purchased anything) will have access only to content that you have marked as “Free”.
Once you have created a Product in DAP, and have added content (blog post/page links, links to files, etc), and have saved it, on the Product page, below the Product name list, you will see a link called “Direct Signup HTML”. (See image below). You must first select a Product before you can copy the correct form HTML.
Fig 1. Direct Signup Link on Products page

Fig 2. Form HTML that you get on clicking the Direct Signup Link

This HTML gives you the full form HTML code that you can publish on any page of your web site. This form only collects an email address and a first name.
Take this HTML code and publish the signup form on page of your web site. This could be a WP page or post too.
Then, when someone enters their email address and first name and signs up through the signup form, DAP creates an account for them using that email address, creates a random password, and sends them an email with their email/password.
(”Free” members get access to only free content).
After that, you can drip any content or emails on them that are marked as “Free” (when adding content or emails).
At some later point, if they purchase any of your “Paid” products (see the “1. Purchase” section above), then as long as they use the same email id during purchase, DAP will automatically give them access to all of the “Paid” content in the Product that they just purchased.
3. ADMIN ADDED:
If you wish to directly give someone access to a Product and all its content and emails, you can add them directly from the DAP Admin screen (Users > Add/Edit).
You just need their email id and their first name (both of which they can change subsequently) to add them to a Product.
When you add them as a member, you have the option of marking them as a “Paid” user by checking the “Mark as Paid” checkbox.
If you don’t check this check box, then they will be added as a “Free” user and get access only to “Free” resources (content/emails).
But if you check the “Mark as Paid” checkbox, then they will get access to all “Paid” content and emails, just like someone who is actually a “Paid” member.
May 28th, 2009 — Customization, Setup, WordPress
If you use the default member’s area - http://YourSite.com/dap/ - then this page already has a logout link at the top.
But if you are putting the entire member’s home page component within your wordpress blog, then you need to create your own link and publish it in your sidebar (or wherever you choose to).
Here’s the link for logging out of the member’s area:
http://YourSite.com/dap/logout.php
Replace “YourSite.com” with your actual site name, of course.
And then publish the above link anywhere on your blog - sidebar, top menu bar, etc.
May 28th, 2009 — Errors, Plugins, Troubleshooting, Web Hosting
Errors during installation when trying to activate LiveLinks
ERROR #1) If you are seeing an error that looks like this when you try to activate LiveLinks…
Fatal error: Cannot redeclare dap_filter_posts() (previously declared in /home/birdtric/public_html/wp-content/plugins/DAP-WP-LiveLinks/DAP-WP-LiveLinks.php:11) in /home/birdtric/public_html/wp-content/plugins/DAP-WP-LiveLinks/DAP-WP-LiveLinks.php on line 11
Solution A) This could be because you have incorrectly named the DAP or Livelinks folders.
Remember, the dap folder must always be named dap (all lower case - and not, say, dap_v3.0). And the livelinks folder must be named DAP-WP-LiveLinks .
Solution B) It is possible that your web site does not meet the minimum requirements to run DAP .
If you open a ticket and give us your FTP info and your WordPress Admin login info, we can confirm this to you right away.
— *** —
ERROR #2) If you are seeing an error that looks like this when you try to activate LiveLinks…
Oops! Could not create the config file (dap-config.php). Please make the ‘dap’ folder writable by doing CHMOD 755 (and if that doesn’t work, then try CHMOD 777.)
Installation failed. Please de-activate LiveLinks and re-activate it when you’ve fixed the issue. (106)
* CHMOD just the dap directory to 777.
* Then de-activate and activate the LiveLinks plugin.
* This time around, it should be able create the dap-config.php file within the dap directory. You should see the successful installation message.
* CHMOD just the dap directory back to 755.
If that doesn’t work, then open a ticket with the FTP info and WP admin info.
————————————————————
Session Error
If you see an error that looks like this…
Fatal error: Dap_Session::isLoggedIn() [dap-session.isloggedin]: The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition “Dap_Session” of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide a __autoload() function to load the class definition in /home/site/public_html/dap/inc/classes/Dap_Session.class.php on line 41
This is basically caused by someone else’s 3rd-party WordPress plugin that is wiping out the “session” data (or user data stored in memory) which DAP relies on to store the user information. So there are two things you can try…
- See if you have a plugin by name “WordPress Automattic Upgrade” in your wordpress plugins page.This has created many issues for so many other plugins too, including LiveLinks. Just de-activate this plugin, and your error should go away. Also, if you are using WordPress version 2.7.1, you don’t really need this plugin any more - the automatic upgrade feature has been built right into this version.
- See if you have a plugin for doing “Captcha” - this is where to prevent bots from spamming your comments, your visitor is presented with some kind of an image to verify that they are human. Try with that de-activated.
- If none of the above worked, or if you don’t have any of the above plugins active and you’re still seeing the error, then just try de-activating all other plugins temporarily (except LiveLinks, of course), and turn them back on one-by-one.
Refresh your blog page every time you activate a plugin. That way, you will know which is the plugin that is causing the error.
If that still doesn’t help, just open a support ticket and we’ll take care of it.
————————————————————
PDO Error
Fatal error: Class ‘PDO’ not found in /home1/knowlee3/public_html/buildamagneticnetwork/dap/inc/classes/Dap_Connection.class.php on line 19
If DAP had been working fine on your web site, and you all of a sudden see this error, then your host quietly pulled the rug from under your feet :-). This appears because they either deliberately or mistakenly disabled the “PDO” library, which is a must-have requirement for DAP to run.
So check with your host and ask them “if they disabled PHP/PDO for MySQL on your server recently”.
————————————————————
Memory Allocation
You see an error like this:
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 16 bytes) in /home/yoursite.com/public_html/dap/inc/classes/Dap_Connection.class.php on line 19
If this happens just once, then just ignore it.
But if it occurs more than once, then it could be because:
a) You recently made some changes to your DAP files or web site files, and overwrote/updated your dap-config.php file with the wrong database information. Even though it shows up like a memory issue, in reality it could be because DAP is unable to connect to the database because of incorrect information in the dap config file.
b) Your server legitimately has a low memory limit set by your host, and your host needs to increase the memory allocated to PHP/PDO. Open a ticket with your web host to do this.
May 28th, 2009 — Self-Service Store (SSS)
- Make sure you have first installed DAP v3.0, because SSS won’t work if you have less than v3.0.
- Download the Self-Service-Store.zip file from the member’s area.
- Unzip the 3 files inside:
creditHistory.php
selfService.php
selfService-submit.php
- Upload them directly into your “dap” folder.
- Log out of DAP admin and log back in, just to be sure.
- Go to “Config > Advanced” screen in DAP Admin Control Panel. You will see two new SSS parameters:
Self-Service: Allow members to use credits and choose products a-la-carte.
Set this to “Y” and click ‘Update’
How to order the products displayed in your Self-Service Store?
Set this to “Oldest First” and click ‘Update’
- You will now see new fields show up on the Products page.
- Set one product as your “Master” product. This is the product towards which subscription payments come in.
- Create as many “Child” Products as you want. These “Child” Products are the ones that your members will get to choose from.
- Set the credits information for both Master and Child products. And you are all set.
That’s it!
May 7th, 2009 — Access Control, Protecting Content
You can protect an entire category within your WP blog simply by adding the permalink to that category to a “Product”, just like you would protect the permalink of a blog post.
So, browse to your blog in your browser, visit the category that you wish to protect on your blog. The link will probably look like http://www.digitalaccesspass.com/doc/category/livelinks/
So copy the link that you see in your browser (this is the “permalink” for that category), log in as DAP Admin, and add it to one of your products.
IMPORTANT:
When you add an entire category of posts to DAP, then all posts in that category - posts currently in that category, as well posts you will be adding in the future under that category - will all become automatically protected.
So if you add the entire category to DAP and then configure that “link” to be available on a certain day, or date, then remember that ALL posts within that category will automatically become available on that day or date.
WARNING:
Also remember that because you are adding an entire category of posts, and not individual posts, you won’t be able to configure individual posts within that category to be dripped at various times. Only the “category” link can be configured to be dripped, and not the individual posts within it.
May 4th, 2009 — Affiliates, Customization, Personalization, WordPress
The “Member’s Home Page” (YourSite.com/dap/index.php) has 3 sections.
- Member Links - %%USERLINKS%%
- Affiliate Section - %%AFFDETAILS%%
- Member Profile (username/password) - %%USERPROFILE%%
All three of these can be displayed within your WordPress blog.
Creating a “Member Links” Page within WordPress
Create a WordPress “Page” (not ‘post’) with the text %%USERLINKS%% in the body of the page, and a title of say, Your Links, and save the new page.
If you used the text “Your Links” for the title, then the actual link to this page would be YourSite.com/blog/your-links/
Creating a “Member Profile” Page within WordPress
Create a WordPress “Page” (not ‘post’) with the text %%USERPROFILE%% in the body of the page, and a title of say, User Profile, and save the new page.
If you used the text “User Profile” for the title, then the actual link to this page would be YourSite.com/blog/user-profile/
Creating an “Affiliate” Page within WordPress
Create a WordPress “Page” (not ‘post’) with the text %%AFFDETAILS%% in the body of the page, and a title of say, Affiliate, and save the new page.
If you used the text “Affiliate” for the title, then the actual link to this page would be YourSite.com/blog/affiliate/
That’s it!
April 1st, 2009 — Access Control, File Resources, Protection FAQ, Setup
A) Protecting Files Within WordPress
The fastest way to protect files is to upload them to your wordpress blog when you are writing a new post. All such files will be stored in a folder called “wp-content/uploads/….”.
Alternatively, you could also upload files directly using FTP, to the “wp-content/uploads/” folder and DAP is configured right off-the-shelf to protect any file inside the “wp-content/uploads/” folder.
B) Protecting Regular Web Site Files Outside of WordPress
1. Go to the following directory within the “dap” folder on your desktop:
dap > client > website
2. Open the .htaccess file in this folder.
3. In your web site’s root folder (where you have your home page - index.php or index.html)…
i) if you already have an existing .htaccess file., then open it and COPY the text from Step 2 above and PASTE it at the very end of this file.
ii) If there is no .htaccess in your root folder, then simply copy the file from Step 2 to your web site’s root folder.
That’s it.
TESTING:
Now add the link to your non-wordpress file to DAP from the DAP Admin Control Panel.
Then, open a different browser (not different window - a totally different browser - like, if you’re logged in as DAP admin in FireFox, open IE) and try to access your file directly and see if DAP redirects you to the login screen.
If not, take a deep breath - it’s NOT DAP
It’s just that you missed something (or screwed something up ;-).
Revisit the steps above, and if you still can’t figure it out, you might want to think about uploading the file to wordpress (see Section A above) .
But if you’d rather get this working, then just open a support ticket, and we’re standing by to help you
That’s it!
March 15th, 2009 — LiveLinks, Updates, WordPress Plugins
1) Download the latest version of DAP WP Livelinks from the members area.
2) Unzip the zip file to your desktop. Upload the entire DAP-WP-LiveLinks folder (including the folder too) to your WordPress plugins directory (which is wp-content/plugins/)
That’s it!
March 15th, 2009 — Updates
The following is relevant to you only if you are “Upgrading” DAP from an earlier version. (What’s new?)
Here’s how to upgrade to the new version:
1. DO NOT DELETE your existing dap folder on your web site.
2. Download the zip file (from your member home page) and unzip to desktop. You should now see a folder by name “dap” on your desktop.
3. OVERWRITE the contents of your current “dap” folder on your site with the contents of the new “dap” folder on your desktop.
3. Visit the following link and login as admin:
http://YourSite.com/dap/
… and follow the instructions on your screen.
NOTE: Replace YourSite.com with your actual domain name.
That’s it!