The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bulk Users Import via json
#1
I have json containing a list of users and all the required fields for creation including password. Is there a good way to add them to UserSpice all at once?
  Reply
#2
I'd convert them to CSV then import:
https://json-csv.com/

Brandin.
  Reply
#3
(07-10-2018, 07:28 PM)Brandin Wrote: I'd convert them to CSV then import:
https://json-csv.com/

Brandin.

When importing the csv via phpmyadmin the imported users dont show up in the admin_users.php table.
  Reply
#4
(07-10-2018, 08:53 PM)ebzjruiz Wrote:
(07-10-2018, 07:28 PM)Brandin Wrote: I'd convert them to CSV then import:
https://json-csv.com/

Brandin.

When importing the csv via phpmyadmin the imported users dont show up in the admin_users.php table.

You want to make sure your column count matches and you're importing in the view of the users table, not just from the DB view. If that doesn't work, try converting CSV to SQL:
https://sqlizer.io/
  Reply
#5
(07-10-2018, 09:05 PM)Brandin Wrote:
(07-10-2018, 08:53 PM)ebzjruiz Wrote:
(07-10-2018, 07:28 PM)Brandin Wrote: I'd convert them to CSV then import:
https://json-csv.com/

Brandin.

When importing the csv via phpmyadmin the imported users dont show up in the admin_users.php table.

You want to make sure your column count matches and you're importing in the view of the users table, not just from the DB view. If that doesn't work, try converting CSV to SQL:
https://sqlizer.io/
Same results, imported directly into users view in phpmyadmin and still not appearing.
  Reply
#6
There are no errors? You used SQLIZER as well? If that didn't work, I don't know how else to guide you since this is a non-US related issue.

Brandin.
  Reply
#7
(07-10-2018, 09:55 PM)Brandin Wrote: There are no errors? You used SQLIZER as well? If that didn't work, I don't know how else to guide you since this is a non-US related issue.

Brandin.

No errors. Are there any specific columns I need to add values to or leave blank before import?
  Reply
#8
(07-10-2018, 09:55 PM)Brandin Wrote: There are no errors? You used SQLIZER as well? If that didn't work, I don't know how else to guide you since this is a non-US related issue.

Brandin.

My mistake, I didn't realize they were set to inactive on default so I didnt see them in the view.
  Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)