Is there any way to make it so that the automatically generated links don't say "affiliate" in the url and uses the user id instead of user name?

So instead of saying www.yoursite.com/affiliate/testuser, it says www.yoursite.com/yoursite/2

Comments

bojanz’s picture

No, the code would need to be changed.

lonehorseend’s picture

I don't mind recoding what I need. Can you just give me a hint as to the line numbers involved? Or are the other module dependencies for this?

bojanz’s picture

You need to change uc_affiliate2_click to accept the uid instead of username, and change the 'affiliate' entry (which ponts to uc_affiliate2_click) in uc_affiliate2_menu to something else.

Have fun!

bojanz’s picture

Status: Active » Closed (fixed)