1. tonnick
  2. General
  3. Wednesday, March 04 2015, 04:17 PM
Hello

I cannot find the information about importing user using csv file, and about those field :
- which is the syntax for checkboxlist fields ?
- How can I define the groups of the users imported ?
- how is username generated ?

thx for your feedback !
admin Accepted Answer
Admin
Hi,
which is the syntax for checkboxlist fields ?
JSON, so:
["music","movie"]

How can I define the groups of the users imported ?
Not possible, all users have default registered group (set into Users->User Manager->Options->New User Registration Group parameter)
how is username generated ?
Username is based from name column (or firstname_lastname)
  1. more than a month ago
  2. General
  3. # 1
tonnick Accepted Answer
Basic
If there is no specified username field, it will be generated for new users >>> it has not been generated.

regarding the checkbox, it did not work either. I guess because ["music","movie"] turned into "[""music"",""movie""]" in my file
  1. more than a month ago
  2. General
  3. # 2
tonnick Accepted Answer
Basic
as well my first column has not been imported. Has the first column to be username ?
  1. more than a month ago
  2. General
  3. # 3
admin Accepted Answer
Admin
Has the first column to be username ?
Not, order of columns is not important.

as well my first column has not been imported
Strange, can you please post me you CSV file* (same structure but samples data)

*You need to compress in ZIP format because this forum prohibits CSV extensions
  1. more than a month ago
  2. General
  3. # 4
tonnick Accepted Answer
Basic
in attachement.
-username has not been generated
- first column has not been imported
- some user were corrupted, as I could not modify username (to put one)
- centro de interese were not imported either (but I guess due to wrong syntax)
  1. more than a month ago
  2. General
  3. # 5
admin Accepted Answer
Admin
username has not been generated
Remove Username column, otherwise you declare a empty username.
first column has not been imported
Can you please post me your site details, we need to see your fields. You can fill the form below reply in "Site Details" tab.
some user were corrupted, as I could not modify username (to put one)
Maybe some problem with empty usernames. We need to check.
centro de interese were not imported either (but I guess due to wrong syntax)
Yes wrong syntax, example: you wrote "[""musica"",""literatura"",""teatro"",""arte_visual"",""bienestar""]" instead ["musica","literatura","teatro","arte_visual","bienestar"]
  1. more than a month ago
  2. General
  3. # 6
tonnick Accepted Answer
Basic
Remove Username column, otherwise you declare a empty username

ok you mean if I want to let the plugin generate a username, I have to remove the column ?
  1. more than a month ago
  2. General
  3. # 7
admin Accepted Answer
Admin
ok you mean if I want to let the plugin generate a username, I have to remove the column ?
Yes, Import Plugin is a simple tool to write user data directly on DB.
  1. more than a month ago
  2. General
  3. # 8
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.
Sorry, the discussion is currently locked. You will not be able to post a reply at the moment.