We have a network with about 300 blogs on wpmu, and about 3000 user accounts.
Our customer support department is under duress because clients find it difficult to add their colleagues to the blog.
This is what I need to set up, and I am totally prepared to write every line of the code myself–just don’t want to re-invent the wheel. Maybe I’m missing something obvious or maybe there is a plugin for it.
1. Admin level users can add brand new users to the network.
2. Preferably, in doing so, that new user is added to a specified blog in the network and, at least for now, ONLY that blog.
3. When adding that user, the admin can immediately access and edit that users biographical info.
4. This means that a confirmation email sent to the new user is out of the question. The admin user should not have to log in to his colleagues email account in order to activate the account.
5. There is the option of setting up a dummy email account, like email@example.com. In theory, the admin user could use this dummy account to kick start new users. But sometimes the admin is adding 100+ users. We can’t have this extra step.
I was looking at users.php in the wp-admin folder and I see that the “skip confirmation email” mode is littered with checks for if(is_super_admin). So this is going to be a solution that ties in with the existing registration API, as far as I can tell.
1. Use the remove_menu_page to get rid of the currently useless (for this discussion) Add User page
2. Use add_menu_page to add a new and useful Super Add User page.
3. Just make a custom form with prompts for username, email, and password. Handle the form using add_user and add_user_to_blog. I’ll have to encrypt the password on my own before writing it to the DB.
4. That … should … work. Right?
Thanks for your thoughts on this. Again, not looking to burden anyone with demands for code snippets, just looking for big-picture objections / support.
- The topic ‘Allow admins to add new users to network & site w/o confirmation email’ is closed to new replies.