Our institution needed to import User Account information and also attach data to a Bio Node (via the Bio Module). Enclosed is a working copy of User Import with Bio Module integration.

Once a Bio Node Type is configured the fields will appear as options during the user import mapping process.

CommentFileSizeAuthor
#2 user_import.patch6.55 KBngmaloney

Comments

dugh’s picture

I don't see an attached patch

ngmaloney’s picture

StatusFileSize
new6.55 KB

My apologies! I must have forgotten to attach the file. It could use a second set of eyes and perhaps some re-factoring.

robertdouglass’s picture

Status: Needs review » Needs work

@ngmaloney: please see the coding standards page: http://drupal.org/coding-standards:
- tabs vs spaces
- if(module_exists('bio')) )
- ?> at end of included file

Useful in these cases is the coder module: http://drupal.org/project/coder

samil-1’s picture

Hello,
Thanks for your patch, it's exactly what i was looking for. Unfortunatly i can't manage to make it work. I applied it on my user_import module but it doesn't make any change. Any idea on how to fix that?
Thanks for everything.

ngmaloney’s picture

@samil - Could you kindly outline how you applied the patch so I can replicate what you are doing?

samil-1’s picture

First, I install the user_import module. My bio module is already set. Next I download your patch, and upload it in the user_module directory. I apply the following command line : patch -p0 < user_import_1.patch to the user_import.module file. I get this error message :

Fatal error: Call to undefined function bio_get_type() in /home/idc/ing/lini/public_html/modules/user_import/user_import_bio.inc on line 22

Any idea?
Thanks for your attention.

robert castelo’s picture

Status: Needs work » Closed (won't fix)

Bio module is deprecated and I'm not supporting User Import 5.x any more, so closing this issue.