I want all my registered users to be able to generate affiliate links without having to pre-approve them. When I select "act as affiliate" for the authenticated user role, it does not list the authenticated users in the administrative interface. The authenticated users can access the affiliate center, generate code, and even have their code tracked in their own account, but I can't see what traffic or commissions they are generating from the admin interface. They do not exist on the admin side!
I have to add a separate role for a user to show up as an affiliate in the admin interface...but I don't want to have to do that. I have a lot of existing users and this would be a pain in the you-know-what.
Thank you.
Comments
Comment #1
bojanz commentedSorry, this is how the module works right now. Says so right in the README.
This is due to technical limitations of the module (the query in uc_affiliate2_admin_manage if I remember correctly) and might be changed in the future (patches are welcome)
Comment #2
ufku commentedSince "act as affiliate" seems to be a special kind of permission and must be given to a single role, i think it is better to remove it from permissions list and create a setting like "Choose the use role who can act as an affiliate". You keep the role id in a variable and it makes the query in uc_affiliate2_admin_manage simpler and more efficient.
Comment #3
bojanz commentedYou can have several roles selected for "act as affiliate".
Comment #4
ufku commentedThen let the role setting allow choosing multiple roles. When the roleID=2 is in the chosen array, the query in management page becomes way simpler. It will not require a join with roles table. And snappydresser will be happy.