<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
	<id>http://wiki.mipt.ru/index.php?action=history&amp;feed=atom&amp;title=RememberMe</id>
	<title>RememberMe - История изменений</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.mipt.ru/index.php?action=history&amp;feed=atom&amp;title=RememberMe"/>
	<link rel="alternate" type="text/html" href="http://wiki.mipt.ru/index.php?title=RememberMe&amp;action=history"/>
	<updated>2026-05-07T23:05:58Z</updated>
	<subtitle>История изменений этой страницы в вики</subtitle>
	<generator>MediaWiki 1.42.1</generator>
	<entry>
		<id>http://wiki.mipt.ru/index.php?title=RememberMe&amp;diff=5133&amp;oldid=prev</id>
		<title>Олег Давидович: 1 версия импортирована</title>
		<link rel="alternate" type="text/html" href="http://wiki.mipt.ru/index.php?title=RememberMe&amp;diff=5133&amp;oldid=prev"/>
		<updated>2024-10-18T06:44:46Z</updated>

		<summary type="html">&lt;p&gt;1 версия импортирована&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ru&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Предыдущая версия&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Версия от 06:44, 18 октября 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;ru&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(нет различий)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Олег Давидович</name></author>
	</entry>
	<entry>
		<id>http://wiki.mipt.ru/index.php?title=RememberMe&amp;diff=5132&amp;oldid=prev</id>
		<title>1&gt;Tim@horizoneducationnetwork.org: clean up, typos fixed: beeing → being (2), april → April</title>
		<link rel="alternate" type="text/html" href="http://wiki.mipt.ru/index.php?title=RememberMe&amp;diff=5132&amp;oldid=prev"/>
		<updated>2022-05-20T14:15:15Z</updated>

		<summary type="html">&lt;p&gt;clean up, typos fixed: beeing → being (2), april → April&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Infobox plugin&lt;br /&gt;
|type = Block&lt;br /&gt;
|entry = https://github.com/hwr-projektgruppe/RememberMe&lt;br /&gt;
|tracker = https://github.com/hwr-projektgruppe/RememberMe/issues&lt;br /&gt;
|discussion = N/A&lt;br /&gt;
|maintainer = [[User:proplug|ProPlug Team]]&lt;br /&gt;
|float = right&lt;br /&gt;
}}&lt;br /&gt;
== Overview ==&lt;br /&gt;
&lt;br /&gt;
RememberMe is a block type plugin for Moodle v2.0 made by students of the Berlin School of Economics and Law. &lt;br /&gt;
It periodically checks if a user has not logged in for a specified amount of time and if so, it sends a reminder email to this user. &lt;br /&gt;
Both the time without log-in required to trigger the reminder, as well as the content of the email can be customised.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
The plugin directory must be moved into &amp;#039;&amp;#039;.../moodle/blocks/&amp;#039;&amp;#039;. There are several ways to achieve this.&lt;br /&gt;
&lt;br /&gt;
You can install directly from the Moodle plugins directory. To do this, log into your Moodle as admin, go to &amp;#039;&amp;#039;Site administration &amp;gt; Plugins &amp;gt; Install plugins&amp;#039;&amp;#039; &lt;br /&gt;
and click the button &amp;#039;Install plugins from Moodle plugins directory&amp;#039;. Search for the plugin and click the install button.&lt;br /&gt;
&lt;br /&gt;
You can also use the &amp;#039;&amp;#039;Install plugins&amp;#039;&amp;#039; page to upload and install the plugin after you have downloaded it from the Moodle plugins directory.&lt;br /&gt;
Simply drag and drop the ZIP file containing the RememberMe directory into the given field, or use the &amp;#039;Choose a file...&amp;#039; button.&lt;br /&gt;
&lt;br /&gt;
Alternatively, you can do it manually. Download the ZIP from the Moodle plugins directory, unzip it and move or copy the uncompressed folder into &amp;#039;&amp;#039;.../moodle/blocks/&amp;#039;&amp;#039;.&lt;br /&gt;
Then, log into your Moodle as admin and go to &amp;#039;&amp;#039;Settings &amp;gt; Site administration &amp;gt; Notifications&amp;#039;&amp;#039;.&lt;br /&gt;
You should get a notification about a new plugin being installed.&lt;br /&gt;
&lt;br /&gt;
For more in-depth step-by-step instructions about installing block plugins, see [https://docs.moodle.org/405/en/Installing_plugins]&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&lt;br /&gt;
If this plugin is active and was installed correctly, you&amp;#039;ll see a new block in your moodle course.&lt;br /&gt;
Clicking on the logo will link you to this very page.&lt;br /&gt;
&lt;br /&gt;
Configure the settings file (&amp;quot;settings.xml&amp;quot;) to customise the amount of days that should pass before a message is sent and the contents of the message. &amp;lt;br /&amp;gt;&lt;br /&gt;
To do the first, you simply need to change the value for &amp;lt;login&amp;gt;. &amp;lt;br /&amp;gt;&lt;br /&gt;
The text in the message can be changed by editing the presets &amp;lt;text1&amp;gt; and &amp;lt;text2&amp;gt;. &amp;lt;br /&amp;gt;&lt;br /&gt;
By default, &amp;lt;text1&amp;gt; is a formal message while &amp;lt;text2&amp;gt; is more casual.&lt;br /&gt;
&lt;br /&gt;
== Technical Details ==&lt;br /&gt;
&lt;br /&gt;
List of important parameters: &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;#039;$xml&amp;#039; → Shows the path to the data „settings.xml“ &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;#039;text&amp;#039;→ contains the reminder text for the Email &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;#039;login&amp;#039; → contains the count of days for the variable &amp;#039;days&amp;#039; &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;#039;$days&amp;#039; → exports the count of days, which is necessary to trigger the function &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;#039;lastaccess&amp;#039; → contains the Unix- Timestamp of the user&amp;#039;s previous activities &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;#039;$seconds&amp;#039; → calculates, after what time span the function is triggered &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;#039;$date&amp;#039; → exports the present time in Unix-Timestamp-Format &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;#039;time&amp;#039; → present Unix-time in seconds &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Both &amp;#039;time&amp;#039; and &amp;#039;lastaccess&amp;#039; are Unix-Timestamps, meaning that their values are the seconds that have passed between the beginning of the Unix-period (01.01.1790 - 00:00 o‘clock UTC) and the point in time these timestamps refer to. As a result, the plugin uses seconds as unit of measurement when calculating. &lt;br /&gt;
&lt;br /&gt;
The plugin gets executed every 12 hours by a Cronjob. When this happens, the timestamp of each user&amp;#039;s last login is compared with the difference between the current time and the time that is required to elapse before an email is triggered, to check if a user matches this requirement (in short, if $date - $seconds ≥ &amp;#039;lastaccess&amp;#039;). If so, an email containing the message specified in the settings file is composed and sent. To do the latter, the plugin uses the PHPMailerAutoload class.&lt;br /&gt;
&lt;br /&gt;
Example: &amp;lt;br /&amp;gt;&lt;br /&gt;
Let&amp;#039;s assume today is the 1st of April, 2016 at 6:00am. &amp;lt;br /&amp;gt;&lt;br /&gt;
-&amp;gt; $date = 1459483200 &amp;lt;br /&amp;gt;&lt;br /&gt;
The user in question has last logged in on the 30th of march, 2016 at 15:15pm.  &amp;lt;br /&amp;gt;&lt;br /&gt;
-&amp;gt; lastaccess = 1459343700 &amp;lt;br /&amp;gt;&lt;br /&gt;
The admin wants everyone who has not visited moodle for 5 days to receive a message. &amp;lt;br /&amp;gt;&lt;br /&gt;
-&amp;gt; $days = 1 -&amp;gt; $seconds = 86400 &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;1459483200 - 86400 = 1459396800&amp;lt;/nowiki&amp;gt; &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;1459396800 &amp;gt; 1459343700&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The condition of $date - $seconds ≥ &amp;#039;lastaccess&amp;#039; is met and a message will be sent.&lt;br /&gt;
&lt;br /&gt;
It should be noted that the plugin overwrites the &amp;#039;lastaccess&amp;#039; variable when sending an email, to prevent another one from being sent when the plugin is executed the next times.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[es:RecuerdaMe]]&lt;/div&gt;</summary>
		<author><name>1&gt;Tim@horizoneducationnetwork.org</name></author>
	</entry>
</feed>