Code Monkey home page Code Monkey logo

userimport's Introduction

UserImport

Minimum MODX version Minimum PHP version Crowdin

An extra to easily import users into the MODX user database and batch-assign MODX user groups and roles. The importer accepts data files in CSV format. Automatically validates your import-data to prevent inconsistent user objects.

Reqirements

  • MODX 3.0.0 or later
  • PHP 7.2.5 or later
  • optionally GoodNews add-on (for importing GoodNews subscribers)

Latest Changes

For complete list of changes read the changelog

Contribution

Your contribution and pull requests are welcome!

Copyright

UserImport is copyright 2014-2023 by bitego (@gadgetto). All rights reserved.

License

UserImport is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

GNU General Public License v2

userimport's People

Contributors

gadgetto avatar patchranger avatar prioritypie avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

userimport's Issues

Import Freezes

Hello, I am trying to run this extra with test data. One issue I run into is that it tells me to enter a subject for the email. I am able to remove the error by just clicking on the Notification Template tab, and coming back to the main tab. However, I then get this:

Console running...
Preparing CSV import...
Importing CSV file testusers.csv
Batch size: 0

Nothing happens after this. The database also does not get updated, so it is not importing the users. This is the data in the csv file, please let me know if I am missing anything. (I have removed my email):

"email","password"
"myemail","test1234"
"myemail","test3333"

I saw a closed issue that seemed to be fixed by updating php, but this site on modx cloud running on 7.3. Any help would be appreciated, let me know if you need anything else from me. Thank you.

Enhancement : extended fields support

Hello,

Very nice extra.
Is it technically possible to support the importation of extended fields ?
I have to set some more fields from a existing database and in particular a field that will serve as a foreign key.
Would you consider upgrading this extra in this way ? or giving some useful tips to achieve this ?

Thanks in advance
JeanClaude

SQL Error

Hi,
I'm not sure if you still work on UserImport but I tried using it today and got the following error:

[2020-05-12 09:22:33] (ERROR @ /paas/c0413/www/core/xpdo/xpdo.class.php : 1289) Could not get table name for class: modAccess
[2020-05-12 09:22:33] (ERROR @ /paas/c0413/www/core/xpdo/om/xpdoobject.class.php : 240) Error 42000 executing statement: 
Array
(
    [0] => 42000
    [1] => 1064
    [2] => You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AS `modAccess` WHERE `modAccess`.`principal` = 32' at line 1
).

If you could tell me how I can resolve this, I'll be very grateful.
Thank you.

Freeze on import

Hi, tried using this plugin in MODX 2.6.0 and when I tried importing a small file (10 users) in the format specified, it just hangs and nothing happens (the Console running... message shows up but nothing happens after that). I doubled checked the db and nothing seems to have been imported.

error messages in console

Sometimes i get these messages in the console

Please enter the subject for the email notification.
Please enter the body for the email notification.
Import failed. Please check error messages.

but not all of the time. Naturaly the subject and body are entered under the tab 'Notification template'.
The strange part is that it's not all the time. it looks like when i go to the tabs 'Notification Template' and then return to 'Users' the import works

Good Extras

How to run a MODX Revolution 2.2.13-pl (traditional)?

how to set the email body?

Hi
Under the tab 'Notification Template' i can fill out a subject and email body. And in the system settings i can set an 'emailtemplate'. So how can i make sure the emailtemplate form the system settings is used. I tried having an empty mailbody field under the 'Notification Template' but no luck.

tnx
RDG

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.