I need a script or plugin that allows members of my Hotaru CMS site to refer new members with a user-unique URL. This program will then work with the Google AdSense revenue sharing plug-in, to split Google AdSense impressions 3 ways - 65% for the author of the page, 25% for the referrer of the author, and 10% for the admin. If the user was not referred to the site, admin would receive 35%. Furthermore, the user will need to be able to see a list of the people they referred in their profile.
**I already paid to have this process created for Pligg** - **and I have a similar script for drupal as well**. Hotaru uses a much simpler language, so coding this should be easy. You could either change over what I have for Pligg, translate a drupal module, or start from scratch.
Hotaru also has complete documentation on their website about creating plugins and working with pages.
For an example of what I am looking for, please take a look at the referral programs on [login to view URL], [login to view URL], [login to view URL] and [login to view URL] - all of these websites have a similar referral scheme.