Hi Robrecht,

Thank you for this great script .. exactly what I need. Robrecht, I would like to import my previous database into the new Drupal installation.

I've created the Content Type and fields as 'profile' and selected 'Use this content type as a nodeprofile for users'.

The problem is that the current (old database) username and email address is what creates the user's ID, am I correct? So, now do I create a field for username and email ... will that not just create a node and not a user?

A little confused here .. how do I create the node as a nodeprofile (or user) please?

Look forward to hearing from you.

Sincere regards,
Lilian

Comments

urbanx’s picture

for what it's worth, when i did this, i used the user import module [ http://drupal.org/project/user_import ] to import the users, and then used node import to import the user profiles. it took two csv files, but node import will import based on a username, and it worked pretty well.

d.

robert castelo’s picture

5.x-2.7 version of User Import integrates with Node Import to create Node Profile profile nodes at the same time as creating accounts, only one CSV file needed.