NATs users-

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • quantum-x
    Confirmed User
    • Feb 2002
    • 6863

    #1

    NATs users-

    How do I change an encoded tracking code back to an affiliate id?
    ie -
    on a URL like http://www.ravenriley.com/tour1/?nats=NjM6Mzox

    Changing the NjM6Mzox

    to 'quantumx' and pulling out the other data.
    PrettyInCash.com - BoozedGFs.com - TeenGFs.com - JizzGFs.com- MilfUploads.com -
  • Nasty
    Confirmed User
    • Aug 2002
    • 1575

    #2
    http://www.opinionatedgeek.com/dotne...e/Default.aspx

    “Ours is a world of nuclear giants and ethical infants. We know more about war than we know about peace, more about killing than we know about living. If we continue to develop our technology without wisdom or prudence, our servant may prove to be our executioner.” ― Omar Bradley (1948)

    Comment

    • quantum-x
      Confirmed User
      • Feb 2002
      • 6863

      #3
      it's base 64? neat.
      PrettyInCash.com - BoozedGFs.com - TeenGFs.com - JizzGFs.com- MilfUploads.com -

      Comment

      • quantum-x
        Confirmed User
        • Feb 2002
        • 6863

        #4
        hmm.. that only takes it back to an ID (ie 634:3:1) and that ID does not directly correspond to the correct affilate id
        PrettyInCash.com - BoozedGFs.com - TeenGFs.com - JizzGFs.com- MilfUploads.com -

        Comment

        • Verbal
          Confirmed User
          • Dec 2001
          • 3420

          #5
          I'm waiting for "NATS for Dummies" to come out. I'll be first in line.

          Comment

          • TMM_John
            Confirmed User
            • May 2004
            • 6664

            #6
            Originally posted by quantum-x
            hmm.. that only takes it back to an ID (ie 634:3:1) and that ID does not directly correspond to the correct affilate id
            Quantum-x, that is the campaignid (which is linked to your affiliate id), siteid, and programid (all needed for the code to function).

            You should ask the program you are promoting to provide their affiliates with unencrypted link codes (something all NATS programs can do if they choose to do so) which will allow you to link with your affiliate login name and site/program id unencoded.


            Too Much Media - Makers of the Industry's Leading Payite Management Platform, NATS!

            Comment

            • TheDoc
              Too lazy to set a custom title
              • Jul 2001
              • 13827

              #7
              When you goto the linking codes page, choose your Campaign, then the program..

              Directly above the linking codes in the menu it says the text below. Click Switch and it will pull up the unencoded codes.

              Your Link Codes - Mode: Encoded [Switch]
              ~TheDoc - ICQ7765825
              It's all disambiguation

              Comment

              • bdld
                $100,000
                • Dec 2001
                • 11452

                #8
                every nats sponsor should offer unencoded links.

                Comment

                • quantum-x
                  Confirmed User
                  • Feb 2002
                  • 6863

                  #9
                  If anyone else is interested, I did this to solve my problems.
                  Perhaps it'll help you, too.

                  PHP Code:
                  function getAffiliate($_NATS) {
                      list($campaignID) = explode(":", base64_decode($_NATS));
                  
                      open_db();
                      $sql = "SELECT `a`.`username` FROM `accounts` as `a`,`campaigns` as `c` WHERE `a`.`loginid` = `c`.`loginid` AND `c`.`campaignid` = '$campaignID'";
                      $result = mysql_query($sql);
                      $row = mysql_fetch_assoc($result);
                      close_db();
                  
                      return $row['username'];
                  } 
                  
                  PrettyInCash.com - BoozedGFs.com - TeenGFs.com - JizzGFs.com- MilfUploads.com -

                  Comment

                  Working...