Hi guys its my first post here so please be gentle with me.
After looking through all the ubercart modules regarding affiliates, I could not see anything that offered as much flexibility as you do with yours. The only downside to your affiliates system is that it doesnt offer any integration with ubercart.
I'll try and explain a few things in detail here regarding functionality and workflow.
A registered user wants to become an affiliate, they apply for the affiliate application, the store admin receives the email request, looks through it and then logs into drupal and authorizes the new affiliate user.
The new affiliate will have the following at his disposal :
- Banner images
- Text links
- Product links
The new affiliate then places one of the above mentioned on his website / blog / newsletter.
A potential customer of your product clicks on any of the above mentioned and then comes to your store or product, he likes what he/she sees and makes an order.
Once the payment has gone through (payment received), the referrer will get a commission based on your predefined % in the affiliate section.
The affilate gal / guy can then see all of his earnings grouped by the SKU
Thats basically it, I'll stop rambling on now and see what your thoughts and opinions are.








These are some good ideas and I like them. First, take a look at this post: http://www.moneyscripts.net/forums/support/2010/01/15/can-i-use-affiliat...
It has some similar items that may interest you, and they have just been added in to the module. Some of them cover part what you are describing here.
Now, to address your Feature Requests.
Banner Images, Text Links, Product Links
----------------------------------------
Basically, once a user comes to the site from an affiliate's link, they are tied to the affiliate and it is remembered in cookies and sessions. When they register, they are marked as a referral for the affiliate. Then whenever they make a purchase, the affiliate will get commission.
So from what I can see, there really isn't a need for Product Links. Affiliates can just add their username or user id to the end of a product URL, and that will work just fine.
Text Links are already given in the User Account, so we don't need to talk about those either.
Banner Images are something that I don't currently have built into the module, but which could easily be done... I will add this as a feature request.
Admin Approval for Affiliates
-----------------------------
Whether a user is an affiliate or not depends on whether their role has the 'act as affiliate' permission. The best way to do what you are describing is make a new role called 'Affiliate', grant that permission to it, and then use a module like Apply For Role (http://drupal.org/project/apply_for_role) to let them apply to be an Affiliate. I think putting this functionality into the module would be reinventing the wheel a bit.
Order Affiliate History by SKU
------------------------------
Currently, the Affiliate History is filterable by many things, such as date, referral, type, etc. But filtering by SKU would also be beneficial. I will add this as a feature request as well.
Sincerely,
Leighton Whiting