RememberMe

From MoodleDocs
Revision as of 10:47, 31 May 2016 by Pro Plug (talk | contribs)
RememberMe
Type Block
Set N/A
Downloads N/A
Issues N/A
Discussion N/A
Maintainer(s) Pro Plug

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>.

Technical Details