Archive

Category Archives for "DAP"
14

vBulletin FAQ / Usecases

1) Can I import my existing vB users to DAP with their existing vB username ?

Answer.

Sure. If you want to import your existing VB users to DAP, then you can go to DAP Add Users ->Bulk-Add Multiple Users To A Product and add the users to be imported in CSV format.

Format: Email, First Name, Last Name (optional), User Name (optional – used for VB only)

For ex:
joe1@webmasterinabox.net,joe,,smith (here lastname is empty)
joe2@webmasterinabox.net,joe,smith,joesmith2 (here lastname = smith and username=joesmith2)
joe3@webmasterinabox.net,joe (here both lastname and username are empty)
joe4@webmasterinabox.net,joe,smith (here username is empty)

When you complete the bulk add, these users will be added to DAP System -> Job Queue. When the DAP cron runs at the top of the hour, it will add these users to DAP and sync to VB.

You can manually run cron by clicking on this link in the browser – http://www.yoursite.com/dap/dap-cron.php

Note: Replace yoursite.com above with the name of your site

Make sure you setup the FORUM rules in DAP Product -> VB forum Mapping BEFORE you import the users to DAP.

2) Can I configure DAP to automatically create users in vB when they purchase a membership product?

Answer.

Sure. In /dap/dap-config.php, update the following setting to “Y”
define (‘AUTO_CREATE_VB_ACCOUNT_UPON_DAP_REG’, ‘Y’);

Note:
If the value is not set to “Y”, then by default DAP will NOT auto-create user accounts in VB.
If the value is set to “Y”, then this is how it will work.

1. When a new user is created in DAP, DAP will try to use the user’s firstname.lastname to create a VB user account automatically for the user.

2. If in step #1, DAP was able to successfully create / sync username to VB, then the username will also be updated in DAP.

You can check that in DAP profile page (click on User’s fullname in DAP manager users page to go to user’s profile settings).

3. If in step #1, DAP was NOT able to successfully create / sync username (= firstname.lastname) to VB (because the username was already taken by another user), then the username will be empty in DAP. You can check that in DAP profile page.

4. If the username is already set in DAP, then the user CANNOT change it.

5. If the username is already set in DAP, then the user can request the DAP Admin to change it.

6. The DAP admin can change an existing user’s vB username by going to DAP admin panel -> Manage Users -> Click on users fullname -> it will bring admin to the users profile page -> admin can update username to a different username

– if the username is being changed to an username that already exists in VB and is tied to the SAME email id as the one in DAP, then DAP will just sync the user to VB using the forum rules defined in DAP

– if the username is being changed to an username that already exists in VB but is tied to a DIFFERENT email id and DOES NOT match the one in DAP, then DAP will report an error that the new username is already in use (by a different user). It will not sync the user.

– if the username is blanked out in DAP, then it will be blanked out just in DAP. DAP will not erase the VB username/account.

Hope this helps.

If there are any issues:

Set DAP Setup -> config -> log level to 5

Go TO System -> logs -> Empty Log Content

Rerun the test case.

Send us the log snippet (from DAP system -> logs) for troubleshooting.

14

vBulletin Setup

Starting DAP v3.9, DAP supports full fledged integration with vBulletin forum. You can limit access to specific forums based on the users membership level.

We also offer full vBulletin installation and DAP->vBulletin integration services. Contact Us for more details

You can download DAP 3.9 from your membership area.

Click here to download latest version of DAP

Here’s how you can enable DAP->vBulletin integration:

1. Install vB on your site per this documentation

 

Note: vBulletin 4.0 and higher requires PHP 5.2.0 or greater and MySQL 4.1.0 or greater

2. You can install VB in a completely new database, or it can be installed in your existing WP/DAP database.

3. Login to your VB admin panel

For Ex – http://www.yoursite.com/forum/admincp/index.php

Update the cookie domain setting under Setting Options => Cookie and HTTP Header Options

Use Custom setting and update the cookie domain to yoursite.com.

For ex – if the name of the site is contentresponder.com, then the cookie domain should be set to contentresponder.com

Cookie Domain Setting

4. Update dap-config.php under the dap folder

Run the following command – http://www.yoursite.com/dap/getpath.php (replace yoursite.com with the name of your site)

Say that it returns – /home/crespond/contentresponder.com/dap

Just get rid of /dap and instead append your forum folder name – /home/crespond/contentresponder.com/forum

Now add the following lines to /dap/dap-config.php file

define(‘VBFORUMPATH’, ‘/home/crespond/contentresponder.com/forum’); // path to your forum

define (‘TABLE_PREFIX’, ‘vb_’); // vb table prefix in your database.

define (‘AUTO_CREATE_VB_ACCOUNT_UPON_DAP_REG’, ‘N’); //set value to ‘Y’ if you want DAP to auto-create user account in VB using firstname.lastname during DAP registration

Note:

1)  add the VBFORUMPATH and TABLE_PREFIX just above this line require_once(“dap-settings.php”); That’s it.

2) In the TABLE_PREFIX above, use the VB table prefix that you set in your VB config file (/includes/config.php in your forum folder).

If you set it to ”, then set it to ” in dap-config.php above.

define (‘TABLE_PREFIX’, ”);

It you set it to ‘vb’ in config.php during VB installation, then set it to ‘vb’ in dap-config.php as well.

define (‘TABLE_PREFIX’, ‘vb’);

VERY IMPORTANT:

Also, replace all occurrences of backticks (`) with single quote (‘) in all the define statements above. Even when we save this doc with single quote, wordpress converts it to backticks(`). So pls make sure  when you add the above define statements to dap-config.php, replace all ` with ‘.

 

 

Now go back to your DAP admin panel. You will find the vB forum option under Products/Levels.

BTW, there is a known vB issue that affects the running of command line cron stuff. Workaround for that is described here

Hope this helps.

For more details on vB, click here to see the video

4

Creating A Ready-Made Affiliate Toolbox

You already know that DAP has a built-in affiliate program, and everyone who joins your site (or gets a free or paid account) is automatically made into an “Instant Affiliate”.

DAP also lets you create an Affiliate Tool Box for your affiliates, with ready-to-use banners, emails, subjects, signatures and text links – all with their own personalized affiliate link embedded into it already.

So all they have to do is copy, paste, and hit send.

See the sample screen-shots below that show what our own affiliate tool box looks for DAP affiliates who wish to promote DigitalAccessPass.com to others.

Banners

Email Copy

Text Links

 

How To Create The Affiliate Tool Box

Create as many different pages you want on your blog – like “Banners”, “Email Swipe Copy” or “Text Links”.

Or create just one big page for all of this – like “Affiliate Tool Box”.

Download this text file which has all of the ready-made HTML code that you need to insert into the WordPress pages.

Feel free to modify the text as required, and be careful not to delete any of the special characters that are in there just for the formatting.

=> Download Sample Affiliate ToolBox Code

32

Integrating Clickbank via INS

DAP has built-in support for ClickBank’s Instant Notification Services (INS) (starting v3.9)

This is very similar to Paypal’s Instant Payment Notification (IPN).

The ClickBank INS notification will be processed instantly in real time, and your members will receive their welcome email with their membership login info instantly after purchase.

For high-level ClickBank user-flow, see this post.

Integrating with ClickBank is the same whether it’s a one-time product, a subscription product with recurring payments, or a PitchPlus (one-click upsells) product.

CB INS Setup

1. Login to your ClickBank account

2. Go to the “Account Settings” tab at the top

3. Click on “My Site” from the sub-menu at the top.

4. Under Advanced Tools, update the Instant Notification Service URL (accept the terms of service etc), and make sure the URL points to:

http://YourSite.com/dap/dap-clickbank.php

Replace YourSite.com above with your actual domain name.

5.  Screenshot below shows Version 1.0, but starting DAP v4.2, we have added support for CB INS 2.1.

So if you’re using DAP v4.2 or later, then select INS Version 2.0 and set the CB INS URL TO :

http://YourSite.com/dap/dap-clickbank-2.1.php

But if you’re using DAP v4.1 or earlier, then select Version 1.0

and set INS URL TO:

http://YourSite.com/dap/dap-clickbank.php

6. Whatever value you put in the Secret Key field in ClickBank (see image above), put the same value (must be ALL UPPERCASE) in to your DAP Admin Dashboard on your web site, at:

Setup > Config > Payment Processing > Secret Authorization Key used when interfacing with external systems

7. The Product Title in CB must match the Product Name in DAP.

8. The Thank You Page url in CB product settings page, should be set to point a static thank-you page you create in your WordPress blog – something like http://YourSite.com/thank-you/ .

And the page should state something to the effect of…

Thank you for your purchase. The download information for the product you just purchased has been sent to the email id you just use during the purchase.

Please check that email id in a few minutes, and you will see an email from us with your login information.

That’s it!

Testing

Make a test purchase.

If the integration was setup correctly, the user will be registered in DAP.  You will find the user account in the DAP Users > Manage screen and you will find the completed transaction / order details on the DAP Orders page.

If the test order is listed in DAP Orders page, then CB is correctly integrated with DAP.  Check the payment status in DAP Orders page. If it says Success, but no welcome/thank-you email got sent, then make sure you set the thank-you email for that product in DAP products page.

Troubleshooting

If no order is listed in DAP orders page for the test purchase, then CB is not integrated with DAP.

To troubleshoot, do the following:

  1. Set DAP Setup > Config > Log Level to 5.
  2. Empty log content under System -> Logs.
  3. Run another test purchase.
  4. Send us the log snippet from System -> Logs.
2

WordPress versus HTML

Last updated: Dec 6, 2014

[NOTE: Read this only if you have a Non-WordPress, plain HTML web site that you wish to protect using DAP]

Ok, so you’re not using (or thinking of not using) WordPress to power your web site. For what it’s worth, you are way better off using WordPress, but if you can’t switch for whatever reason, then keep reading.

DAP is deeply integrated with WordPress, and has a lot of very powerful features that work with WordPress like a dream. DAP is truly “Made For WordPress”.

While you’re really missing out on a *lot* of really cool things that you can do with DAP and WordPress, it’s fine as far as DAP is concerned that you wish to use DAP with a non-WordPress plain HTML web sites – because DAP can protect plain HTML web sites too.

But you also need to understand that because you’re not using WordPress, that makes “customizing” your DAP-powered site a bit more difficult, not because of a DAP shortcoming, but just because of the sheer fact that you have to hand-code a lot of things when it comes to a regular non-WordPress, HTML-based site.

So if you’re going to go down this route, there are a few things to consider:

  • There are some DAP features which are WordPress-only, that won’t work on a plain HTML web site. For eg., Sneak-Peek, Short Codes for Partial Content Protection, Disabling Comments for non-members, ability to use free WordPress forum plugins, creating customizable member’s areas etc.
  • You won’t be able to use our DAP Shopping Cart Plugin because it’s a WordPress plugin.
  • You won’t be able to use any of our cool WickedCoolPlugins.com plugins.
  • You won’t be able to use our built-in “Login/Logout Widget“, which shows the login form on the sidebar if users are not logged in, and automatically turns into a “Logout” button once they log in to your membership site.
  • You won’t be able to “power customize” or “power tweak” every aspect of your membership area. For example, you must use the out-of-the-box log in page that comes with DAP – you cannot customize it much other than choosing a header and footer, unless you know how to work with a bit of PHP & HTML.
  • You will have to use the default login page that comes with dap – that looks like this: http://DigitalAccessPass.com/dap/ . Of course, you don’t have to use our header image – you can replace it with your web site header and footer. For which, you have to at least know how to extract the HTML for the header & footer areas from your current web site. Or at least have someone who can help you with that.
  • WordPress users have tons of customization options, which you won’t have when using a HTML/PHP only web site. Like the ability to switch themes, split the member area into multiple pieces – like “User Profile”, “My Content”, and “Affiliate Links” – and put them on 3 different pages on their WordPress blog. You won’t be able to do that. For you, it will all be on one, default member home page.

So, if you are a “power tweaker” and want more control on the little things in your membership site, then DAP on a HTML site may not work for you.

But if moving your entire web site over to WordPress is such a big task and pain that you don’t wish to (or can’t) deal with, or you are not too particular about power customizations, and just want your membership site to “just work” right out of the box, then DAP is perfect for you, because it can work with WordPress- and non-WordPress web sites.

What You CAN and CANNOT Do If You Have A Plain HTML Web Site (and don’t use WordPress)

  • NO: Sneak-Peek
  • NO: DAP Shortcodes
  • NO: DAP Shopping Cart Plugin
  • NO: WickedCoolPlugins.com Plugins
  • NO: Comment-Protection for visitors
  • NO: Login/Logout widget
  • NO: Must use DAP’s default login page, that is only customizable with a header and footer – will take more work (and you must know HTML) if you want to make the login page look exactly like the rest of your web site
  • NO: Must use DAP’s default member page, which contains the “My Content” page, “My Profile” and “My Affiliate Info” sections all rolled into one single page – you won’t be able to split them up into multiple pages like you can do with WordPress
  • NO: Our Amazon S3 plugin S3MediaVault.com will not work on plain HTML sites
  • NO: “In-Page” dripping won’t work

Instant Membership Site

One of the biggest advantages of using the HTML/PHP version of DAP (without WordPress) is that you can get started instantly with the pages that come right out of the box with DAP.

DAP has a ready-made login page which will be available at http://YourSite.com/dap/login.php

Once your members/buyers log in through that default log in page (can be customized as shown further below), they are taken to the default one-page member page, that lists all of the products or membership levels they’ve purchased, lists all of the content that is part of each of those products/levels, and that page also has the affiliate section and the member profile.

Bottom-line: Everything your members will need – the entire member dashboard – is available in one single page.

If you don’t need the affiliate section, that can be easily turned off via DAP Admin > Setup > Config.

See http://DigitalAccessPass.com/documentation/?page=/doc/creating-member-affiliate-sections-within-wordpress/ – all of those pages that you would have to create within WordPress, are readily available out of the box on this one default member home page.

So all you have to do, is create the buy buttons from within the DAP Admin pages, put that button on your sales page, and once your member signs up, they log in via http://YourSite.com/dap/login.php and they’re in. And they can get everything that they need on that one member dashboard page which is all readily setup and configured for you.

Screenshot Of Sample Login Page

You can customize header and footer HTML. Click image to enlarge.

Screenshot of Sample Members’ Area

You can customize header and footer HTML. Click image to enlarge.

How To Customize Content On dap/index.php

You can modify only a few sections on the default dap/index.php page.

Go to DAP Admin > Setup > Templates , and the following 4 items are related to content on the dap/index.php page.

  • Content:Header
  • Content:Footer
  • Message:Affiliate
  • Message:User

Those are the only 4 things you can modify, and nothing else.

If you wish to customize it more, then consider putting those sections within WordPress.
See http://DigitalAccessPass.com/documentation/?page=/doc/creating-member-affiliate-sections-within-wordpress/

 

21

Moving DAP From One Host (or Domain) To Another

NOTE: We do not provide support for server or domain moves as part of Standard DAP Support that you get with your purchase of DAP. Please see our Terms Of Support which explains why. If you want our help with moving a DAP installation, you may purchase Premium Support slots from http://DigitalAccessPass.com/buynow.php#store (see “Installations & Support” tab)

Moving a DAP installation

DAP does not store the domain name anywhere in the database. So if you want to move an existing installation to a new domain, the only place where you need to change your domain name in the DAP installation (if you’re moving across domains) is in the dap-config.php file.

Moving a DAP installation consists of basically moving the files, and moving the database. Only 2 components.

  • Log in to your web hosting control panel, go to “phpMyAdmin”, select your WordPress database (which is where the DAP tables are also installed, by default)
  • Do an “Export” of just the DAP tables. Select the “SQL” option and select “Save as File”. All DAP database tables start with the text “dap_”. Save this file on your desktop – let’s say you call it “dapexport.sql” (it could also be “dapexport.txt” – does not matter what the exact extension is – .txt or .sql).
  • Make a back up of the dap-config.php file (located in the “dap” directory on your old site/domain) on your desktop
  • At your new site, install WordPress (if not already installed)
  • Log in to your web hosting control panel of your new site, go to “phpMyAdmin”, select your WordPress database, go to the “SQL” tab, open the export file from above (dapexport.sql), copy the contents, paste into the SQL tab and hit “Go”. All dap data from your old site is now on your new site.
  • Copy the database credentials (db name, db username, dp password and db host) from your new blog’s “wp-config.php” to the “dap-config.php” file stored on your desktop.
  • If you’re also changing domain names, then open dap-config.php, and modify SITE_URL_DAP to point to your new domain name.
  • Upload all dap files to your new site (don’t do full installation – just upload the files).
  • Upload the DAP-WP-LiveLinks folder to wp-content/plugins/
  • Upload the modified dap-config.php file from your desktop to the “dap” folder on your new site.
  • Log in as WP admin, and activate the DAP-WP-LiveLinks plugin. It should give you a warning that DAP is already installed. That’s ok – that’s what we want it to say.
  • That’s it. DAP is now moved over from your old site to your new site.
  • Log into your DAP Dashboard using your old DAP admin login info, and you’re all set.

 

25

WordPress User Sync

NOTE: This content is for advanced users only, who understand the concept of user tables, database, etc. If you don’t understand any of this, then just ignore this – you don’t really need to know this in order to use DAP. This is only an explanation for those who wish to go under the hood of DAP and its integration with WordPress.

As you probably already know, WordPress has its own user database.

DAP has its own User database, and doesn’t use the WordPress database – for many reasons, not limited to the following…

1) Ability to store more user information than what WordPress allows

2) More powerful user search, profile updates, affiliate information, etc.

So, if you want to use any WordPress based plugins – like WordPress Forums or Subscribe2Blog – these forums are looking at WordPress’ native user database.

Now comes the necessity of “syncing” the DAP user data and your WordPress user data.

In the DAP Dashboard, in “Setup > Config > Advanced“, you will see two settings for syncing DAP & WP user data.

(1) Sync DAP User data and WP User data

If you turn this to “Y” (for “Yes”), then every time someone logs into DAP, their DAP user data (just name and email) is automatically “synced” with WordPress user data. If you set this to “N”, then no data will be transferred from DAP to WordPress.

(2) Sync WP data only for PAID users

This one matters only if you have set (1) above to “Y”.

If you want only your “PAID” members to be synced with WordPress, then set this to “Y“.

If you want both “FREE” and “PAID” members synced with WordPress, then set this to “N“.

Here’s how it actually works:

  1. For the sync to work, you must first setup and save the above 2 config settings
  2. After you save the above two config settings, make sure you log out of DAP and re-log in (if you are/were logged in and testing as a regular user), because only then, the Config settings above will take effect.
  3. Your user must log in through a DAP login form (not the WP login form).
  4. Make sure the user is redirected to any part of your WordPress blog after log in. This can be done via “Logged In URL” setting in DAP Config.
  5. The user can be redirected to any WP page, WP post or even your blog home page – that’s the only time the ‘syncing’ kicks in.
  6. When user lands on any page/post of your WP blog, then the DAP LiveLinks plugin (which you have already installed & enabled) kicks of the “sync”, copies the logged in member’s name and email over to the WordPress user table, and also automatically logs him into your WordPress blog.

That’s all there is to it.

Also see: Forum Integration

23

DAP -vs- The Competition

How does DAP fare when compared to the competition?

We have created a WordPress Membership Plugin Review Chart to help you decide for yourself.

All Facts. No Opinions. Fair as fair can be.

Obviously, we don’t know our competitors’ products as well as we know ours.

So if we missed something, then do let us know below and we’ll do our best to fix any errors and/or omissions asap.

Also, if you have any other questions, comments, corrections or suggestions, feel free to leave them below.

– Ravi Jayagopal

DAP Support & Renewal

Membership Sites Run Themselves Forever

Nah, just kidding 🙂

Contrary to popular belief, or what some people would have you believe, web sites – especially “membership” sites – cannot run themselves. Nor will they keep going on autopilot for ever while you “relax at the beach”. Whoever said that to you, has never owned a web site.

Running a regular web site takes time and effort. Running a membership site can take more time effort, because you also have something called “customer service” and “billing” involved.

While DAP will make your life a lot easier, by putting a great deal of automation at your fingertips, there are still a few moving parts that need to be considered.

First, there web host related issues – like web hosts not having the required libraries or running outdated software, web hosts randomly disabling required libraries (like PDO or JSON) months after you have launched your web site, email server issues, payment processing issues, database issues, web site not being available because of a hacker-attack, your server crashing and causing files and data to go missing, and so on.

Then there are the “User” errors. People do all kinds of things – intentionally or unintentionally – like overwriting or deleting files, deleting databases, entering incorrect database settings, setting up their cron job incorrectly, deleting their cron job settings by mistake, putting the files in the wrong directories, incorrectly uploading files, not uploading the right files – you get the point.

To help with many of these issues, we offer free installation, so we can take all of the hassle out of your hands, even if it means we spend more of our time upfront on your purchase.

But even after doing that, it’s not like things will just continue to run themselves for ever and you can walk happily ever after into the sunset.

People change web hosts, change domains, move servers, move databases, move or rename wordpress installations, install new plugins that may break old plugins, upgrade old plugins that may break new plugins, upgrade to a newer version of WordPress that could break old and new plugins alike, delete plugin files by mistake, etc. Yup, we deal with a number of such “duh!” moments from site owners every other day 🙂

Just the task of managing so many moving parts itself can be a daunting task at times.

So it is critical for your business – and for your peace of mind – that you have reliable, accessible, helpful tech support. Especially when the whole idea of launching a membership site is because you’re hoping that it will become your primary source of income (or at least add a big chunk to your existing income).

Your membership site is your cash cow. Which is why you get Unlimited free tech support via our ticketing system for free for 6 months. During this time, you also get unlimited software updates & upgrades for free.

Free Support means we will answer any questions you may have about using DAP. We will point you to the right documentation for troubleshooting tips. If we are unable to resolve it via the ticketing system, we may optionally (at our discretion) work with you one-on-one via skype or gotomeeting.

But if it requires logging in to your web host to troubleshoot issues, then depending on the complexity of the issue (“I just moved my site to a new host and now nothing is working”), we will have to charge you for premium support.

Premium Support

There may be occasions when you need support right away, need more personalized support or hand-holding, or simply don’t have the time or patience to resolve it via our ticketing system. Or you did “something” and need us to log in to your server and troubleshoot.

In that case, we can work with you 1-on-1 via skype, phone or gotomeeting, for a premium support fee of $45 for 1/2 hour, or $90 per hour. You may need to schedule this in advance depending on our support resources available.

Renewal

The first thing to note, is that the DAP license never expires. So once you buy a copy of DAP, you can use it for life, on as many sites as your license permits you to (like 1-site, or Unlimited-sites), without ever having to pay us a single penny ever again.

So DAP is really a one-time purchase.

When you first buy DAP, you automatically get 6 months of free Software Upgrades & Support. During these 6 months, you get unlimited access to support via our ticketing system, plus you also get to download all new versions of DAP we release during this time.

That said, there’s also the subject of ongoing access to new versions of DAP as and when they are released, as well as ongoing support.

If you see our release history, you will see that we are constantly updating DAP by adding new features, as well as enhancements to existing features. Plus we are very proud of our “FANATIC’nical” support. All of that takes a tremendous amount of time, money and resources.

So after your first free 6 months, any time you want access to support or the newest version of DAP, then there is a small renewal fee, which gives you access to yet another 6 months of free support & upgrades.

Now please note that this is not a forced continuity or subscription.This is a voluntary purchase, and nothing will be charged to you automatically. And you don’t have to renew right away after 6 months. You need to upgrade only IF and WHEN you need access to the latest versions of DAP, as well as support.

Click here to renew your access to DAP Software & Support.

2

Upgrading to DAP version 1.0

The following is relevant to you only if you are “Upgrading” DAP from an earlier version.

Yay, DAP version 1.0 is here! (click here to see the what changed )

This is an important update, so do not skip this.

Here’s how to upgrade to the new version:

1. Download the zip file and unzip to desktop. You should now see a folder by name “dap” on your desktop.

2. Overwrite the contents of your current “dap” folder on your site with the contents of the new “dap” folder on your desktop.

3. Do not try to use any admin functionality yet. Visit the following link:
http://YourSite.com/dap/update.php and follow the instructions on your screen.

NOTE: Replace YourSite.com with your actual domain name.

That’s it!

<sidebar>

This is just for your information….

We have moved the email and header/footer templates from text files into the database, as some web hosts were very weird with file permissions and were causing issues. So all files which were previously located under /dap/templates/email/ and /dap/templates/content/ have now been moved to the database.

The contents of these template files have been copied over as-is to your database. But just as a sanity check, visit your “Admin > Templates” screen and double-check the content of these templates.

</sidebar>