Modify butterfly marketing script so that new visitor/signup is tagged with 5 hidden field values drawn from referrer/affiliate information. The values would be various affiliate id's to be passed onto autoresponder and members area.
The idea is that within the members area a new member will see links to products tagged with the referrers affiliate id. Then upon paid upgrade the new member will be presented with a form in order to modify their information so their affiliate id's will be passed onto their referrals. Something like a downline builder.
msql database and script is on server