Hi!
In our shop there are agents, who can invite other peoples, but the some of them are already registered.
How to admin can add affiliate to some users?

ps: I badly speak English, but I hope you understand me :)

Comments

bojanz’s picture

Edit the users and add them the "affiliate" role you've created.

rubenlouis’s picture

I think the original question was more about associating a user that already has an account (and has probably already made purchases) with an affiliate.

I was wondering about this myself. Is there an easy way to associate users and affiliates outside of the link/cookie system?

bojanz’s picture

No, but it's in the pipeline for the next release.

rubenlouis’s picture

Good to hear! I have several clients who have asked for this sort of functionality.

In the meanwhile, is there anyway to hack around in the Drupal database to do this? I see a uc_affiliate2_users table that seems to be associated userIds and affiliatesIds. Shouldn't be too hard write some php/sql to edit this table. Or for a real hack, to edit the table itself...

bojanz’s picture

Sure, you can do that.

Enzomaticus’s picture

Has this been implemented yet?

bojanz’s picture

No. I've stopped active uc_affiliate2 development (http://drupal.org/node/797488#comment-4211234)

garyg’s picture

If I want to assign a user to an existing affiliate, what would I change in the table?