CSV User Upload v1.8.1

Release Notes


- Fixes: last row of the uploaded CSV file is missing

- Fixes: css overflow

- Adds: mapping capabilities (change table headers with custom metadata names)

- Adds: integration with Profile Manager, mapping against Profile Manager fields

- Adds: integration with Roles, assign user roles on upload

- Adds: plugin hook 'header:custom_method', 'upload_users' for custom processing of headers

  • I keep getting an error saying 'CSV file in wrong format' i'm exporting the list from google docs to .csv with the first line defining user, pass, email etc. isn't that the right way to do it or am I missing something?


  • @Ben, make sure you have 'name', 'username' and 'email' fields in the file you are trying to import. Those 3 are required.

  • Great thanks that fixed it :)

  • I do not have 1.7.4 and using naakka/upload-users

    I noticed that the code to send notification is exactly the same except for the word email which was changed to notification in your 1.8.4 version of CSV User Upload. Does this indeed stop the notifications from being sent? It always sends the notification wheather I select Yes or No.

    My notes are at  http://community.elgg.org/pg/plugins/release/165550/developer/naakka/upload-users.



  • @Steve, I don't remember the exact reason for a change now, but I think we were running into a problem of duplicating input fields being sent to the form. So, you would get 'email' and then 'email[]' for actual user emails.

  • The problem I am having is that I can not turn off the notification. When No is selected the email is sent

  • When I go to upload users everything looks like it upload correctly. All the headers look correct but when I click on a user profile, the only information that displays is their name and location. Any suggestions on how to get all of the metadata to show?

  • @steve It seems that the version you're using has a defect.

    I'm actually currently maintaining the plugin made by Jaakko. Although just at Mediamaisteri and not here in the community. I haven't had time finish a 1.8-version so that I could had uploaded it here. Nice that a 1.8-version is available anyway. :)

    Once my summer holiday ends next week, I can take a look if I can find a fixed Elgg 1.7.x version of the plugin.

  • Hello to all,
    This plugin is a great compliment. Only one flaw in the interaction with roles plugin.
    I created roles plugin and when I import a csv allows me to select only those roles that I created and not the DEFAULT_ROLES. So I can import a moderator a groups_administrator but not a simple user interface.

    For now I solved by creating a user_roles equal to DEFAULT_ROLES but it would be better to wear also choose to import users without a role.
    I also noticed that it is impossible to specify in csv role.
    I tried to insert the column header and role under both the name and the guid of the role but does not seem to get it.

    Thanks again and see you soon

  • Is there a maximum number of lines in the csv file this plugin can comfortably handle? Have tested it in elgg 1.8.13 with only two new users and it worked perfectly. I don't want to overload it with 128 lines which is what I need to do. I could break this up into two or more csv files if it would be safer.

  • When I try to upload the CSV file the list of users from the file and "Create user accounts" button appears.

    Only when I press this button, nothing happens.

    Does anyone have a solution to this problem?

  • For all of you having issues, there is limitation on the amount of data you can upload. I would recommend the following changes in php.ini to help resolve these issues:

    Change all of these to higher values from default, here is just a sample, increase as per your wish:

    max_input_time 300

    max_input_vars 6000

    upload_max_filesize = 20M

    post_max_size = 20M

    max_execution_time = 300


    If you webhost does not allow access to php.ini, you can overwrite by .htaccess or creating a php.ini in elgg directory in case your webhost doesn't let you set php parameters via .htaccess.

  • Hi,

    I have the same problem as @kooistragfakkel

    When I upload the .csv, the plugin takes it perfect, but in the next step when I need to confirm pressing the button "Create user account" nothing happens...

    Can anyone help me?


  • ERROR: Vars in views must be an array: forms/upload_users/upload

    This is the error that displayed before I upload the .csv

  • I am getting the following error when uploading a csv of groups - it accepts the upload, displays all the new groups info, but then when I hit "create groups" I get this error:

    Form is missing __token or __ts fields

  • if you check our apache error log-file you will see this

    PHP Warning:  Unknown: Input variables exceeded 1000. To increase the limit change max_input_vars in php.ini. 

    so adding this to yout php.ini apache config, will solve the problem ..

    max_input_time = 300
    max_input_vars = 6000
    upload_max_filesize = 20M
    post_max_size = 20M
    max_execution_time = 300



Arck Interactive

You imagine. We create. We develop custom social networks, content management systems and other rich internet applications. We help entrepreneurs and creative agencies breathe life into their visions. Let's start a conversation!


  • Category: User admin
  • License: GNU General Public License (GPL) version 2
  • Updated: 2014-11-17
  • Downloads: 3928
  • Recommendations: 7

Other Projects

View Arck Interactive's plugins