Add "create_subsite_user()" function
The idea behind this is to have the ability to create users for sub sites on your WPMU install.
For example, I had to manually create a function, unless you know of something that can do this, that on sign up on the main site, I would create a user for my support sub site. This way they get immediate access to support through the sign up process.
The function would ask pretty much do wp_create_user and add_user_to_blog in on function asking the username, password, email, role, blogid.
Do I understand it correctly, that you want WPMU to manage and create users for subsites in the backend?
If you already made it, wouldn't it make sense to share it as an plugin then? I am not aware of sauch plugin yet.
Manually creating users, as the super admin, is built in.
If you wanted to make a new site for a new user, you would just put their email in as the admin of the site when you make it, and a new ID is made for them. Of you can make the ID first and add them as admin after making the site.
Also users can just register for the network, and there are many plugins that can add them to any site you want.
You may have reinvented the wheel here :)
ETA: what you're looking for is not to create a subsite user, but a function to add a user to a site after they're created ;)
i do not think that needing for new version of wordpress, more function more complex
RSS feed for this topic
You must log in to post.