{"id":3255,"date":"2013-05-06T01:09:04","date_gmt":"2013-05-06T08:09:04","guid":{"rendered":"http:\/\/www.digitalaccesspass.com\/doc\/?p=3255"},"modified":"2015-04-15T01:03:29","modified_gmt":"2015-04-15T08:03:29","slug":"dap-upline","status":"publish","type":"post","link":"http:\/\/digitalaccesspass.com\/doc\/dap-upline\/","title":{"rendered":"[DAPUpline]"},"content":{"rendered":"<h3>[DAPUpline]<\/h3>\n[DAPUpline] is basically a WordPress shortcode that you can insert into WordPress pages and posts. It allows you (DAP admin) to <strong>display the member&#8217;s upline affiliate&#8217;s data to the member<\/strong>.<\/p>\n<p>In simple terms, it <strong>shows a user their referring Affiliate\u2019s (a.k.a Sponsor\u2019s) information<\/strong>. It could also be called a <strong>downline builder<\/strong>.<\/p>\n<p>And you can <strong>display any data from the member&#8217;s affiliate profile<\/strong>, on a page.<\/p>\n<p>So when a user visits the page that has this shortcode, it will determine who the visitor\/member&#8217;s affiliate is, from&#8230;<\/p>\n<p>1) Affiliate Cookie (if it exists), or<\/p>\n<p>2) If they\u2019re already a member, and have logged in to DAP, then it will show their current Affiliate\u2019s information. Or,<\/p>\n<p>3) If neither the cookie is set, nor the user has an Affiliate attached to their account already in DAP, then it will show the info of the DAP Admin.<\/p>\n<p>So you can use it to show the user information of the person (affiliate) who referred them to the page.<\/p>\n<p>Think of it as a &#8220;<strong>Your Sponsor<\/strong>&#8221; tag.<\/p>\n<p>Consider this example:<\/p>\n<p>1) John joins your site<br \/>\n2) John fills out his profile with (say) his ClickBank nickname<br \/>\n3) John later refers Adam<br \/>\n4) When Adam logs in, he sees affiliate link to some third-party product, but CB nickname in the affiliate link is replaced with John&#8217;s CB nickname. So if Adam goes on to purchase that third-party CB product, then John will get the affiliate commissions for that purchase.<br \/>\n5) Now Adam fills out his profile with his own CB nickname<br \/>\n6) Adam refers Jill<br \/>\n7) When Jill logs in, she sees affiliate link to same third party product, except this time, the CB nickname is replaced with Adam&#8217;s CB affiliate nickname.<\/p>\n<p>This can be done with any number of third-party programs, as long as the nickname can be easily replaced with the info provided by the upline affiliate. And it&#8217;s not just one field &#8211; you can create multiple profile fields for the affiliate to fill out &#8211; like ClickBankNick, CommissionJunctionNick, JVZooId, GoogleAnalyticsId, etc.<\/p>\n<p>DAP actually even takes this one step further.<\/p>\n<p>When Jill joins through Adam&#8217;s DAP affiliate link, if Adam has not filled out his CB nickname in his profile, then the third-party CB link shows CB Nickname of Site Admin in its place.<\/p>\n<p>So if an affiliate fails to claim his affiliate link, then site admin gets credit for it (and all such links).<\/p>\n<p>Hope this helps.<\/p>\n<p>For eg., to show affiliate\u2019s first name on a page, insert this into page:<br \/>\n<code>[DAPUpline showField=\"first_name\"]<\/code><\/p>\n<p>Full list of available fields from sponsor&#8217;s or affiliate&#8217;s profile:<br \/>\n<code>[DAPUpline showField=\"first_name\"]\n[DAPUpline showField=\"last_name\"]\n[DAPUpline showField=\"user_name\"]\n[DAPUpline showField=\"email\"]\n[DAPUpline showField=\"address1\"]\n[DAPUpline showField=\"address2\"]\n[DAPUpline showField=\"city\"]\n[DAPUpline showField=\"state\"]\n[DAPUpline showField=\"zip\"]\n[DAPUpline showField=\"country\"]\n[DAPUpline showField=\"phone\"]\n[DAPUpline showField=\"fax\"]\n[DAPUpline showField=\"company\"]\n[DAPUpline showField=\"title\"]\n[DAPUpline showField=\"paypal_email\"]<\/code><\/p>\n<p><strong>Showing Custom fields:<\/strong><br \/>\n<code>[DAPUpline showField=\"custom_\"]<\/code><\/p>\n<p>Eg: To show affiliate\u2019s\/sponsor\u2019s custom SSN field (say \u201cssn\u201d):<br \/>\n<code>[DAPUpline showField=\"custom_ssn\"]<\/code><\/p>\n<p>NOTE: You should&#8217;ve <a href=\"http:\/\/DigitalAccessPass.com\/doc\/custom-fields\/\">already created the custom field<\/a> &#8220;ssn&#8221; before you can do this, of course.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>[DAPUpline] [DAPUpline] is basically a WordPress shortcode that you can insert into WordPress pages and posts. It allows you (DAP admin) to display the member&#8217;s upline affiliate&#8217;s data to the member. In simple terms, it shows a user their referring Affiliate\u2019s (a.k.a Sponsor\u2019s) information. It could also be called a downline builder. And you can [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[15,27,65,39,26,100],"tags":[],"_links":{"self":[{"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/posts\/3255"}],"collection":[{"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/comments?post=3255"}],"version-history":[{"count":8,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/posts\/3255\/revisions"}],"predecessor-version":[{"id":4968,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/posts\/3255\/revisions\/4968"}],"wp:attachment":[{"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/media?parent=3255"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/categories?post=3255"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/tags?post=3255"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}