<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://docs.moodle.org/39/en/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Mchaney1</id>
	<title>MoodleDocs - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://docs.moodle.org/39/en/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Mchaney1"/>
	<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/Special:Contributions/Mchaney1"/>
	<updated>2026-04-22T08:11:10Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=local/Recycle_bin&amp;diff=122739</id>
		<title>local/Recycle bin</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=local/Recycle_bin&amp;diff=122739"/>
		<updated>2016-04-01T14:01:14Z</updated>

		<summary type="html">&lt;p&gt;Mchaney1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Infobox plugin&lt;br /&gt;
|type = General (local) &lt;br /&gt;
|entry = https://moodle.org/plugins/view/local_recyclebin&lt;br /&gt;
|tracker = https://github.com/unikent/moodle-local_recyclebin/issues&lt;br /&gt;
|discussion = https://moodle.org/plugins/view/local_recyclebin&lt;br /&gt;
|maintainer = [[User:Skylar Kelty|Skylar Kelty]]&lt;br /&gt;
|float = right&lt;br /&gt;
}}&lt;br /&gt;
This is a [[:Category:Contributed_code|contributed (third party)]] plugin for Moodle written by Skylar Kelty and shared on Moodle.org&lt;br /&gt;
&lt;br /&gt;
This plugin adds a &amp;quot;recycle bin&amp;quot; for course modules to Moodle. The recycle bin stores course modules when they&#039;re deleted and provides an interface for users to restore them should they need to. It can be configured to automatically purge items after a configurable length of time.&lt;br /&gt;
&lt;br /&gt;
==Moodle versions available==&lt;br /&gt;
This plugin works with Moodle 2.8 and 2.9&lt;br /&gt;
&lt;br /&gt;
==Translations available==&lt;br /&gt;
This plugin has been [https://lang.moodle.org/ translated] to the following languages (as of August 26th 2015):&lt;br /&gt;
* es_mx Mexican Spanish&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
It requires a core hack as there is no pre-cm-deleted event, you will need to add a line to &#039;/course/lib.php&#039; (function course_delete_module), right after the first &amp;quot;if()&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== Automatic Patching ===&lt;br /&gt;
&lt;br /&gt;
Simply apply this diff using `patch`:&lt;br /&gt;
&amp;lt;code diff&amp;gt;&lt;br /&gt;
diff --git a/course/lib.php b/course/lib.php&lt;br /&gt;
index e49bdf1..5f8d6e6 100644&lt;br /&gt;
--- a/course/lib.php&lt;br /&gt;
+++ b/course/lib.php&lt;br /&gt;
@@ -1654,6 +1654,9 @@ function course_delete_module($cmid) {&lt;br /&gt;
         return true;&lt;br /&gt;
     }&lt;br /&gt;
&lt;br /&gt;
+    // Notify the recycle bin plugin.&lt;br /&gt;
+    \local_recyclebin\Observer::pre_cm_delete($cm);&lt;br /&gt;
+&lt;br /&gt;
     // Get the module context.&lt;br /&gt;
     $modcontext = context_module::instance($cm-&amp;gt;id);&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Manual Patching ===&lt;br /&gt;
&lt;br /&gt;
* First, open /course/lib.php in a text editor.&lt;br /&gt;
&lt;br /&gt;
[[File:recyclebin_courselibphpineditor.png|300px]]&lt;br /&gt;
&lt;br /&gt;
* You need to find these lines within the course_delete_module function:&lt;br /&gt;
&amp;lt;code php&amp;gt;&lt;br /&gt;
// Get the course module.&lt;br /&gt;
if (!$cm = $DB-&amp;gt;get_record(&#039;course_modules&#039;, array(&#039;id&#039; =&amp;gt; $cmid))) {&lt;br /&gt;
    return true;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
* After those two lines, add the following:&lt;br /&gt;
&amp;lt;code php&amp;gt;&lt;br /&gt;
// Notify the recycle bin plugin.&lt;br /&gt;
\local_recyclebin\observer::pre_cm_delete($cm);&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Your modified file must look exactly like this (around lines 1658 and 1659):&lt;br /&gt;
&lt;br /&gt;
[[File:recyclebin_courselibphpedited.png]]&lt;br /&gt;
&lt;br /&gt;
* You will then have a Recycle bin available inside the Administration block:&lt;br /&gt;
&lt;br /&gt;
[[File:Recycle bin is available.png|300px]]&lt;br /&gt;
&lt;br /&gt;
==Potential privacy issues==&lt;br /&gt;
This plugin will store a backup of user data in Moodle&#039;s dataroot.&lt;br /&gt;
&lt;br /&gt;
[[es:local/Recycle bin]]&lt;/div&gt;</summary>
		<author><name>Mchaney1</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=Feedback_FAQ&amp;diff=122180</id>
		<title>Feedback FAQ</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=Feedback_FAQ&amp;diff=122180"/>
		<updated>2016-02-05T09:17:49Z</updated>

		<summary type="html">&lt;p&gt;Mchaney1: /* Is Activity Completion recorded if the Feedback activity is set to anonymise usernames? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Feedback}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==How can I allow non-logged in users to give feedback?==&lt;br /&gt;
*As an adminstrator, go to &#039;&#039;Administration&amp;gt;Site Administration&amp;gt;Plugins&amp;gt;Activity Modules&amp;gt;Feedback&#039;&#039;.&lt;br /&gt;
*Change &amp;quot;Allow full anonymous&amp;quot; to &amp;quot;yes&amp;quot;&lt;br /&gt;
*Note that this only works for the front page, and NOT for courses with guest access.&lt;br /&gt;
*You will also need to check that Authenticated User and Guest role both have permission to Submit Feedback Activity.&lt;br /&gt;
[[File:Anonymousfeedback.png]]&lt;br /&gt;
&lt;br /&gt;
==How can I allow teachers and non editing teachers to give feedback?==&lt;br /&gt;
1) Go into the course as admin&lt;br /&gt;
2) Click on your feedback you want to use for your teachers&lt;br /&gt;
3) Click on &amp;quot;Permissions&amp;quot; inside the Administration block&lt;br /&gt;
4) In the dropdown list &amp;quot;Advanced role override&amp;quot; choose &amp;quot;Teacher&amp;quot; or how ever your teacher role is named&lt;br /&gt;
5) Look for &amp;quot;mod/feedback:complete&amp;quot; and set it to &amp;quot;Allow&amp;quot;&lt;br /&gt;
6) Click on &amp;quot;Save changes&amp;quot;&lt;br /&gt;
&lt;br /&gt;
==How do I create a Feedback activity and add questions?==&lt;br /&gt;
&lt;br /&gt;
* From the &#039;&#039;Add an activity...&#039;&#039; drop down, select &#039;&#039;Feedback&#039;&#039;.&lt;br /&gt;
* Complete the Name, Description, and other options then save.&lt;br /&gt;
* To add questions to your Feedback activity, click the link for the feedback activity, click the &#039;&#039;Edit questions&#039;&#039; tab, and add questions.&lt;br /&gt;
&lt;br /&gt;
==Can I make questions dependent on previous responses?==&lt;br /&gt;
Yes. See the section on Dependence item and Dependence value in [[Building Feedback]].&lt;br /&gt;
*See [[Template creator]]&lt;br /&gt;
&lt;br /&gt;
==Is Activity Completion recorded if the Feedback activity is set to anonymise usernames?==&lt;br /&gt;
Yes. If the Feedback activity is set to Anonymous usernames, and the Feedback activity is set to record Activity Completion, then the activity will still be marked as complete and the user will show up in the activity completion reports.&lt;br /&gt;
&lt;br /&gt;
==I do not see the Edit Questions tab. What should I do?==&lt;br /&gt;
This does happen sometimes. Usually, logging out of the course and then logging back in will take care of this problem.&lt;br /&gt;
&lt;br /&gt;
==What are the differences between Feedback and Questionnaire?==&lt;br /&gt;
&lt;br /&gt;
[[Questionnaire]] is an additional plugin. For a discussion about their differences, see the forum thread [https://moodle.org/mod/forum/discuss.php?d=195584#p852097 Questionnaire v Feedback]&lt;br /&gt;
&lt;br /&gt;
==Is there a planned replacement for Feedback and Questionnaire?==&lt;br /&gt;
Work is under way on a new enhanced survey module soon to be added to the plugins database. .&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* Using Moodle [http://moodle.org/mod/forum/view.php?id=7152 Feedback module forum]&lt;br /&gt;
* [https://docs.moodle.org/dev/Survey_2_module https://docs.moodle.org/dev/Survey_2_module] in the developers documentation&lt;br /&gt;
&lt;br /&gt;
[[Category:FAQ]]&lt;br /&gt;
&lt;br /&gt;
[[de:Feedback FAQ]]&lt;br /&gt;
[[es:Retroalimentación FAQ]]&lt;/div&gt;</summary>
		<author><name>Mchaney1</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=Feedback_FAQ&amp;diff=122179</id>
		<title>Feedback FAQ</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=Feedback_FAQ&amp;diff=122179"/>
		<updated>2016-02-05T09:17:20Z</updated>

		<summary type="html">&lt;p&gt;Mchaney1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Feedback}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==How can I allow non-logged in users to give feedback?==&lt;br /&gt;
*As an adminstrator, go to &#039;&#039;Administration&amp;gt;Site Administration&amp;gt;Plugins&amp;gt;Activity Modules&amp;gt;Feedback&#039;&#039;.&lt;br /&gt;
*Change &amp;quot;Allow full anonymous&amp;quot; to &amp;quot;yes&amp;quot;&lt;br /&gt;
*Note that this only works for the front page, and NOT for courses with guest access.&lt;br /&gt;
*You will also need to check that Authenticated User and Guest role both have permission to Submit Feedback Activity.&lt;br /&gt;
[[File:Anonymousfeedback.png]]&lt;br /&gt;
&lt;br /&gt;
==How can I allow teachers and non editing teachers to give feedback?==&lt;br /&gt;
1) Go into the course as admin&lt;br /&gt;
2) Click on your feedback you want to use for your teachers&lt;br /&gt;
3) Click on &amp;quot;Permissions&amp;quot; inside the Administration block&lt;br /&gt;
4) In the dropdown list &amp;quot;Advanced role override&amp;quot; choose &amp;quot;Teacher&amp;quot; or how ever your teacher role is named&lt;br /&gt;
5) Look for &amp;quot;mod/feedback:complete&amp;quot; and set it to &amp;quot;Allow&amp;quot;&lt;br /&gt;
6) Click on &amp;quot;Save changes&amp;quot;&lt;br /&gt;
&lt;br /&gt;
==How do I create a Feedback activity and add questions?==&lt;br /&gt;
&lt;br /&gt;
* From the &#039;&#039;Add an activity...&#039;&#039; drop down, select &#039;&#039;Feedback&#039;&#039;.&lt;br /&gt;
* Complete the Name, Description, and other options then save.&lt;br /&gt;
* To add questions to your Feedback activity, click the link for the feedback activity, click the &#039;&#039;Edit questions&#039;&#039; tab, and add questions.&lt;br /&gt;
&lt;br /&gt;
==Can I make questions dependent on previous responses?==&lt;br /&gt;
Yes. See the section on Dependence item and Dependence value in [[Building Feedback]].&lt;br /&gt;
*See [[Template creator]]&lt;br /&gt;
&lt;br /&gt;
==Is Activity Completion recorded if the Feedback activity is set to anonymise usernames?==&lt;br /&gt;
Yes. If the Feedback activity is set to Anonymous usernames, and the Feedback activity is set to record Activity Completion, then the activity will still be marked as complete and the user will show up in the reports. &lt;br /&gt;
&lt;br /&gt;
==I do not see the Edit Questions tab. What should I do?==&lt;br /&gt;
This does happen sometimes. Usually, logging out of the course and then logging back in will take care of this problem.&lt;br /&gt;
&lt;br /&gt;
==What are the differences between Feedback and Questionnaire?==&lt;br /&gt;
&lt;br /&gt;
[[Questionnaire]] is an additional plugin. For a discussion about their differences, see the forum thread [https://moodle.org/mod/forum/discuss.php?d=195584#p852097 Questionnaire v Feedback]&lt;br /&gt;
&lt;br /&gt;
==Is there a planned replacement for Feedback and Questionnaire?==&lt;br /&gt;
Work is under way on a new enhanced survey module soon to be added to the plugins database. .&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* Using Moodle [http://moodle.org/mod/forum/view.php?id=7152 Feedback module forum]&lt;br /&gt;
* [https://docs.moodle.org/dev/Survey_2_module https://docs.moodle.org/dev/Survey_2_module] in the developers documentation&lt;br /&gt;
&lt;br /&gt;
[[Category:FAQ]]&lt;br /&gt;
&lt;br /&gt;
[[de:Feedback FAQ]]&lt;br /&gt;
[[es:Retroalimentación FAQ]]&lt;/div&gt;</summary>
		<author><name>Mchaney1</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=Feedback_FAQ&amp;diff=122178</id>
		<title>Feedback FAQ</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=Feedback_FAQ&amp;diff=122178"/>
		<updated>2016-02-05T09:16:28Z</updated>

		<summary type="html">&lt;p&gt;Mchaney1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Feedback}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==How can I allow non-logged in users to give feedback?==&lt;br /&gt;
*As an adminstrator, go to &#039;&#039;Administration&amp;gt;Site Administration&amp;gt;Plugins&amp;gt;Activity Modules&amp;gt;Feedback&#039;&#039;.&lt;br /&gt;
*Change &amp;quot;Allow full anonymous&amp;quot; to &amp;quot;yes&amp;quot;&lt;br /&gt;
*Note that this only works for the front page, and NOT for courses with guest access.&lt;br /&gt;
*You will also need to check that Authenticated User and Guest role both have permission to Submit Feedback Activity.&lt;br /&gt;
[[File:Anonymousfeedback.png]]&lt;br /&gt;
&lt;br /&gt;
==How can I allow teachers and non editing teachers to give feedback?==&lt;br /&gt;
1) Go into the course as admin&lt;br /&gt;
2) Click on your feedback you want to use for your teachers&lt;br /&gt;
3) Click on &amp;quot;Permissions&amp;quot; inside the Administration block&lt;br /&gt;
4) In the dropdown list &amp;quot;Advanced role override&amp;quot; choose &amp;quot;Teacher&amp;quot; or how ever your teacher role is named&lt;br /&gt;
5) Look for &amp;quot;mod/feedback:complete&amp;quot; and set it to &amp;quot;Allow&amp;quot;&lt;br /&gt;
6) Click on &amp;quot;Save changes&amp;quot;&lt;br /&gt;
&lt;br /&gt;
==How do I create a Feedback activity and add questions?==&lt;br /&gt;
&lt;br /&gt;
* From the &#039;&#039;Add an activity...&#039;&#039; drop down, select &#039;&#039;Feedback&#039;&#039;.&lt;br /&gt;
* Complete the Name, Description, and other options then save.&lt;br /&gt;
* To add questions to your Feedback activity, click the link for the feedback activity, click the &#039;&#039;Edit questions&#039;&#039; tab, and add questions.&lt;br /&gt;
&lt;br /&gt;
==Can I make questions dependent on previous responses?==&lt;br /&gt;
Yes. See the section on Dependence item and Dependence value in [[Building Feedback]].&lt;br /&gt;
*See [[Template creator]]&lt;br /&gt;
&lt;br /&gt;
==Is Activity Completion recorded if the Feedback activity is set to Anonymous username?==&lt;br /&gt;
Yes. If the Feedback activity is set to Anonymous usernames, and the Feedback activity is set to record Activity Completion, then the activity will still be marked as complete and the user will show up in the reports. &lt;br /&gt;
&lt;br /&gt;
==I do not see the Edit Questions tab. What should I do?==&lt;br /&gt;
This does happen sometimes. Usually, logging out of the course and then logging back in will take care of this problem.&lt;br /&gt;
&lt;br /&gt;
==What are the differences between Feedback and Questionnaire?==&lt;br /&gt;
&lt;br /&gt;
[[Questionnaire]] is an additional plugin. For a discussion about their differences, see the forum thread [https://moodle.org/mod/forum/discuss.php?d=195584#p852097 Questionnaire v Feedback]&lt;br /&gt;
&lt;br /&gt;
==Is there a planned replacement for Feedback and Questionnaire?==&lt;br /&gt;
Work is under way on a new enhanced survey module soon to be added to the plugins database. .&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* Using Moodle [http://moodle.org/mod/forum/view.php?id=7152 Feedback module forum]&lt;br /&gt;
* [https://docs.moodle.org/dev/Survey_2_module https://docs.moodle.org/dev/Survey_2_module] in the developers documentation&lt;br /&gt;
&lt;br /&gt;
[[Category:FAQ]]&lt;br /&gt;
&lt;br /&gt;
[[de:Feedback FAQ]]&lt;br /&gt;
[[es:Retroalimentación FAQ]]&lt;/div&gt;</summary>
		<author><name>Mchaney1</name></author>
	</entry>
</feed>