CSV Group Upload v1.8

  • Hi,

    I can get the group names in but not description, brief description and tags.

    I am using:

    name, Description, Brief description, tags

    but it only imports name into the fields.

    What should the file look like to bring the rest in?

  • Try:

    name,description,briefdescription,interests

     

  • if you mess it up and want to delete all the groups do the following : Go to cpanle then phpmyadmin

    select your database where elgg is installed then find elgg_entities then look into the pages and only delete the object that says groups

    I have added an screenshot if needed.

     

    screenshot

  • I was able to get it to read in my csv file of groups, however when I click the button "create groups", I then get this message:

    Form is missing __token or __ts fields

    Can you tell me what I am doing wrong?

    Thanks

  • Hey at arckinteractive,

    thanks for you wonderful elgg plugin that lets me/us import groups from a CSV file :)

    i ran into problems, when i tried to import from a CSV file, that uses an enclosure character to keep strings to gether (so the delimter character can appear in strings..)

    i quickly fixed this for me by replacing in file upload_groups/classes/UploadGroups.php line #122

    // $group_details = explode($this->delimiter, $rows[$i]);
    $group_details = str_getcsv ( $rows[$i], $this->delimiter, '"');

    i just saw the user CSV import plugin, which you already released is already able to deal with an enclosure settings ..(directly from the backend..) maybe you want to add this small feature to your nice plugin ?

    cheers, bernhard

  • AND yes -- after importing the real (not the test) data i also get the message

    Form is missing __token or __ts fields

    mh, any ideas?

  • Got it ...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!

Stats

  • Category: Site admin
  • License: GNU General Public License (GPL) version 2
  • Updated: 2014-11-17
  • Downloads: 1482
  • Recommendations: 4

Other Projects

View Arck Interactive's plugins