• Hello everyone!

    I was asking some questions before but most of them have been resolved by now!

    just one small thing left that I’ve not figured out yet. I have 120 students that will get their won blog on the network install I made with wp… I found lots of plugins to import users from csv files but that doesnt help me since I still need to create the sites connected to the users!

    Anyone know if there’s a plugin out there that let me create sites from a imported csv, best would be if it could get the password to from the same file since we’re making a merged dokument to hand out when school starts this autumn!

    hmm, could it possibly be made with a sql script?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter Naesstrom

    (@naesstrom)

    Ok, still no reply on this topic and I find it a bit strange.
    The plugins that I have tried can import users to a blog, but that still doesnt help me since I need to have the users connected to the network part!

    I can manually create them but since we’re going to create a letter to them with some basic information regarding the school and wanted their WP login to be in the same place I need to create their account before that!

    So I bascily need to do 3 things!

    • Create new users with a set username and password for the network site
    • Create sites connected with these new users
    • be able to get this info from a csv file or export it to that afterwards for merging this with the letter!

    So… how?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    You get no reply cause no one’s done it yet. That’s all. Yes, it could be made into a script, but you’ll have to do the heavy lifting yourself.

    Thread Starter Naesstrom

    (@naesstrom)

    Hmm, didnt know I was that odd that wanted to create multiple sites in a worpress network install… isnt that what it’s all about?

    Ah well, I found the users table but the password doesnt look like md5 encryption, anyone know what it might be? and by checking I guess that the sites is imported into the _blogs part!

    maybe anyone can answer this anyway, is there a way to disable the unique e-mail setting… that way I can just register them all with my own e-mail and change that later when I have the passwords sent to myself!

    Thread Starter Naesstrom

    (@naesstrom)

    nevermind btw, I tried adding a few posts to the users table and then the same with the blogs table but it didn’t work!

    The users came up and seemed to be working but the sites had no user connected with them… and when I went in and manually did that it looked like it worked in the backend but when visiting the site I just got a: “Error establishing a database connection”

    I made a new catchall adress for my domain instead and just register them one by one with fake e-mails!

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    The password is salted and hashed, You’re not gonna get that too easy.

    Importing USERS from CSV is already possible: https://www.ads-software.com/extend/plugins/csv-user-import/

    Create sites per users is not. Though I seem to recall hearing about a pay-for plugin that can do that.

    Multiple users with the same email: https://www.ads-software.com/extend/plugins/allow-multiple-accounts/

    Thread Starter Naesstrom

    (@naesstrom)

    The password wasnt that hard: https://scriptserver.mainframe8.com/wordpress_password_hasher.php but as I said in the post above even tough i filled in all the tables correct it couldnt connect the site to the database… must be somewhere else to!

    Thanks for the 2 plugins, I’ve tried them both and the first one only works for a blog, not for the network admin, atleast not for me and same thing with the other one. I could use them on individual blogs but not for the entire network!

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    You’re basically in custom territory and on your own ?? Sorry.

    you’d basically have to figure out exactly which tables/data that changes each time you add a site. If you have a test server, install multisite, make a copy of the database, then add a site the normal way. Then go through phpmyadmin to view what has changed. Compare to the backup version and you can probably pinpoint exactly what happens. If it’s one table, easy, just import your csv into that one, but it’s probably more than that, but it would probably be faster to import if you have tons of sites. let me know here if you figure it out. I might do the same.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Create multiple sites from importing csv?’ is closed to new replies.