mnymkr Posted August 22, 2008 Share Posted August 22, 2008 will the affiliate link drop the cookie if you direct it to any page in WHMCS , for instance the product page or can it only be the home / front page? Is this a fairly easy affiliate system to use? 0 Quote Link to comment Share on other sites More sharing options...
chickendippers Posted August 22, 2008 Share Posted August 22, 2008 The affiliate link only goes to your homepage. 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted August 22, 2008 Share Posted August 22, 2008 will the affiliate link drop the cookie if you direct it to any page in WHMCS , for instance the product page or can it only be the home / front page? Yes it will. The affiliate link when it is clicked goes to http://yourdomain.com/* This sets the cookie on the users (clickers) computer then sets the header to permanently redirect to the home page by default. The redirection can be set to any page you want. You can also change the amount of time the cookie is set for. Just edit * eg. If you want to redirect straight to you order page change the last line to header("Location: ".$CONFIG["Domain"]."/cart.php"); (Don't forget the full stop) 0 Quote Link to comment Share on other sites More sharing options...
davet Posted October 8, 2008 Share Posted October 8, 2008 I need to be able to link direct to a product for a specific affiliate. I'd like all affiliate links to go to my home page, but I have create a branded splash page for one of my affiliates. When people he sends to the splash page clicks SIGN-UP I would like it to add the following product http://interactiveonline.com/billing/cart.php?a=add&pid=77 to the cart with his affiliate ID. According to the posts I have found on this forum, this doesn't appear to be possible yet. Correct? I figured out how to accomplish this. I created a new * file and named it aff-youjoomla.php. I then added the following to the file: header("Location: ".$CONFIG["Domain"]."/billing/cart.php?a=add&pid=77"); I then gave the new affiliate link to my affiliate: http://interactiveonline.com/billing/aff-youjoomla.php?aff=058 Using that affiliate code takes this specific affiliate link to the specific product in WHMCS. I tested it and it works 0 Quote Link to comment Share on other sites More sharing options...
okui Posted October 15, 2008 Share Posted October 15, 2008 This sets the cookie on the users (clickers) computer then sets the header to permanently redirect to the home page by default. About the cookie time, how long will it save ? 0 Quote Link to comment Share on other sites More sharing options...
Giannis Posted October 17, 2008 Share Posted October 17, 2008 setcookie("WHMCSAffiliateID", $aff, time()+90*24*60*60) 0 Quote Link to comment Share on other sites More sharing options...
okui Posted October 17, 2008 Share Posted October 17, 2008 setcookie("WHMCSAffiliateID", $aff, time()+90*24*60*60) Hi, it mean 90 days? thank 0 Quote Link to comment Share on other sites More sharing options...
Giannis Posted October 17, 2008 Share Posted October 17, 2008 yes 90 days 0 Quote Link to comment Share on other sites More sharing options...
eacollin Posted October 20, 2008 Share Posted October 20, 2008 Yes it will. The affiliate link when it is clicked goes to http://yourdomain.com/* This sets the cookie on the users (clickers) computer then sets the header to permanently redirect to the home page by default. The redirection can be set to any page you want. You can also change the amount of time the cookie is set for. Just edit * eg. If you want to redirect straight to you order page change the last line to header("Location: ".$CONFIG["Domain"]."/cart.php"); (Don't forget the full stop) What page would I edit to do something like this and add my Links for my Affilates on the page? http://tshosting.com.au/affiliate.php 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted October 20, 2008 Share Posted October 20, 2008 You would create a new php file and add your content with a link to the registration page 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.