<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>General developer forum</title>
    <link>http://moodle.org/mod/forum/view.php?f=33</link>
    <description>This forum is for general developer news or issues that don't fit into any of the other forums!
Before posting, please make sure there is not a more appropriate forum you could be using. In particular, please use

The General problems forum if you're having problems with your Moodle site
The Moodle tracker to report bugs
The Moodle jobs database if you want to hire a developer

Remember also to check out our Developer documentation and Developer FAQ.
Forum moderator: Howard Miller</description>
    <generator>Moodle</generator>
    <language>en</language>
    <copyright>&amp;#169; 2012 Moodle.org</copyright>
    <image>
      <url>http://moodle.org/theme/image.php?theme=moodleofficial&amp;amp;image=i%2Frsssitelogo&amp;amp;rev=676</url>
      <title>moodle</title>
      <link>http://moodle.org</link>
      <width>140</width>
      <height>35</height>
    </image>
    <item>
      <title>Re: EU Cookie Law</title>
      <link>http://moodle.org/mod/forum/discuss.php?d=201558&amp;parent=884662</link>
      <pubDate>Wed, 16 May 2012 18:41:33 GMT</pubDate>
      <description>by Gareth J Barnard. &amp;nbsp;&lt;p&gt;&lt;p&gt;Pragmatically, I consider that as long as Moodle core can satisfy the category 1 cookie category as defined in &lt;a href=&quot;http://www.international-chamber.co.uk/components/com_wordpress/wp/wp-content/uploads/2012/04/icc_uk_cookie_guide.pdf&quot; target=&quot;_blank&quot;&gt;http://www.international-chamber.co.uk/components/com_wordpress/wp/wp-content/uploads/2012/04/icc_uk_cookie_guide.pdf&lt;/a&gt; as I linked in a previous post, then it is up to the plugin provider to state explain their use of cookies.&lt;/p&gt;
&lt;p&gt;I have placed in my Collapsed Topics course format the abilty for a user to control its cookie as it is a category 3, if you wish to borrow / modify the code to be global, then please do.  Or you could modify the code from &lt;a href=&quot;http://www.civicuk.com/cookie-law/index&quot;&gt;http://www.civicuk.com/cookie-law/index&lt;/a&gt; (which also has a Wordpress plugin) so Wordpress could be a front end, and indeed given that principle I'm sure there are talented plugin developers willing to give this a bash as a Moodle plugin.&lt;/p&gt;
&lt;p&gt;However, in discussions mainly with Petr and Tim I now consider cookies an obsolite technology, like the floppy disk, therefore intend to eliminate them in my code - probably in the Moodle 2.3 version which will be a rewrite.  I'm sure this actual problem of privacy will not go away, it is just that technology can be developed and implemented faster than the law.  And a law that targets specific technology will not last long as its intent is lost as soon as something identical but not legally the same replaces it.&lt;/p&gt;
&lt;p&gt;Disclaimer: These thoughts are my own.  They provided as is for the purpose of discussion without any warrenty, guarantee or the ability to spell and instigate correct grammar.  They may not be used as an igniter of a forum &lt;a href=&quot;http://moodle.org/mod/glossary/showentry.php?courseid=5&amp;amp;eid=235&amp;amp;displayformat=dictionary&quot; title=&quot;Glossary of common terms: flame&quot; class=&quot;glossary autolink concept glossaryid5&quot;&gt;flame&lt;/a&gt; war or reproduced out of context.  MoodleNews please feel free to reproduce in an article on the matter.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Gareth&lt;/p&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">http://moodle.org/mod/forum/discuss.php?d=201558&amp;parent=884662</guid>
    </item>
    <item>
      <title>Re: Block configuration for each user without DB</title>
      <link>http://moodle.org/mod/forum/discuss.php?d=202732&amp;parent=884639</link>
      <pubDate>Wed, 16 May 2012 16:56:33 GMT</pubDate>
      <description>by Hubert Chathi. &amp;nbsp;&lt;p&gt;&lt;p&gt;I'm not sure what you mean by &quot;without any DB table addition.&quot;  If you mean without any new tables, there is a mdl_user_preferences table that you can could use.  I'm not sure what version of Moodle it was added in, but it's in at least 1.9.  In general, people should not be using anything older than 1.9, since it is no longer supported.  If you are wanting to avoid touching the &lt;a href=&quot;http://moodle.org/mod/glossary/showentry.php?courseid=5&amp;amp;eid=15&amp;amp;displayformat=dictionary&quot; title=&quot;Glossary of common terms: database&quot; class=&quot;glossary autolink concept glossaryid5&quot;&gt;database&lt;/a&gt; at all, you could always create some files in the moodledata directory, but I don't think Moodle has any functions for managing storage in that manner, so you'd have to manage it yourself.&lt;/p&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">http://moodle.org/mod/forum/discuss.php?d=202732&amp;parent=884639</guid>
    </item>
    <item>
      <title>Re: EU Cookie Law</title>
      <link>http://moodle.org/mod/forum/discuss.php?d=201558&amp;parent=884610</link>
      <pubDate>Wed, 16 May 2012 15:32:31 GMT</pubDate>
      <description>by John Fontaine. &amp;nbsp;&lt;p&gt;&lt;p&gt;On the cookie front.  &lt;/p&gt;
&lt;p&gt;Ignore the MoodleSession cookie for a moment and remember that as the website operator you are  responsible for more than just the default cookies set by Moodle.  You are also responsible for the cookies that might come from various third party content and add-ons.  &lt;/p&gt;
&lt;p&gt;As I read the law, if you have any cookies which are not strictly necessary then you need prior consent.  The most straightforward means of obtaining this consent would be to do it when the user arrives at the site.&lt;/p&gt;
&lt;p&gt;To find these other cookies look for the following:&lt;/p&gt;
&lt;p&gt;1- Do you embed flash games, video or images from third party sites. These games probably have flash cookies in them.  You Tube and other video sites have this as well.&lt;/p&gt;
&lt;p&gt;2- Do you use Google Analytics, Omniture or another service to gather usage and performance stats?  These tracking cookies are not strictly necesary.  &lt;/p&gt;
&lt;p&gt;3- Do you use Facebook Like buttons, Tweet buttons or other items for your pages.  The twitter feed &lt;a href=&quot;http://moodle.org/mod/glossary/showentry.php?courseid=5&amp;amp;eid=25&amp;amp;displayformat=dictionary&quot; title=&quot;Glossary of common terms: Javascript&quot; class=&quot;glossary autolink concept glossaryid5&quot;&gt;javascript&lt;/a&gt; gadget is very popular for instructors who want to post info about specific hash tags. Be aware that these use cookies.&lt;/p&gt;
&lt;p&gt;If you find any of these things you should probably implement a consent dialogue for users when they first visit the site.  You should try to document these on a seperate page.  &lt;/p&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">http://moodle.org/mod/forum/discuss.php?d=201558&amp;parent=884610</guid>
    </item>
    <item>
      <title>Re: Understanding mdl_context</title>
      <link>http://moodle.org/mod/forum/discuss.php?d=202588&amp;parent=884592</link>
      <pubDate>Wed, 16 May 2012 14:54:43 GMT</pubDate>
      <description>by Luis de Vasconcelos. &amp;nbsp;&lt;p&gt;&lt;p&gt;Thanks. It's starting to fit together now!&lt;/p&gt;
&lt;p&gt;Some background to my origional question:&lt;br /&gt;I wanted to see all the changes that were made in Moodle when a new user is created in Moodle. So I did a my&lt;a href=&quot;http://moodle.org/mod/glossary/showentry.php?courseid=5&amp;amp;eid=6851&amp;amp;displayformat=dictionary&quot; title=&quot;Glossary of common terms: SQL&quot; class=&quot;glossary autolink concept glossaryid5&quot;&gt;sql&lt;/a&gt;dump before I created the user and then another mysqldump after I created the user. Then I compared the two dump files. One of the tables where data was added during the process of creating a new user was this mdl_context table. That called for a deeper understanding of mdl_context...&lt;/p&gt;
&lt;p&gt;At some point I want to create a &quot;new user&quot; stored procedure in MSSQL that I'll use for creating user accounts in Moodle. We want to &quot;automate&quot; the process of creating new users in Moodle via MS BizTalk (a Moodle web service won't work as Moodle doesn't generate a valid &lt;a href=&quot;http://tracker.moodle.org/browse/MDL-28988&quot;&gt;WSDL&lt;/a&gt; that BizTalk can consume).&lt;/p&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">http://moodle.org/mod/forum/discuss.php?d=202588&amp;parent=884592</guid>
    </item>
    <item>
      <title>Re: show different block content following condition of user role</title>
      <link>http://moodle.org/mod/forum/discuss.php?d=202763&amp;parent=884573</link>
      <pubDate>Wed, 16 May 2012 14:11:59 GMT</pubDate>
      <description>by Davo Smith. &amp;nbsp;&lt;p&gt;&lt;p&gt;&lt;div class=&quot;php&quot; style=&quot;font-family: monospace;&quot;&gt;&lt;span class=&quot;re0&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span class=&quot;me1&quot;&gt;content&lt;/span&gt;-&amp;gt;&lt;span class=&quot;me1&quot;&gt;text&lt;/span&gt; = &lt;span class=&quot;st0&quot;&gt;''&lt;/span&gt;;&lt;br /&gt;
&lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;has_capability&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;'block/myblock:seeteachercontent'&lt;/span&gt;, &lt;span class=&quot;re0&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span class=&quot;me1&quot;&gt;context&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;br /&gt;
   &lt;span class=&quot;re0&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span class=&quot;me1&quot;&gt;content&lt;/span&gt;-&amp;gt;&lt;span class=&quot;me1&quot;&gt;text&lt;/span&gt; .= &lt;span class=&quot;st0&quot;&gt;'Only teachers can see this'&lt;/span&gt;;&lt;br /&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;has_capability&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;'block/myblock:seeadmincontent'&lt;/span&gt;, &lt;span class=&quot;re0&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span class=&quot;me1&quot;&gt;context&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;br /&gt;
   &lt;span class=&quot;re0&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span class=&quot;me1&quot;&gt;content&lt;/span&gt;-&amp;gt;&lt;span class=&quot;me1&quot;&gt;text&lt;/span&gt; .= &lt;span class=&quot;st0&quot;&gt;'Only admins can see this'&lt;/span&gt;;&lt;br /&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;You will need to define some suitable capabilities in 'db/access.php' for your block (look in the standard blocks to see the layout of this file, if you're not sure) and you should probably come up with better names for the capabilities than 'seeteachercontent', as those are just examples based on the information you supplied.&lt;/p&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">http://moodle.org/mod/forum/discuss.php?d=202763&amp;parent=884573</guid>
    </item>
    <item>
      <title>Re: EU Cookie Law</title>
      <link>http://moodle.org/mod/forum/discuss.php?d=201558&amp;parent=884553</link>
      <pubDate>Wed, 16 May 2012 13:16:56 GMT</pubDate>
      <description>by Dave Balch. &amp;nbsp;&lt;p&gt;&lt;p&gt;Ah, not having looked at it yet, I hadn't realised that it is part of all those things - in which case it seems reasonable to say that MoodleSession &lt;strong&gt;is&lt;/strong&gt; strictly neccessary for the operation of the site, and therefore exempt from opt-in even for non-logged in users.&lt;/p&gt;
&lt;p&gt;That should make things a bit simpler &lt;img class=&quot;emoticon&quot; alt=&quot;smile&quot; title=&quot;smile&quot; src=&quot;http://moodle.org/theme/image.php?theme=moodleofficial&amp;amp;image=s%2Fsmiley&amp;amp;rev=676&quot; /&gt;&lt;/p&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">http://moodle.org/mod/forum/discuss.php?d=201558&amp;parent=884553</guid>
    </item>
    <item>
      <title>show different block content following condition of user role</title>
      <link>http://moodle.org/mod/forum/discuss.php?d=202763&amp;parent=884545</link>
      <pubDate>Wed, 16 May 2012 12:48:43 GMT</pubDate>
      <description>by Madovsky Franck. &amp;nbsp;&lt;p&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I would like ot add a condition role in my block and show different&lt;/p&gt;
&lt;p&gt;content if the user is a Teacher, Admin or student.&lt;/p&gt;
&lt;p&gt;but unfortunately I didn't see any variable in $USER that explicitly show the user status&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">http://moodle.org/mod/forum/discuss.php?d=202763&amp;parent=884545</guid>
    </item>
    <item>
      <title>Re: EU Cookie Law</title>
      <link>http://moodle.org/mod/forum/discuss.php?d=201558&amp;parent=884523</link>
      <pubDate>Wed, 16 May 2012 11:31:04 GMT</pubDate>
      <description>by Petr Škoda. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;text_to_html&quot;&gt;If you somehow manage to disable session cookie before login be prepared for major performance problems and some borked areas such as navigation docking, nonfunctional login redirection, etc. You might partially work around this by some new access control caching mechanism for not-loggin user and guest account.&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">http://moodle.org/mod/forum/discuss.php?d=201558&amp;parent=884523</guid>
    </item>
    <item>
      <title>Re: Solving own web service (server) unavailability</title>
      <link>http://moodle.org/mod/forum/discuss.php?d=202559&amp;parent=884521</link>
      <pubDate>Wed, 16 May 2012 11:17:53 GMT</pubDate>
      <description>by Tim Hunt. &amp;nbsp;&lt;p&gt;&lt;p&gt;At the moment, there is no way to let other questions be graded if one question fails. I agree it would be good to enable this, but it would require some fairly fundamental work at the heart of the question engine.&lt;/p&gt;
&lt;p&gt;The problem is not with the other questions, but how to handle the question the throws an error. You would need to be able to:&lt;/p&gt;
&lt;ol&gt;&lt;li&gt;Make a new state that a quesiton can be in &quot;Last attempt to process something failed.&quot;&lt;/li&gt;
&lt;li&gt;Find a way to store the data that was not processed, so we can try again later.&lt;/li&gt;
&lt;li&gt;Write the code that does try, again later at an appropriate time. But, what is an appropriate time? (On cron, next time someone tries to access that attempt, ...)&lt;/li&gt;
&lt;/ol&gt;&lt;p&gt;Given that most Moodle question types are highly reliable, it is just not worth trying to solve these problems.&lt;/p&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">http://moodle.org/mod/forum/discuss.php?d=202559&amp;parent=884521</guid>
    </item>
    <item>
      <title>Re: Understanding mdl_context</title>
      <link>http://moodle.org/mod/forum/discuss.php?d=202588&amp;parent=884520</link>
      <pubDate>Wed, 16 May 2012 11:10:20 GMT</pubDate>
      <description>by Davo Smith. &amp;nbsp;&lt;p&gt;&lt;p&gt;That looks right to me, for the context you would be in when viewing the user's profile.&lt;/p&gt;
&lt;p&gt;(Just to reiterate what Hubert pointed out above, I made a mistake in my previous post - context '1' is actually the SYSTEM context not the SITE context; 'system' being the whole of the Moodle install, 'site' being the &lt;a href=&quot;http://moodle.org/mod/glossary/showentry.php?courseid=5&amp;amp;eid=8036&amp;amp;displayformat=dictionary&quot; title=&quot;Glossary of common terms: Front Page&quot; class=&quot;glossary autolink concept glossaryid5&quot;&gt;front page&lt;/a&gt;).&lt;/p&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">http://moodle.org/mod/forum/discuss.php?d=202588&amp;parent=884520</guid>
    </item>
    <item>
      <title>TIMER FOR EACH QUESTION IN QUESTIONARIE MODULE</title>
      <link>http://moodle.org/mod/forum/discuss.php?d=202755&amp;parent=884498</link>
      <pubDate>Wed, 16 May 2012 10:09:10 GMT</pubDate>
      <description>by Angela Mendoza. &amp;nbsp;&lt;p&gt;&lt;p&gt;El módulo de cuestionarios (Questinnaries) es posible tener un timer por cada pregunta, es decir, que cuando el alumno termine de contestar, se guarde el tiempo que tardó en responder cada pregunta. Esto se tendría que guardar en junto con las estadísticas para analizar cuanto tardó el alumno en contestar cada pregunta.&lt;/p&gt;
&lt;p&gt;Muchas gracias.&lt;/p&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">http://moodle.org/mod/forum/discuss.php?d=202755&amp;parent=884498</guid>
    </item>
    <item>
      <title>Re: Useful SQL Queries?</title>
      <link>http://moodle.org/mod/forum/discuss.php?d=153059&amp;parent=884496</link>
      <pubDate>Wed, 16 May 2012 10:05:53 GMT</pubDate>
      <description>by Rosario Carcò. &amp;nbsp;&lt;p&gt;&lt;p&gt;Sorry for being late.&lt;/p&gt;
&lt;p&gt;&amp;gt;&amp;gt;Does anyone know if it's possible to include a column that shows the name of the file that was uploaded?&lt;/p&gt;
&lt;p&gt;I found an attachment column in the mdl_forum_posts table. So there might be the same column also in the other &lt;a href=&quot;http://moodle.org/mod/glossary/showentry.php?courseid=5&amp;amp;eid=54&amp;amp;displayformat=dictionary&quot; title=&quot;Glossary of common terms: activities&quot; class=&quot;glossary autolink concept glossaryid5&quot;&gt;activities&lt;/a&gt; that allow students to &lt;a href=&quot;http://moodle.org/mod/glossary/showentry.php?courseid=5&amp;amp;eid=19&amp;amp;displayformat=dictionary&quot; title=&quot;Glossary of common terms: upload&quot; class=&quot;glossary autolink concept glossaryid5&quot;&gt;upload&lt;/a&gt; files.&lt;/p&gt;
&lt;p&gt;Rosario&lt;/p&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">http://moodle.org/mod/forum/discuss.php?d=153059&amp;parent=884496</guid>
    </item>
    <item>
      <title>Re: Useful SQL Queries?</title>
      <link>http://moodle.org/mod/forum/discuss.php?d=153059&amp;parent=884495</link>
      <pubDate>Wed, 16 May 2012 10:02:10 GMT</pubDate>
      <description>by Rosario Carcò. &amp;nbsp;&lt;p&gt;&lt;p&gt;Sorry for being late. To read the &lt;a href=&quot;http://moodle.org/mod/glossary/showentry.php?courseid=5&amp;amp;eid=15&amp;amp;displayformat=dictionary&quot; title=&quot;Glossary of common terms: database&quot; class=&quot;glossary autolink concept glossaryid5&quot;&gt;database&lt;/a&gt; with queries ist ok, but to populate it is very very hazarduous and also difficult to achieve because of the many relations between the different tables. To add users you might study the built in uploaduser.php like I did to write my uploadusersandcourses.php and uploadusersandcourses_silently.php which means you use the Moodle-API to create users, courses, categories, etc. etc. and hence being very safe and ready for any upgrades that may come, as you wil not have to change the API calls nor the logic in your own php scripts.&lt;/p&gt;
&lt;p&gt;Rosario&lt;/p&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">http://moodle.org/mod/forum/discuss.php?d=153059&amp;parent=884495</guid>
    </item>
    <item>
      <title>Re: Understanding mdl_context</title>
      <link>http://moodle.org/mod/forum/discuss.php?d=202588&amp;parent=884493</link>
      <pubDate>Wed, 16 May 2012 09:52:42 GMT</pubDate>
      <description>by Luis de Vasconcelos. &amp;nbsp;&lt;p&gt;&lt;p&gt;Ok I think I get it! &lt;img class=&quot;emoticon&quot; alt=&quot;wide eyes&quot; title=&quot;wide eyes&quot; src=&quot;http://moodle.org/theme/image.php?theme=moodleofficial&amp;amp;image=s%2Fwideeyes&amp;amp;rev=676&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Example:&lt;br /&gt;When a new user is registered in Moodle (mdl_user.id = 12345) then:&lt;/p&gt;
&lt;p&gt;mdl_context.id = 9876 (an auto number)&lt;/p&gt;
&lt;p&gt;mdl_context.contextlevel = 30 (because CONTEXTLEVEL for CONTEXT_USER is 30, as per the &lt;a href=&quot;http://docs.moodle.org/dev/Roles#Context&quot;&gt;docs&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;mdl_context.instanceid = 12345 (because that's the id of the USER instance, mdl_user.id).&lt;/p&gt;
&lt;p&gt;mdl_context.path = /1/9876/ (which is equivalent to: /site context/user context/)&lt;/p&gt;
&lt;p&gt;mdl_context.depth = 2 (because there are two levels in the path - '1' and '9876')&lt;/p&gt;
&lt;p&gt;Is this correct?&lt;/p&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">http://moodle.org/mod/forum/discuss.php?d=202588&amp;parent=884493</guid>
    </item>
    <item>
      <title>Quiz Report Customization</title>
      <link>http://moodle.org/mod/forum/discuss.php?d=202753&amp;parent=884482</link>
      <pubDate>Wed, 16 May 2012 09:26:45 GMT</pubDate>
      <description>by tong adam. &amp;nbsp;&lt;p&gt;&lt;p&gt;&lt;span&gt;Hi, I am new to develop moodle for my school.&lt;/span&gt;&lt;br /&gt;&lt;span&gt;I would like to show the Analysis of responses (/course/mod/quiz/report.php?&lt;/span&gt;&lt;span&gt;id=519&amp;amp;mode=statistics&amp;amp;slot=1) in the Quiz structure (analysis/course/mod/quiz/&lt;/span&gt;&lt;span&gt;report.php?id=519&amp;amp;mode=&lt;/span&gt;&lt;span&gt;statistics) beside the questions.&lt;/span&gt;&lt;br /&gt;&lt;span&gt;is it possible?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Could anyone tell me how to coding or how to do it?&lt;/p&gt;
&lt;p&gt;Million thanks in advance.&lt;/p&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">http://moodle.org/mod/forum/discuss.php?d=202753&amp;parent=884482</guid>
    </item>
    <item>
      <title>User profile picture directory</title>
      <link>http://moodle.org/mod/forum/discuss.php?d=202752&amp;parent=884468</link>
      <pubDate>Wed, 16 May 2012 08:48:36 GMT</pubDate>
      <description>by Andy Friel. &amp;nbsp;&lt;p&gt;&lt;p&gt;I'm having trouble locating where the profile pictures for users are stored in the Moodle 2.2 directory. We recently moved to a new &lt;a href=&quot;http://moodle.org/mod/glossary/showentry.php?courseid=5&amp;amp;eid=30&amp;amp;displayformat=dictionary&quot; title=&quot;Glossary of common terms: server&quot; class=&quot;glossary autolink concept glossaryid5&quot;&gt;server&lt;/a&gt; and the profile pictures for all users have stopped working. I have since uploaded a new profile picture for a user, which is displaying fine, but I can't seem to find the original file stored anywhere in the moodle file structure.&lt;/p&gt;
&lt;p&gt;The documentation leads me to believe that the pictures should be found in moodle/pix/u but these folder only seems to have the default image of a white silhouette against a grey background.&lt;/p&gt;
&lt;p&gt;I also noticed that there have been some changes to how the images themselves are stored in terms of folders and subfolders.&lt;/p&gt;
&lt;p&gt;Can anyone point me in the right direction to find the user profile images and how they should be stored?&lt;/p&gt;
&lt;p&gt;Many thanks,&lt;/p&gt;
&lt;p&gt;Andy&lt;/p&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">http://moodle.org/mod/forum/discuss.php?d=202752&amp;parent=884468</guid>
    </item>
    <item>
      <title>Re: EU Cookie Law</title>
      <link>http://moodle.org/mod/forum/discuss.php?d=201558&amp;parent=884467</link>
      <pubDate>Wed, 16 May 2012 08:46:23 GMT</pubDate>
      <description>by Dave Balch. &amp;nbsp;&lt;p&gt;&lt;p&gt;As I understand it, ICO would only investigate someone if they get a complaint about them - so if your organisation is high profile enough to be a target for people with a grudge it could be at risk.&lt;/p&gt;
&lt;p&gt;I don't think it's a very big risk however, as:&lt;/p&gt;
&lt;ol&gt;&lt;li&gt;the MoodleSession cookie is &quot;strictly neccessary&quot; for logged in users so is exempt from the opt-in requirement - although MoodleSession is set before login which &lt;em&gt;could&lt;/em&gt; be a problem &lt;img class=&quot;emoticon&quot; alt=&quot;sad&quot; title=&quot;sad&quot; src=&quot;http://moodle.org/theme/image.php?theme=moodleofficial&amp;amp;image=s%2Fsad&amp;amp;rev=676&quot; /&gt;&lt;/li&gt;
&lt;li&gt;the MOODLEID1_ cookie is opt-in already (although I've tweaked the wording to be more explicit about it using cookies).&lt;/li&gt;
&lt;/ol&gt;&lt;p&gt;I'm hoping that it will be possible to defer setting MoodleSession until a user logs in, but my non-Moodle sites have more issues so I'm currently working on getting them to the same level that Moodle is as standard.&lt;/p&gt;
&lt;p&gt;IANAL.&lt;/p&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">http://moodle.org/mod/forum/discuss.php?d=201558&amp;parent=884467</guid>
    </item>
    <item>
      <title>Block configuration for each user without DB</title>
      <link>http://moodle.org/mod/forum/discuss.php?d=202732&amp;parent=884394</link>
      <pubDate>Wed, 16 May 2012 03:32:36 GMT</pubDate>
      <description>by Madovsky Franck. &amp;nbsp;&lt;p&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I'm new here and didn't find answer to my question in archives.&lt;/p&gt;
&lt;p&gt;I would like to save the block config for each user without any DB table addition.&lt;/p&gt;
&lt;p&gt;it's 3 settings like email, external secret code and role type.&lt;/p&gt;
&lt;p&gt;possible ?&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;PS: this question is for moodle 1.5 until 2.2&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">http://moodle.org/mod/forum/discuss.php?d=202732&amp;parent=884394</guid>
    </item>
    <item>
      <title>Re: Print exact sql statement executed - for debugging &amp;amp; documentation</title>
      <link>http://moodle.org/mod/forum/discuss.php?d=202481&amp;parent=884392</link>
      <pubDate>Wed, 16 May 2012 03:23:00 GMT</pubDate>
      <description>by John Reese. &amp;nbsp;&lt;p&gt;&lt;p&gt;Hi Mr. Terrier.&lt;/p&gt;
&lt;p&gt;Davo's suggestion is the one I wanted to try.&lt;/p&gt;
&lt;p&gt;I want to be able to see the sql statement created when I try to use the advance &lt;a href=&quot;http://moodle.org/mod/glossary/showentry.php?courseid=5&amp;amp;eid=4455&amp;amp;displayformat=dictionary&quot; title=&quot;Glossary of common terms: Interface&quot; class=&quot;glossary autolink concept glossaryid5&quot;&gt;user interface&lt;/a&gt; in Browse users to delete a number of student records. This way, I can see which tables and fields it's trying to update upon.&lt;/p&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">http://moodle.org/mod/forum/discuss.php?d=202481&amp;parent=884392</guid>
    </item>
    <item>
      <title>Re: Moodle Theme Regions</title>
      <link>http://moodle.org/mod/forum/discuss.php?d=202543&amp;parent=884357</link>
      <pubDate>Tue, 15 May 2012 22:50:41 GMT</pubDate>
      <description>by Paul P.. &amp;nbsp;&lt;p&gt;&lt;p&gt;Maybe this thread will help:&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://moodle.org/mod/forum/discuss.php?d=160567#p858808&quot;&gt;http://moodle.org/mod/forum/discuss.php?d=160567#p858808&lt;/a&gt;&lt;/p&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">http://moodle.org/mod/forum/discuss.php?d=202543&amp;parent=884357</guid>
    </item>
  </channel>
</rss>
