Any plans of updating this for 5.0?
| Comment | File | Size | Author |
|---|---|---|---|
| #12 | Bild 1.png | 36.03 KB | ron_ |
| #10 | user_import-4.7.x-1.x-dev.5x_upgrade.patch | 23.89 KB | idealso |
| #4 | user_import.5x_upgrade.patch | 24.55 KB | mfredrickson |
Any plans of updating this for 5.0?
| Comment | File | Size | Author |
|---|---|---|---|
| #12 | Bild 1.png | 36.03 KB | ron_ |
| #10 | user_import-4.7.x-1.x-dev.5x_upgrade.patch | 23.89 KB | idealso |
| #4 | user_import.5x_upgrade.patch | 24.55 KB | mfredrickson |
Comments
Comment #1
robert castelo commentedYes!
User Import module will be updated to Drupal 5. Can't say how soon, depends on my having free time, or someone comissioning the update, whichevr comes first.
Comment #2
alanburke commented+1: I could use this too.
[great work Robert! Every time I need a module, you're there!]
Comment #3
mgerzabek commented+1
I'm new to drupal, but since I need the module now, I would dig into the code if someone could point me to the relevant sections.
Comment #4
mfredrickson commentedHow about someone else scratching that itch? :-)
Attached is a patch to upgrade to 5.x.
The only changes in behavior are where in the menu tree user_import falls (moved it under admin/user/user as local tasks) and it automatically deletes files from fully imported processes. I couldn't conscience leaving files with usernames and passwords available to any spidering script kiddy. :-)
Otherwise, I believe this behaves identically to the 4.7 version. (I have noticed one bug: all accounts are active by default.)
Great module! Super useful.
Cheers,
-Mark
Comment #5
theiviaxx commentedpatch fails. I just downloaded the 4.7 version and it looks a lot different from what you have in your patch file. Are you using a different version to patch from?
Comment #6
mfredrickson commentedYes. HEAD. There were changes to HEAD (according to the CVS logs) that did not make it into the 4.7 branch.
Comment #7
riki commentedFor us Drupal 5 Users. Is it possible to import User data through phpMyAdmin?
Comment #8
solipsist commentedI think we'll set up a 4.7 site, import the users then upgrade it to Drupal 5.
Comment #9
riki commentedSounds good will that work?
Comment #10
idealso commentedI've updated the patch originally posted here by mfredrickson. This is against 4.7.x-1.x-dev, and only contains two real changes. First, one of the function name changes was missed, and has been fixed. It now also allows the characters "@_.-" in usernames, to allow email addresses as usernames.
Comment #11
robert castelo commentedUser Import module has been updated to Drupal 5.
I didn't use the patch because I had already done some of the work, and am coding towards some new features. Thank you anyway, was useful for reference at several points during the update.
New version allows the characters "@_.-" in usernames.
Haven't implemented automatically deleting files from fully imported processes, will do that in near future, but want to make it an option (on by default) and change the user interface to accommodate the new behaviour.
This new version was tested a bit, but not extensively, so I'll leave it as a 'dev' release and wait for some feedback before releasing it as 'stable'.
Comment #12
ron_ commentedHi there,
I tried it today in Drupal 5 and it did not work. I tried to eliminate all my mistakes but I am not sure if I did it right because I never used the module before. Anyways: I can upload and define the fields just fine. When I hit the Test (or Import) Button though, I get a table saying that my users were processed but could not be imported - instead I get errors. It is not reported what kind of errors.
Does anybody has an idea? I tried it with an import of aprox. 4000 users, when it did not work I tried it with 10, which didn't work either.
ron_
Comment #13
robert castelo commentedCould you try importing the sample.txt file that's included with the module.
Also can you post a screenshot of the errors page (when you click on the errors numbers).
Comment #14
ron_ commentedNever mind! It actually was my fault! It didn't seee, that our email adresses weren't valid. I did not see this right away because the error-log did not work with more then 3000 errors. (I don't know if this ist because od our default ini_set and a process time limit, but it died just quietly) With lesser entries I saw that the email adresses weren't right. Thanks for your quick reply.
Comment #15
robert castelo commentedThanks for the feedback.
It's a good point, the errors page needs pagination - I'll create a separate issue for that.
Comment #16
(not verified) commented