Your cart is currently empty!
Affiliates Auto Role
Here’s a little WordPress plugin that creates the Affiliate role and assigns it to newly added affiliates.
Click to download Affiliates Auto Role 1.1.0
This plugin requires Affiliates Pro or Affiliates Enterprise to automatically assign the role to the user account related to a new affiliate.
Comments
15 responses to “Affiliates Auto Role”
how to assign role just Affiliate .. i try to my wesite i did’t see the option ..there only ..administrator.edito etc ..
If you are not adverse to modifying the plugin, by adding in $user->remove_role( ‘subscriber’ ); above the $user->add_role( ‘affiliate’ ); they will be shown as affiliate in the user table (please note I had already created this role with the Members plugin.
Hi,
In your case it may be correct, but in general, the user using the plugin expects to add the role, but not to be removed to “registered”.
Maybe WordPress should be corrected to show all the roles in table.
In any case, thanks for the suggestion,
cheers
what happens if they register and they are already registered in our database (ie with another role?)
Then “Affiliate” role is added, and now the user has two roles.
Beware, WordPress users table only show the first role, but if you filter by role “Affiliate”, you could see that user has this new role.
and is there anyway it can just be set to pending -ie needs approval – rather than auto creating?
Hi,
when a new affiliate is created, automatically is approved. You could disallow affiliates registration (on Affiliates->Options), and add affiliates manually (on Affiliates->Manage Affiliates) when they send a form.
oh does it just create an affiliate user role ?
Hi,
as description says: “creates the Affiliate role and assigns it to newly added affiliates.”
Role “Affiliate” is assigned to new affiliates.
cheers
Sorry how does this work? I downloaded and installed but don’t see config to tell it what role to make them?
Thanks, appreciate your quick respond!
The updated version 1.1.0 is available now. This adds the role to the user account which is related to the new affiliate.
Does this work with the enterprise version?
Yes it does but I would only use this plugin in very specific cases, i.e. normally I wouldn’t. Caution is advisable, if you assign an admin account it will change the user’s role and will not be an admin anymore.
Leave a Reply