Affiliates Auto Role

Update : Use Affiliates Role instead. The plugin adds the Affiliate role to the new user instead of replacing it like Affiliates Auto Role does and it works with all versions of the Affiliates plugins.

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”

  1. how to assign role just Affiliate .. i try to my wesite i did’t see the option ..there only ..administrator.edito etc ..

  2. 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.

    1. 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

  3. what happens if they register and they are already registered in our database (ie with another role?)

    1. 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.

  4. and is there anyway it can just be set to pending -ie needs approval – rather than auto creating?

    1. 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.

  5. oh does it just create an affiliate user role ?

    1. Hi,
      as description says: “creates the Affiliate role and assigns it to newly added affiliates.”
      Role “Affiliate” is assigned to new affiliates.
      cheers

  6. Sorry how does this work? I downloaded and installed but don’t see config to tell it what role to make them?

  7. Thanks, appreciate your quick respond!

  8. The updated version 1.1.0 is available now. This adds the role to the user account which is related to the new affiliate.

  9. dundadasociety Avatar
    dundadasociety

    Does this work with the enterprise version?

    1. 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

Your email address will not be published. Required fields are marked *

Share