<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Moodle Plugins directory: Social Network Analysis (SNA)  Tool : Comments</title>
    <link>https://moodle.org</link>
    <description>Social Network Analysis Tool can show the sociogram,density,outdegree,indegree,point centrality of the forum. </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/1776241734/i/rsssitelogo</url>
      <title>moodle</title>
      <link>https://moodle.org</link>
      <width>140</width>
      <height>35</height>
    </image>
    <item>
      <title>Thursday, 14 March 2019, 4:37 PM - Sya Rahim</title>
      <link>https://moodle.org/plugins/mod_sna#comment-56693</link>
      <pubDate>Thu, 14 Mar 2019 08:37:26 GMT</pubDate>
      <description>by Sya Rahim. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;Hi...Are you updating this plugin for Moodle 3.5?&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/mod_sna#comment-56693</guid>
    </item>
    <item>
      <title>Wednesday, 6 February 2019, 7:32 PM - john petroulis</title>
      <link>https://moodle.org/plugins/mod_sna#comment-55721</link>
      <pubDate>Wed, 06 Feb 2019 11:32:03 GMT</pubDate>
      <description>by john petroulis. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;Hallo, I am a researcher in the field of Online Learning Systems and I focus my research on gamified learning communities. I want to use the &quot;Social Network Analysis (SNA) Tool&quot; in order to evaluate the participation of learners in a Moodle forum and the interaction between them, but I have installed an old version of the Moodle platform (2.8) and I cannot install the plugin. Is there any previous version of this plugin available or is there another plugin with the same or equivalent characteristics that I could use in order to carry out my research. Thank you very much!&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/mod_sna#comment-55721</guid>
    </item>
    <item>
      <title>Tuesday, 12 December 2017, 5:56 AM - Jamie Kramer</title>
      <link>https://moodle.org/plugins/mod_sna#comment-47132</link>
      <pubDate>Mon, 11 Dec 2017 21:56:10 GMT</pubDate>
      <description>by Jamie Kramer. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;Hi. Thank you for developing the plugin. I wanted to report a small issue. The plugin zip download for mod_sna does not seem to be correct per standards for most other plugins in the community plugin database. When I extract the mod_sna_moodle34_2017030300.zip zip file, the contents of the zip archive from the top are: ./mod_sna/sna/[plugin_code]   Automation tools would expect it to extract as: ./sna/[plugin_code]   There is the extra top-level container directory &quot;mod_sna&quot;. I could be wrong, but most other plugins seem to follow this convention. Thanks!&lt;br&gt;
&lt;br&gt;
Jamie&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/mod_sna#comment-47132</guid>
    </item>
    <item>
      <title>Saturday, 1 April 2017, 4:44 AM - erika alarcon</title>
      <link>https://moodle.org/plugins/mod_sna#comment-41907</link>
      <pubDate>Fri, 31 Mar 2017 20:44:39 GMT</pubDate>
      <description>by erika alarcon. &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;
The 2017030300 release is still in early stage?&lt;br&gt;
I would like to implement this great plugin knowing its level of maturity&lt;br&gt;
&lt;br&gt;
Erika&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/mod_sna#comment-41907</guid>
    </item>
    <item>
      <title>Wednesday, 9 July 2014, 8:15 PM - David Mudrák</title>
      <link>https://moodle.org/plugins/mod_sna#comment-23313</link>
      <pubDate>Wed, 09 Jul 2014 12:15:23 GMT</pubDate>
      <description>by David Mudrák. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;Thanks Yu for fixing the mysql issues promptly. Nice to see you are responding that well. We are definitely getting somewhere, but we're not there yet. I am still having troubles with getting your module work.&lt;br&gt;
&lt;br&gt;
Your code still generates wrong chart image URL as I commented above (having double &amp;amp;&amp;amp; in it).&lt;br&gt;
&lt;br&gt;
The pChart library inclusion like include(&quot;/pChart/class/pData.class.php&quot;); is apparently wrong as it relies on it being available in the root directory of the server. There should be __DIR__ or dirname() be involved, or maybe better $CFG-&amp;gt;dirroot.'/mod/sna/'&lt;br&gt;
&lt;br&gt;
The pChart library throws quite a lot of PHP notices which breaks the binary image data it produces (e.g. Notice: Undefined index: Type in .../mod/sna/pChart/class/pSpring.class.php on line 335). Are you sure you have debugging set to DEBUG_DEVELOPER when testing this module?&lt;br&gt;
&lt;br&gt;
I will appreciate if you pay more attention to all these things as we want to avoid unhappy users who have certain expectations on the functionality of the plugins we publish here. Thanks for understanding. It might help if you promote your plugin in a separate channel first (such as announcing it at General plugins forum) to gather feedback from the community.&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/mod_sna#comment-23313</guid>
    </item>
    <item>
      <title>Monday, 7 July 2014, 10:10 PM - David Mudrák</title>
      <link>https://moodle.org/plugins/mod_sna#comment-23282</link>
      <pubDate>Mon, 07 Jul 2014 14:10:59 GMT</pubDate>
      <description>by David Mudrák. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;Oh sorry, I did not notice all those mysql_* functions used in your code until now. Plugins are required to use the DML API (provided via the global $DB object). The snalib.php should really be updated. I am sorry for sending the plugin back for more fixes, but we really want to avoid upset users that are using other database systems.&lt;br&gt;
&lt;br&gt;
When converting your queries, please keep in mind the way how parameters are supposed to be passed to them. Expanding variables directly as in &quot;SELECT * from $data_name where id=$id&quot; has security related consequences and should be considered as stronly discouraged, if not prohibited.&lt;br&gt;
&lt;br&gt;
As already noted above, the closing ?&amp;gt; PHP tag at the end of file is discouraged as it does not have any benefit and may cause troubles.&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/mod_sna#comment-23282</guid>
    </item>
    <item>
      <title>Thursday, 3 July 2014, 9:00 PM - David Mudrák</title>
      <link>https://moodle.org/plugins/mod_sna#comment-23207</link>
      <pubDate>Thu, 03 Jul 2014 13:00:19 GMT</pubDate>
      <description>by David Mudrák. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;What is xmldb_amvonetroom_upgrade() doing in your db/upgrade.php?&lt;br&gt;
&lt;br&gt;
Using print_r() is not what we use in Moodle for outputting strings. Also, there are quite a few hard-coded English strings in the &lt;br&gt;
code that will make it impossible to localise your module. Let me kindly suggest to convert all the UI texts into proper English&lt;br&gt;
strings displayed via get_string().&lt;br&gt;
&lt;br&gt;
Have you actually tried to use your plugin with DEBUG_DEVELOPER on? You would see quite a few notices here and there that would give&lt;br&gt;
you a good hint on code to be fixed.&lt;br&gt;
&lt;br&gt;
You code produces invalid chart image URL such as /mod/sna/chart3.php?id=2&amp;amp;&amp;amp;type=2&amp;amp;&amp;amp;sid=2 so it does not really work well.&lt;br&gt;
&lt;br&gt;
I'm sorry, I have to mark this as needing more work yet.&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/mod_sna#comment-23207</guid>
    </item>
    <item>
      <title>Tuesday, 1 July 2014, 8:52 PM - David Mudrák</title>
      <link>https://moodle.org/plugins/mod_sna#comment-23152</link>
      <pubDate>Tue, 01 Jul 2014 12:52:03 GMT</pubDate>
      <description>by David Mudrák. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;Hi Yu. Thanks for sharing this plugin with the Moodle community.&lt;br&gt;
&lt;br&gt;
Let me suggest to check the $plugin-&amp;gt;release value for future versions of the plugin as it seems to contain a typo.&lt;br&gt;
&lt;br&gt;
Please avoid using the closing PHP tags in your files. They are known to cause troubles when plain HTTP headers are supposed to be&lt;br&gt;
sent (such as when redirecting the browser).&lt;br&gt;
&lt;br&gt;
The db/upgrade.php still uses the modify_database() call and the syntax will work on MySQL only. This function was deprecated in&lt;br&gt;
Moodle 1.7 (&lt;a title=&quot;Auto-link to Moodle Tracker&quot; href=&quot;https://moodle.atlassian.net/browse/MDL-5919&quot; target=&quot;_blank&quot; rel=&quot;noreferrer&quot;&gt;MDL-5919&lt;/a&gt;) already. Let me suggest to either drop support for upgrades from 1.x or rewrite that part to use the XMLDB.&lt;br&gt;
Also, there is no point of including other db/ files (such as install.php) if they are not performing any real action.&lt;br&gt;
&lt;br&gt;
I noticed that you create functions in the global PHP scope without the valid frankenstyle prefix (your snalib.php is included from&lt;br&gt;
lib.php which is in turn included at almost every page request, for example). This is strongly discouraged in order to prevent&lt;br&gt;
collisions with (current and/or future) core code or some other plugin. See&lt;br&gt;
&lt;a href=&quot;http://docs.moodle.org/dev/Coding_style#Functions_and_Methods&quot; class=&quot;_blanktarget&quot; target=&quot;_blank&quot; rel=&quot;noreferrer&quot;&gt;http://docs.moodle.org/dev/Coding_style#Functions_and_Methods&lt;/a&gt; for details. You might want to encapsulate the snalib functions into&lt;br&gt;
methods of a class to prevent these issues. Or make sure they all have sna_ prefix. You should put them into locallib.php in either&lt;br&gt;
case and include it from your scripts only when needed to avoid unnecessary load.&lt;br&gt;
&lt;br&gt;
The direct access to superglobals like $_GET or $_POST is stronly discouraged in Moodle code as it represents potential security&lt;br&gt;
risks. Your code is currently vulnerable against SQL injection as you perform no parameters validation prior to passing $_POST data&lt;br&gt;
into the query. Our policy does not allow to approve plugins with known security issues like this. Also, your code is currently&lt;br&gt;
written so that it relies on mysql functions without using the DML API that Moodle provides. That's not allowed without a really&lt;br&gt;
good reason.&lt;br&gt;
&lt;br&gt;
It is encouraged to follow Moodle’s coding style as outlined in: &lt;a href=&quot;http://docs.moodle.org/dev/Coding_style&quot; class=&quot;_blanktarget&quot; target=&quot;_blank&quot; rel=&quot;noreferrer&quot;&gt;http://docs.moodle.org/dev/Coding_style&lt;/a&gt; and&lt;br&gt;
&lt;a href=&quot;http://docs.moodle.org/dev/Coding&quot; class=&quot;_blanktarget&quot; target=&quot;_blank&quot; rel=&quot;noreferrer&quot;&gt;http://docs.moodle.org/dev/Coding&lt;/a&gt; The code checker plugin can be quite helpful in fine tuning your code and can be found at:&lt;br&gt;
&lt;a href=&quot;https://moodle.org/plugins/view.php?plugin=local_codechecker&quot; class=&quot;_blanktarget&quot; target=&quot;_blank&quot; rel=&quot;noreferrer&quot;&gt;https://moodle.org/plugins/view.php?plugin=local_codechecker&lt;/a&gt; You may wish to consider using that tool to further improve your&lt;br&gt;
plugin.&lt;br&gt;
&lt;br&gt;
For now, I am going to mark this plugin as needing more work until we get these issues resolved. Thanks for your patience with the&lt;br&gt;
review and approval process.&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/mod_sna#comment-23152</guid>
    </item>
  </channel>
</rss>