Entries Tagged 'Admin' ↓

Data Loading Errors

Progress Bar Never Stops

You’re seeing the green “Loading… Please Wait” progress bar continuosly running – it never stops and comes back with any data.

If this is a new setup, then it’s possible that your web host does not have a library called “JSON” enabled. Just ask them to enable it for your server. It’s rather simple to do, and we’ve never seen a host that won’t do this for their customers.

If it’s an old setup, and it was working previously, then your host made some changes that caused the library to stop working. So you still need their help in resolving the issue.

Error Message: “There was an error returning data’”.

One possibility is that your database or web site is temporarily down, slow, or plain not responding for some reason. So DAP cannot connect to your database, and comes back with this error.

Or it could also be the “Progress Bar Never Stops” issue from above.

Disabling The Built-In Affiliate Program

There are many reasons for wanting to do this.

1) You simply don’t wish to let people know that you have an affiliate program – maybe it is so that you don’t want to confuse the mom-and-pop niche that you are in with crazy words like “Affiliate” and “Commission” :-)

2) You deliberately want to disable certain users from using the affiliate link, and not award them any commissions, even though they know what that link is.

3) You are using a 3rd party affiliate service – like ClickBank – and don’t want to use DAP’s built-in affiliate program.

At this time, you cannot really do (2). There is no way to stop DAP from tracking an affiliate’s referrals and not tracking their earnings. Only work-around right now, is to simply not pay them at all, for whatever reason (you better have a very good reason, if not it could be legal trouble for you).

Here’s how you can do (1) – which essentially works for (3) also.

A) If you are using the default dap/index.php as your members’ home page, then all you have to do is to go to…

Setup > Config > Advanced > “Should Affiliate Section be displayed on User `Home` Page? (If using ClickBank, set this to `N`)”

And set it to “N” (for “No”).

That will essentially “hide” the affiliate section from showing up on the default DAP home page.

B) If you are not using the default dap/index.php, and are putting all of the DAP member content (like User Profile, User Links, Affiliate Details) etc right into your WordPress blog, then just skip the Affiliate Details part, and don’t create a custom page for Affiliates within your blog. If you don’t create the page, then they won’t see it, that’s all.

NOTE: If you don’t want anyone to get any commissions, also make sure that you don’t set up any commissions on the “Affiliates > Set Commissions” page.

So basically, in both (A) and (B), you are essentially “hiding” the affiliate program details, and not really disabling it.

In a future version of DAP, we will have the ability to selectively turn off an individual’s ability to use their affiliate link, so DAP will completely ignore all referrals from the affiliate, and won’t track anything from them.

Cancellation or Refund Requests

The question

How does a customer, once they have signed up and become a member, cancel their membership (or get for a refund)?

Cancellations

If it’s Paypal, they could go into their Paypal account, and cancel their subscription themselves.

If it’s ClickBank, they can log in to their CB account, and cancel their subscription themselves.

If it’s any other payment processor or cart – like 1SiteAutomation.com, Authorize.net, Paypal Payments Pro, etc – then they have to ask you (the membership site owner) to cancel.

Refunds

Except with CB, in all other cases, they have to ask you for a refund

What Next For DAP Admin?

If it’s a cancellation, then DAP already does “Pay As You Go” processing – which means, their account will automatically expire at the end of the current recurring period (eg., end of current month).

If it’s a refund of just one recurring payment, then you can go into the “Users > Manage” screen, search for the user, and do a “Rollback Access for Selected User(s) to the Product by 1 Recurring Cycle“.

If it’s a refund of the entire purchase, then make sure you “Remove” user from product.

Also see: Cancellations & Refunds

Moving DAP From One Host (or Domain) To Another

Here’s how you can move an existing DAP installation from one host  – or domain – to another.

  • 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
  • Copy the database info from your new blog’s “wp-config.php” to the “dap-config.php” file stored on your desktop.
  • Then 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.
  • Upload all dap files to your new site (don’t do full installation – just upload the files).
  • Also upload the LiveLinks files to wp-content/plugins/ .
  • Upload the new dap-config.php file from your desktop to the “dap” folder on your new site.
  • Log in as WP admin, and activate the 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.

Last Cookie

DAP uses “Last Cookie” to award commissions.

So if someone clicks on the affiliate link of Jack, and then a few hours (or days) later, clicks on the affiliate link of Jill, and then goes on to purchase your product, then DAP awards the commission to Jill, whose affiliate link was the one clicked most recently.

So, in general, to protect your affiliates, you shouldn’t be promoting your site generally on the web using your own affiliate link (as DAP admin).

That way, you never compete with them for commissions on your own site.

However, using your own affiliate link works great, say, when you’re marketing in specific markets, like say on Adwords. Even though Adwords allows you to set up and track goals, using a special affiliate can help you figure out exactly how much revenue you have earned through this affiliate.

So, for Adwords marketing, you could create a new user called “Adwords Affiliate” and then use this user’s affiliate link as your landing page URL. Of course, you could also customize this affiliate’s link to land on any page of your web site (or any site for that matter) by adding the text “&p=yoursite.com/anypage.html” to the end of your standard affiliate link, like this…

http://YourSite.com/dap/a/?a=1234&p=yoursite.com/googleoffer1.html

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

Creating Multiple DAP Admins

Adding new User  and giving him/her “Admin” access

1) Add new user

2) Go to “Users > Manage”, search for user (that you wish to make an Admin) by email id or last name.  User is displayed in search results.

3) Click on user’s “Full Name” – it will bring you to their profile page where you can edit their user information

4) Change “Account Type” field to “Admin

5) Click “Update User” button

Giving existing User “Admin” access

Start from step (2) above

That’s it.

NOTE: These newly created admins will have the exact same access and privileges as you do (as the ‘original’ admin who created these other admins). They can do whatever you can do – add/delete/modify users, products, access reports, change affiliate info, etc. They can do ANYTHING that you can do in the Admin Dashboard. Just be aware of that.

How Do Members Get Added To Your Membership Site

(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

dap-direct-signup

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


dap-direct-signup-onclick

This HTML gives you the full HTML form 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 it on page of your web site where you want sign up users. This could be a WP page or post too.

Note: When you see the above HTML code, there’s a field in there that looks like this:

<input type=”hidden” name=”redirect” value=”http://YourSite/Your-login-page-link/?msg=Success!%20Your%20membership account%20has%20been%20created.%20%20Check%20your%20email%20address%20in%20a%20few%20minutes%20for%20your%20password“>

Don’t forget to change the text above, where it says “http://YourSite/Your-login-page-link/?…” to point to your actual domain name and to your actual login page (if you have customized it).

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.

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.

While adding them, 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.

Setting Up Your Paypal Button and Paypal IPN

DAP can process Paypal payments using Paypal IPN (Instant Payment Notification).  All you need to basically do is to enable IPN within your Paypal account and create your Buy button with a few extra parameters. It’s all explained below.

So here’s what you need to do to process orders through Paypal using IPN, and have your buyers automatically added to DAP on your site.

1. Enable IPN within your Paypal account.

a) Log in to your Paypal account
b) Go to Profile > Instant Payment Notification
c) If IPN is already enabled, and you already have a URL in that field, then skip ahead to Step 2.
Else, if IPN is not already enabled, enable it and enter the url…
http://YourSite.com/dap/dap-paypal.php
in the “Notification URL” field. Of course, don’t forget to change the text “YourSite.com” to your actual web site domain name.

2. Create your “Buy Now” or “Subscribe” or “Add to Cart” button as follows.

  • Paypal “Item Name”
    When you create your “subscribe” or “buy now” button, make sure the Paypal “Item Name” is the EXACT same spelling and case as the DAP “Product Name” that you created within DAP. In fact, login as DAP admin, edit the product, copy the text from the “Product name” field, then paste this into your Paypal “Item Name” field, so that there are no typos. If the product names don’t match, DAP will ignore any IPN posts coming in from Paypal.
  • Finally, when creating the button, just add a custom varible to the button as follows:Under “Step 3: Customize advanced features (optional)” tab, within the “Advanced Variables” text box, enter the following (change the text YourSite.com below to your domain name).

    notify_url=http://YourSite.com/dap/dap-paypal.php

3. Save the button.

Copy the code for this button, and publish the code on your web site’s sales page, or WP page or post.

That’s it!

So when someone subscribes to, or purchases your product using this button, Paypal will send an IPN notification to your web site to the above link. DAP will then verify the product and payment status, and then will automatically add give the buyer/subscriber access to that product.

If the email id used in this purchase is not already associated with an account on your site, then DAP automatically creates a new account, and sends the buyer an “activation” email that requires them to click on a link to confirm and activate their account.

But If this email id belongs to someone who already has an account in DAP (existing buyer, purchased a different product this time), then DAP doesn’t create a new account for this user. It simply gives the existing account access to this new product.

So when the user logs in, they will see that they now have access to TWO products, with each product and the available URL’s listed separately.

Note: If you’re going to be using Paypal to process payments, then you don’t need to set up the Email Processing info in your DAP Admin > Config > Payment Processing screen. You don’t need to set up the DAP Email Order cron job either.

Changing A Password

If you want to change the password of a user, then just go to the Users > Manage link, search for either that user (if you know her email id), or search for all users. See more about searching in another post.

Then click on the “Name” of the user, and you will go to the “Edit User” screen. There you can change the user’s password.

If you are the admin and looking to change your own password, then you can do the same as above (as the “admin” is also a user in the system, except with the user type “admin”).

Or you can go to “User Home” and click on “Edit Profile” and change your password there.

Now the “User Home” is the page that all your users would see when they are logged into your members-only area powered by DAP. So, we’ve basically provided you, the admin, a way to see what they see, when you visit the “User Home” page.