Directory Affiliate Plugin

Title says it all. Affiliate plugin for directory would be huge!