Closed (fixed)
Project:
Ubercart Affiliate v2
Version:
5.x-1.7
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
6 Apr 2009 at 22:41 UTC
Updated:
25 Apr 2009 at 01:37 UTC
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
Comment #1
bojanz commentedNo, the code would need to be changed.
Comment #2
lonehorseend commentedI 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?
Comment #3
bojanz commentedYou 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!
Comment #4
bojanz commented