<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Moodle Plugins directory: User Sync CSV: Comments</title>
    <link>https://moodle.org</link>
    <description>Moodle users import/export via CSV files</description>
    <generator>Moodle</generator>
    <language>en</language>
    <copyright>(c) 2026 Moodle - Open-source learning platform | Moodle.org</copyright>
    <image>
      <url>https://moodle.org/theme/image.php/moodleorg/core/1777401252/i/rsssitelogo</url>
      <title>moodle</title>
      <link>https://moodle.org</link>
      <width>140</width>
      <height>35</height>
    </image>
    <item>
      <title>Wednesday, 5 May 2021, 2:14 PM - Luis de Vasconcelos</title>
      <link>https://moodle.org/plugins/local_usersynccsv#comment-70783</link>
      <pubDate>Wed, 05 May 2021 06:14:54 GMT</pubDate>
      <description>by Luis de Vasconcelos. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;I got confirmation from the author of this plugin, Antonello Moro, that he is no longer supporting this plugin. So I don't think there will be an updated version for current versions of Moodle anytime soon.&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/local_usersynccsv#comment-70783</guid>
    </item>
    <item>
      <title>Thursday, 1 August 2019, 6:35 PM - Olli Savolainen</title>
      <link>https://moodle.org/plugins/local_usersynccsv#comment-59260</link>
      <pubDate>Thu, 01 Aug 2019 10:35:29 GMT</pubDate>
      <description>by Olli Savolainen. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;Hi,&lt;br&gt;
Thanks for your work.&lt;br&gt;
&lt;br&gt;
There is an undocumented behaviour of this plugin, it resets the authentication method and various other data.&lt;br&gt;
&lt;br&gt;
            $user-&amp;gt;lang = $CFG-&amp;gt;lang;&lt;br&gt;
            $user-&amp;gt;mnethostid = $CFG-&amp;gt;mnet_localhost_id;&lt;br&gt;
            $user-&amp;gt;auth        = 'manual';&lt;br&gt;
            $user-&amp;gt;confirmed   = 1;&lt;br&gt;
            if (empty($user-&amp;gt;city)) {&lt;br&gt;
                $user-&amp;gt;city = &quot;none&quot;;&lt;br&gt;
            }&lt;br&gt;
            if (empty($user-&amp;gt;country)) {&lt;br&gt;
                $user-&amp;gt;country = &quot;no&quot;;&lt;br&gt;
            }&lt;br&gt;
&lt;br&gt;
So in many scenarios these should be commented out to avoid unintended consequences.&lt;br&gt;
Also, an option to only update data and not create new rows would be welcome; now commenting out code to do this produces errors to Moodle log.&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/local_usersynccsv#comment-59260</guid>
    </item>
    <item>
      <title>Wednesday, 27 June 2018, 7:39 PM - Tamar Alania</title>
      <link>https://moodle.org/plugins/local_usersynccsv#comment-51354</link>
      <pubDate>Wed, 27 Jun 2018 11:39:25 GMT</pubDate>
      <description>by Tamar Alania. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;Hello, is anyone using the plugin? does the plugin work?&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/local_usersynccsv#comment-51354</guid>
    </item>
    <item>
      <title>Saturday, 21 April 2018, 5:39 AM - Oscar Gagliardi</title>
      <link>https://moodle.org/plugins/local_usersynccsv#comment-49863</link>
      <pubDate>Fri, 20 Apr 2018 21:39:54 GMT</pubDate>
      <description>by Oscar Gagliardi. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;There is an error on the plugin on the usersync.php file that prevents it from processing the hash on passwords passed with the CSV file. On line 480 you need to add an else statement. Without the else statement only the default password will be hashed.&lt;br&gt;
&lt;br&gt;
It should look like this:&lt;br&gt;
&lt;br&gt;
                if (!property_exists($user, 'password')) {&lt;br&gt;
                    $user-&amp;gt;password = hash_internal_user_password($this-&amp;gt;defpassowrd);&lt;br&gt;
                }else{&lt;br&gt;
                	$user-&amp;gt;password = hash_internal_user_password($user-&amp;gt;password);&lt;br&gt;
                }&lt;br&gt;
&lt;br&gt;
Regards,&lt;br&gt;
&lt;br&gt;
Oscar&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/local_usersynccsv#comment-49863</guid>
    </item>
    <item>
      <title>Friday, 20 April 2018, 12:13 PM - Oscar Gagliardi</title>
      <link>https://moodle.org/plugins/local_usersynccsv#comment-49842</link>
      <pubDate>Fri, 20 Apr 2018 04:13:30 GMT</pubDate>
      <description>by Oscar Gagliardi. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;Hi Antonello,&lt;br&gt;
&lt;br&gt;
Are the course, group and role fields available through this plugin. I was thinking about using this plugin to automatically enroll a user in a course and assign a role.&lt;br&gt;
&lt;br&gt;
Thank you!&lt;br&gt;
&lt;br&gt;
Oscar&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/local_usersynccsv#comment-49842</guid>
    </item>
    <item>
      <title>Monday, 9 October 2017, 7:17 PM - Mariann Abosné Lazányi</title>
      <link>https://moodle.org/plugins/local_usersynccsv#comment-45676</link>
      <pubDate>Mon, 09 Oct 2017 11:17:16 GMT</pubDate>
      <description>by Mariann Abosné Lazányi. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;Hi,&lt;br&gt;
&lt;br&gt;
This plugin sounds like one I could use (I'm using Moodle 3.3), but I still have a few questions:&lt;br&gt;
&lt;br&gt;
- In the CSV file is there a field where I can set the password to be changed on the first sign-in?&lt;br&gt;
- On the settings page I can see that you need to have the fields username , firstname, lastname, email, and import key. But what does the import key mean? Is it the password, or something else?&lt;br&gt;
- If there are data changes and therefore the CSV has to be changed does it have to have all data in the CSV again, or can I just try to upload the new users and the users with changed data?&lt;br&gt;
- What happens if I want to delete a user (for example the user left the group)? Can I do that with this plugin somehow?&lt;br&gt;
- Can I set an upload method like I can do with manual user upload?&lt;br&gt;
&lt;br&gt;
Thanks for your help!&lt;br&gt;
&lt;br&gt;
Mariann&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/local_usersynccsv#comment-45676</guid>
    </item>
    <item>
      <title>Tuesday, 11 July 2017, 7:04 PM - Sandeep Nehra</title>
      <link>https://moodle.org/plugins/local_usersynccsv#comment-43809</link>
      <pubDate>Tue, 11 Jul 2017 11:04:32 GMT</pubDate>
      <description>by Sandeep Nehra. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;Hello&lt;br&gt;
Does it work with Moodle 3.3 ? &lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/local_usersynccsv#comment-43809</guid>
    </item>
    <item>
      <title>Saturday, 3 September 2016, 3:44 AM - Antonello Moro</title>
      <link>https://moodle.org/plugins/local_usersynccsv#comment-37943</link>
      <pubDate>Fri, 02 Sep 2016 19:44:00 GMT</pubDate>
      <description>by Antonello Moro. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;Hi Jeff,&lt;br&gt;
Thanks for your comment. I think the cohorts are not handled yet, I will handle them in the next version. Meanwhile, could you please file a bug with detailed instructions on expected/actual behaviour and how to repro? That would help me a lot fixing it.&lt;br&gt;
Thanks,&lt;br&gt;
*A&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/local_usersynccsv#comment-37943</guid>
    </item>
    <item>
      <title>Saturday, 3 September 2016, 3:18 AM - Jeff White</title>
      <link>https://moodle.org/plugins/local_usersynccsv#comment-37941</link>
      <pubDate>Fri, 02 Sep 2016 19:18:18 GMT</pubDate>
      <description>by Jeff White. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;Very nice plugin. I was playing with it in updating cohorts but it appears not to recognize the cohort1 field.&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/local_usersynccsv#comment-37941</guid>
    </item>
    <item>
      <title>Wednesday, 10 August 2016, 5:21 AM - Antonello Moro</title>
      <link>https://moodle.org/plugins/local_usersynccsv#comment-37473</link>
      <pubDate>Tue, 09 Aug 2016 21:21:05 GMT</pubDate>
      <description>by Antonello Moro. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;Hallo Mohammad, the plugin woks fine with Moodle 3.1. Anyway, please feel free to file a bug if you should come across one.&lt;br&gt;
&lt;a href=&quot;https://github.com/tunele/moodle-local_usersynccsv/issues&quot; class=&quot;_blanktarget&quot; target=&quot;_blank&quot; rel=&quot;noreferrer&quot;&gt;https://github.com/tunele/moodle-local_usersynccsv/issues&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/local_usersynccsv#comment-37473</guid>
    </item>
    <item>
      <title>Tuesday, 9 August 2016, 8:14 PM - mohammad moreb</title>
      <link>https://moodle.org/plugins/local_usersynccsv#comment-37455</link>
      <pubDate>Tue, 09 Aug 2016 12:14:26 GMT</pubDate>
      <description>by mohammad moreb. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;thanks for sharing, this what we need Tested with 3.1 good.&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/local_usersynccsv#comment-37455</guid>
    </item>
    <item>
      <title>Tuesday, 9 August 2016, 5:54 PM - David Mudrák</title>
      <link>https://moodle.org/plugins/local_usersynccsv#comment-37449</link>
      <pubDate>Tue, 09 Aug 2016 09:54:50 GMT</pubDate>
      <description>by David Mudrák. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;p&gt;Thanks Antonello for sharing the plugin with the Moodle community, and thanks Mike for the peer-review. I am happy to approve the plugin now. You are cleared to land, welcome to the &lt;a title=&quot;Auto-link&quot; href=&quot;https://moodle.org/plugins&quot; target=&quot;_blank&quot; rel=&quot;noreferrer&quot;&gt;Plugins directory&lt;/a&gt;!&lt;/p&gt;
&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/local_usersynccsv#comment-37449</guid>
    </item>
    <item>
      <title>Thursday, 4 August 2016, 5:22 AM - Mike Churchward</title>
      <link>https://moodle.org/plugins/local_usersynccsv#comment-37366</link>
      <pubDate>Wed, 03 Aug 2016 21:22:14 GMT</pubDate>
      <description>by Mike Churchward. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;It all looks good. Thanks.&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/local_usersynccsv#comment-37366</guid>
    </item>
    <item>
      <title>Thursday, 4 August 2016, 3:42 AM - Antonello Moro</title>
      <link>https://moodle.org/plugins/local_usersynccsv#comment-37361</link>
      <pubDate>Wed, 03 Aug 2016 19:42:27 GMT</pubDate>
      <description>by Antonello Moro. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;Ok done. I also made a test with a 10K users file. It took 600 sec to complete on my dev env&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/local_usersynccsv#comment-37361</guid>
    </item>
    <item>
      <title>Wednesday, 3 August 2016, 10:35 PM - Antonello Moro</title>
      <link>https://moodle.org/plugins/local_usersynccsv#comment-37351</link>
      <pubDate>Wed, 03 Aug 2016 14:35:53 GMT</pubDate>
      <description>by Antonello Moro. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;I will submit a new ver when I'm done.&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/local_usersynccsv#comment-37351</guid>
    </item>
  </channel>
</rss>