Multisite User Management
[resolved] Adding roles upon manual registeration (6 posts)

  1. geminorum
    Posted 5 years ago #

    Can see the plugin hooks to activation and login for adding the roles, but have problems when I manually add the users via network management.

    And thanks btw, it's a time saver!


  2. I have a very similar issue. I'm manually adding members via aMember. When I do this, the plugin fails to sync the users.

  3. thenbrent
    Plugin Author

    Posted 5 years ago #

    To add roles to all the users you've manually added, you can go to the plugin settings page (Network Admin) and save the settings. This will add the role to any users who've not received it.

  4. Thanks, I also found that by putting the plugin in the mu-plugins, it will add the user roles whenever the user logs in for the first time.

  5. geminorum
    Posted 5 years ago #

    thanks for the reply, but the problem still exist even with re-saving settings (unless I change the role and then change it back).

    I'm suggesting you hook your msum_add_roles function to wpmu_new_user action.

  6. thenbrent
    Plugin Author

    Posted 5 years ago #

    Thanks geminorum. I've hooked msum_add_roles() to the wpmu_new_user action for the next release (v1.0) which will be made public shortly.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Multisite User Management
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic