Ideas

Add "create_subsite_user()" function

  1. Eric Hoanshelt
    Member

    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.

    Posted: 11 months ago #
  2. abmobil
    Member

    12345

    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.

    Posted: 11 months ago #
  3. Ipstenu (Mika Epstein)
    Administrator

    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 ;)

    Posted: 11 months ago #
  4. mcjambi
    Member

    i do not think that needing for new version of wordpress, more function more complex

    Posted: 10 months ago #

RSS feed for this topic

Reply

You must log in to post.

  • Rating

    12345
    2 Votes
  • Status

    This is plugin territory

No tags yet.