Author Topic: More technical info on External Info feature?  (Read 9584 times)

0 Members and 1 Guest are viewing this topic.

Offline allniche

  • Full Member
  • ***
  • Posts: 110
    • View Profile
More technical info on External Info feature?
« on: August 23, 2011, 06:42:13 AM »
Hello I was wondering if I could please get more info on the external info feature and how sites are encoded with it?  I've read the supplied documentation in the manual but I didn't see for example how a site is encoded into the four digits (e.g. 1234.5678).   

I would like to use the information in order to dynamically construct toplists so that they leave off sites which the surfer has already visited (using info from External Info and the HTTP REFERRER) so that trades get more unique visitors and hits out are used more effectively.

Thank you for any info you can give me!

Offline Kildoozer

  • Administrator
  • Sr. Member
  • *****
  • Posts: 420
    • View Profile
Re: More technical info on External Info feature?
« Reply #1 on: August 24, 2011, 04:00:17 AM »
Hi. Hope it helps.

Code: [Select]
$x[$trader_info->domain] = $trader_info->use_ext_info == "on" ? substr(crc32($trader_info->domain), -4) : "none";

Offline allniche

  • Full Member
  • ***
  • Posts: 110
    • View Profile
Re: More technical info on External Info feature?
« Reply #2 on: August 24, 2011, 07:23:16 AM »
Thank you, it should help a great deal.