View Single Post
Old 12-17-2008, 09:48 AM  
SCORE Ralph
Confirmed User
 
SCORE Ralph's Avatar
 
Industry Role:
Join Date: Mar 2003
Location: Miami, FL
Posts: 2,089
Quote:
Originally Posted by EscortBiz View Post
Since nats is something im considering id love to know how they did this without having you change links? One of my main reasons for not using nats now is because affs will have to change links but if it can be done without them doing anything it can be a big plus
1) Import old users into NATS maintaining usernames
2) Create translation database or array for old trackingID > new NATS campaignID
3) Create script to generate new NATS code ie:

function generateNatsCode ($siteID, $campaignID) {
$programID = 1; // default program
$natsid = str_replace('=', '', base64_encode($campaignID.':'.$programID.':'.$site ID));
return $natsid;
}

4) Do a redirect to the new NATS URL with NATS ID intact. ie:

$natslink= generateNatsCode ($siteID, $campaign);
$url = "http://www.domain.com/track/$campaignID";
header("Location: $url\n\n");
exit;

5) Have apache run this script whenever an old ID is requested...

Shouldnt be too complicated to do.
__________________
GetSCORECash.com | In the Biz Since 1991
Big Tits | Granny & MILFs | Amateurs | Big Booty | Foot Fetish | BBW | Teens
Hosted Embeds | MP4s | RSS Feeds | FHGs | Model Directory
SCORE Ralph is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote