Closed (fixed)
Project:
Ubercart Affiliate v2
Version:
6.x-2.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
25 May 2009 at 04:33 UTC
Updated:
10 Jun 2009 at 13:59 UTC
I'm automatically making all new registered users an affiliate. How do I notify the referring affiliate when they refer a new user who joined? I looked at actions and triggers but can't find a solution.
This is a separate question. ( Do I need to create a new issue?) Is there a way to rename the "downline" and "upline" tabs to something else? I'm only doing a two-tiered affiliate system and would prefer to stay away from MLM perceptions and questions if possible.
Thanks
Comments
Comment #1
bojanz commentedYou would need a custom code change for that. You would need to add code to the uc_affiliate2_user function, case "insert"
For the upline/downline issue, just open the .module and edit the titles of the two entries in uc_affiliate2_menu. Then find the uc_affiliate2_upline and uc_affiliate2_downline functions, and change the titles there too ( looks like this: drupal_set_title(t('Upline')) )
Comment #2
IWasBornToWin commentedThank you very much for a prompt reply. Your module is great. Will I also need custom code to notify the affiliate when their "recruit" bought something and the affiliate earned a commission?
Thank you
Comment #3
bojanz commentedThe affiliate can already see that in his "Downline" tab. You can however, add custom code so that an email is sent.
Comment #4
bojanz commented