• Resolved rakesh1974

    (@rakesh1974)


    Hi, can we import the users with Username, email, name, role=author, and password, and assign these users to their respective post ids?
    so I don’t have to assign manually…

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Javier Carazo

    (@carazo)

    You can read in the documentation tab it:

    #action_assign_post: Within each cell, you must indicate the post_id that will be assigned to this user. You can use a list separating each ID by commas. The post can be of any post type.

    Thread Starter rakesh1974

    (@rakesh1974)

    I couldn’t find the documentation initially anywhere written/mentioned… but after installing the plugin I found it in the wp backend as one of the tabs… I think you should specify that in your wp plugin description page too…

    ok got it working at last in my local test machine for 1 user, for now… will try doing it on the live site next time…

    what I did is, in my CSV file at the end I created a new column #action_assign_post https://snipboard.io/l8xFz5.jpg and inserted the post id, e.g from the post edit URL, post=1303. https://snipboard.io/sriTkm.jpg and import the users while uploading the file… so the user were now correctly imported and assigned to their respective pre-created posts…

    There is a problem with importing passwords… the passwords that we insert here https://snipboard.io/lCvf1p.jpg does not work… when we try to login after the import… error The password you entered is incorrect…. what is the correct way to insert/import with passwords?

    Plugin Author Javier Carazo

    (@carazo)

    Yes, I have to improve the description to explain that they will find this tab once the plugin is installed.

    I’m glad it’s working.

    Thread Starter rakesh1974

    (@rakesh1974)

    ok but what about the password problem? you did not attend to that… how do we import new users with new custom password field that will work, i guess it has to be a hash password… how to use Test@2023 password..

    I tried changing the column from user_pass to password https://snipboard.io/c2ROYF.jpg and after importing that also does not work.

    kindly check and let me know, your documentation does not say properly what exactly needs to be done…

    • This reply was modified 1 year, 9 months ago by rakesh1974.
    Thread Starter rakesh1974

    (@rakesh1974)

    I ended up using the user_pass column with hash passwords while updating that same users

    Go to – https://codebeautify.org/wordpress-password-hash-generator https://snipboard.io/4yi7eo.jpg https://snipboard.io/WZwjnT.jpg

    This tool generates a hash password which you can use to insert into your CSV file under user_pass column against all the user/s using the same password for now…

    hope it helps others

    Plugin Author Javier Carazo

    (@carazo)

    As before, you only have to read the documentation tab:

    • If you create a column password: if cell is empty, password won’t be updated; if cell has a value, it will be used.
    • If you create a column called user_pass: this will be a hashed password that will be inserted directly in database, this is the best option to move users with their passwords using export tool
    • If you don’t create a column for passwords (nor user_pass nor password): passwords will be generated automatically.
    • You should not use both columns in the same import
    Thread Starter rakesh1974

    (@rakesh1974)

    I got it to work as per my earlier message… thanks

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘assign to posts’ is closed to new replies.