Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar Mark Forums Read
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 02-04-2008, 03:01 PM   #1
DigitalPimp
Confirmed User
 
Industry Role:
Join Date: Jun 2003
Location: Los Angeles, CA
Posts: 512
Any way to decode a NATS ID?

Anyone know if it is possible to convert another affilaite's NATS encoded ID to the unencoded version?
DigitalPimp is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-04-2008, 03:17 PM   #2
GrouchyAdmin
Now choke yourself!
 
GrouchyAdmin's Avatar
 
Industry Role:
Join Date: Apr 2006
Posts: 12,085
http://www.grouchyadmin.com/natsdecode/

Yes, it's possible. It's just a base64 value with the terminators stripped.
__________________
GrouchyAdmin is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-04-2008, 05:11 PM   #3
DigitalPimp
Confirmed User
 
Industry Role:
Join Date: Jun 2003
Location: Los Angeles, CA
Posts: 512
Thanks, so I put in my encoded NATS user name and got a number back, what do I need to do to that number to get my NATS user name?
DigitalPimp is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-04-2008, 05:13 PM   #4
StuartD
Sofa King Band
 
StuartD's Avatar
 
Join Date: Jul 2002
Location: Outside the box
Posts: 29,903
Quote:
Originally Posted by DigitalPimp View Post
Thanks, so I put in my encoded NATS user name and got a number back, what do I need to do to that number to get my NATS user name?
Heh, for that you'd need the sponsor's database.
It's your database ID.
StuartD is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-04-2008, 05:18 PM   #5
Jace
FBOP Class Of 2013
 
Industry Role:
Join Date: Jan 2004
Location: bumfuck, ky
Posts: 35,562
i think he wants to convert the NTkyMDozOjEw to his username, and without the sponsor database it is not possible because the NTkyMDozOjEw is created when the user creates the affiliate account and each sponsor has their own database

so, I could have NTkyMDozOjEw with occash.com and someone else could have NTkyMDozOjEw with insertcashnamehere.com....all though it is pretty improbable that anyone would have NTkyMDozOjEw again, but definitely possible
Jace is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-04-2008, 05:32 PM   #6
kristin
GOO!
 
Industry Role:
Join Date: Sep 2002
Location: Back Home : )
Posts: 9,768
Quote:
Originally Posted by GrouchyAdmin View Post
http://www.grouchyadmin.com/natsdecode/

Yes, it's possible. It's just a base64 value with the terminators stripped.
When I put in my code I get 26:6:1. What is the 26?

The 6 is the program and 1 is the site id. But the 26 from what I know has nothing to do with me as a WM or anything in my backend to associate with anything Yappo/YappoDollars.
__________________
Vacares rules.

"Usually only fat guys have the kind of knowledge and ability that Kristin has."
kristin is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-04-2008, 05:51 PM   #7
DigitalPimp
Confirmed User
 
Industry Role:
Join Date: Jun 2003
Location: Los Angeles, CA
Posts: 512
Quote:
Originally Posted by Jace View Post
i think he wants to convert the NTkyMDozOjEw to his username, and without the sponsor database it is not possible because the NTkyMDozOjEw is created when the user creates the affiliate account and each sponsor has their own database

so, I could have NTkyMDozOjEw with occash.com and someone else could have NTkyMDozOjEw with insertcashnamehere.com....all though it is pretty improbable that anyone would have NTkyMDozOjEw again, but definitely possible
Yeah that is what I wanted, oh well.

Quote:
Originally Posted by kristin View Post
When I put in my code I get 26:6:1. What is the 26?

The 6 is the program and 1 is the site id. But the 26 from what I know has nothing to do with me as a WM or anything in my backend to associate with anything Yappo/YappoDollars.
Is it not the database ID of the account? If not, probably the database ID is derived from it somehow.
DigitalPimp is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-04-2008, 06:31 PM   #8
masterwebmonkey
Registered User
 
masterwebmonkey's Avatar
 
Join Date: Feb 2004
Posts: 93
function get_nats_info($decode){
$chars = strlen($decode);
$add = 4 - ($chars % 4);
if ($add < 4) while($add--) $decode .= '=';
list($campaignid, $programid, $siteid) = explode(':', base64_decode($decode));
return $campaignid . ' : '.$programid.' : '. $siteid;
}

the "26" in your example is the defualt campain id for that webmaster account

if the site uses "un-encoded" nats codes look for that ...

the format is USERNAME;26:SITE_SHORT_NAME:PROGRAM_SHORTNAME
__________________
Programmer looking for work you can hit me here -> Master Web Monkey or ICQ 281945544
PHP mySQL Flash ActionScript3 html javascitpt PERL::MECINIZE expect NATS MPA3 Responsys Interact
masterwebmonkey is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-04-2008, 06:34 PM   #9
masterwebmonkey
Registered User
 
masterwebmonkey's Avatar
 
Join Date: Feb 2004
Posts: 93
sorry that should have read

USERNAME:PROGRAM_SHORTNAME:SITE_SHORT_NAME

USERNAME;(campainid):PROGRAM_SHORTNAME:SITE_SHORT_ NAME
__________________
Programmer looking for work you can hit me here -> Master Web Monkey or ICQ 281945544
PHP mySQL Flash ActionScript3 html javascitpt PERL::MECINIZE expect NATS MPA3 Responsys Interact
masterwebmonkey is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-04-2008, 06:43 PM   #10
GrouchyAdmin
Now choke yourself!
 
GrouchyAdmin's Avatar
 
Industry Role:
Join Date: Apr 2006
Posts: 12,085
I guess everything's already been properly answered.

But, no, as stated, without the mapping of accountid to account, and programid to program you can not convert someone else's data accurately.
__________________
GrouchyAdmin is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-04-2008, 07:12 PM   #11
fuzebox
making it rain
 
fuzebox's Avatar
 
Industry Role:
Join Date: Oct 2003
Location: seattle
Posts: 22,167
Quote:
Originally Posted by kristin View Post
When I put in my code I get 26:6:1. What is the 26?
Campaign ID silly
fuzebox is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-04-2008, 09:20 PM   #12
kristin
GOO!
 
Industry Role:
Join Date: Sep 2002
Location: Back Home : )
Posts: 9,768
Quote:
Originally Posted by fuzebox View Post
Campaign ID silly
Yeah, I'm retarded.
__________________
Vacares rules.

"Usually only fat guys have the kind of knowledge and ability that Kristin has."
kristin is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks
Thread Tools



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.