My link is http://mysite.com/referral/61757470

In the database, where do I find 61757470? I thought it might be in the referral table, but it's not.

Dale

Comments

kbahey’s picture

Status: Active » Closed (works as designed)

Referral does not store referral info.

This number is the UID of the user obfuscated in a certain way. You can check the code to see how to unobfuscate it.

dsextonj’s picture

No mater how I look at it, I can't see how user id 1 equals 61757470. It looks like it puts the number in hex such that user id 12 = c and user id 21 = 15. What else is added to user id 1 to get 61757470?

Dale

dsextonj’s picture

Ahh!!! when I added the base url it works!!!

kajamohideen’s picture

Is there any function to get the referral code, in order to make a link in my custom profile page ?