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

bojanz’s picture

You 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')) )

IWasBornToWin’s picture

Thank 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

bojanz’s picture

The affiliate can already see that in his "Downline" tab. You can however, add custom code so that an email is sent.

bojanz’s picture

Status: Active » Closed (fixed)