RememberMe: Difference between revisions
RememberMe | |
---|---|
Type | Block |
Set | N/A |
Downloads | N/A |
Issues | N/A |
Discussion | N/A |
Maintainer(s) | Pro Plug |
(Created page with "{{Work in progress}} {{Infobox plugin |type = Block |entry = N/A |tracker = N/A |discussion = N/A |maintainer = Pro Plug |float = right }} == Overview ==...") |
No edit summary |
||
Line 13: | Line 13: | ||
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. | 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. | ||
Both the time without log-in required to trigger the reminder, as well as the content of the email can be customised. | Both the time without log-in required to trigger the reminder, as well as the content of the email can be customised. | ||
== Installation == | |||
== Usage == | |||
List of important parameters: <br /> | |||
'$xml' → Shows the path to the data „settings.xml“ <br /> | |||
'text'→ contains the reminder text for the Email <br /> | |||
'login' → contains the count of days for the variable 'days' <br /> | |||
'$days' → exports the count of days, which is necessary to trigger the function <br /> | |||
'lastaccess' → contains the Unix- Timestamp of the user's previous activities <br /> | |||
'$seconds' → calculates, after what time span the function is triggered <br /> | |||
'$date' → exports the present time in Unix-Timestamp-Format <br /> | |||
'time' → present Unix- time in seconds <br /> | |||
The settings file ("settings.xml") allows for customisation of the amount of days that should pass before a message is sent and the contents of the message. <br /> | |||
To do the first, you simply need to change the value for <login>. <br /> | |||
The text in the message can be changed by editing the presets <text1> and <text2>. <br /> | |||
== Technical Details == |
Revision as of 10:47, 31 May 2016
Note: This page is a work-in-progress. Feedback and suggested improvements are welcome. Please join the discussion on moodle.org or use the page comments.
Overview
RememberMe is a block type plugin for Moodle v2.0 made by students of the Berlin School of Economics and Law. 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. Both the time without log-in required to trigger the reminder, as well as the content of the email can be customised.
Installation
Usage
List of important parameters:
'$xml' → Shows the path to the data „settings.xml“
'text'→ contains the reminder text for the Email
'login' → contains the count of days for the variable 'days'
'$days' → exports the count of days, which is necessary to trigger the function
'lastaccess' → contains the Unix- Timestamp of the user's previous activities
'$seconds' → calculates, after what time span the function is triggered
'$date' → exports the present time in Unix-Timestamp-Format
'time' → present Unix- time in seconds
The settings file ("settings.xml") allows for customisation of the amount of days that should pass before a message is sent and the contents of the message.
To do the first, you simply need to change the value for <login>.
The text in the message can be changed by editing the presets <text1> and <text2>.