WordPress.org

Ready to get started?Download WordPress

Forums

Import Users from CSV
[resolved] Import users to multisite, per site. Cannot figure CSV layout out... (3 posts)

  1. Athen
    Member
    Posted 2 years ago #

    Hi, and thanks for this plugin :)

    I cannot figure the layout for the CSV file out, when I need to import to different subsites in my MultiSite installation.

    I need to set: Username, First Name, Last Name, Display Name, Email Adresse, Password, Role, AND site (site ID)

    I tried my best, and did search the forum and found this, but I ain't clever enough to understand it: http://wordpress.org/support/topic/plugin-import-users-from-csv-import-existing-users-with-multisite?replies=21

    A walk-through or example would be so nice :)

    Thank you guys so much in advance ;)

    Bw. Athen

    http://wordpress.org/extend/plugins/import-users-from-csv/

  2. Ulrich Sossou
    Member
    Plugin Author

    Posted 2 years ago #

    Hi Athen,

    E.g. if you want to add user called John Doe to the site ID 5, you would layout the CSV as follow:

    user_login,user_email,user_pass,first_name,last_name, wp_5_capabilities
    johndoe,john@doe.tst,123xyz,John,Doe,'a:1:{s:10:"subscriber";s:1:"1";}'

    Hope it is clearer than the other topic :)

  3. Athen
    Member
    Posted 2 years ago #

    Hi again.

    Nope, it still doesn't work.

    But I got it to work fine on one subsite in my MS install: But I had to exclude the part about which site the user should be attached to. Now the user just gets attached to the subsite, I run the import from. Thats partly ok.

    Then I tried to import another list (only one user in the list) and it failed. The logfile is empty. The file has the exact same layout as in the first import. (that worked).

    I would like to hire you to build a plugin for our MS install. Are you up for it?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic