Closed (fixed)
Project:
User Import
Version:
master
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
26 Oct 2006 at 19:19 UTC
Updated:
21 Jan 2007 at 13:15 UTC
Jump to comment: Most recent file
I need to be able to import users and assign them to organic groups. This is something I can build myself If I get some direction on how to correctly implement it.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | user_import_organic_groups_1.patch | 1.97 KB | Zack Rosen |
Comments
Comment #1
robert castelo commentedI also need to integrate user import with OG for a project, but won't have time to work on it for at least two weeks.
If you're in a hurry, and want to do it yourself, add a function to handle the import into OG - e.g. function _user_import_organic_groups()
Call the function just before:
Comment #2
Zack Rosen commentedHere is a patch (I've only tested once).
Comment #3
robert castelo commentedThanks Zack. At a glance this looks good.
Tied up for a few days, but I'll test it out as soon as I can.
Comment #4
Zack Rosen commentedOk. Right now it accepts multiple group nids on import deliminated by ';' ... does this make sense to you? Also, looks like i forgot to add support for error tracking :/ I will do that if i remember tomorrow.
Comment #5
robert castelo commentedI'm going to auto detect existing groups and present option as checkbox for each one.
Comment #6
Zack Rosen commentedSounds like a better plan than mine Robert.
Comment #7
robert castelo commentedFeature added in User Import 4.7.x-1.0 version.
Comment #8
(not verified) commented