Settings reference
Configure appearance, ownership, license mode, tracking, and report SQL restrictions.
Open settings
Go to Site administration → Plugins → Local plugins → Lenarys Analytics. These settings affect the whole Moodle site.
General settings
| Setting | Default | Notes |
|---|---|---|
| Appearance | System | Choose System, Light, or Dark for the Lenarys Analytics interface. |
| Billing Admin | Primary admin ID / 0 | Selects the administrator for catalogue review, audiences, licensing, and subscription review. |
| API mode | Automatic API sync | Choose the remote API or a manually uploaded local license file. |
| License API URL | https://api.lenarys.com | Shown in API mode. HTTP and HTTPS are supported; production should use a trusted HTTPS endpoint. |
| Debug | Off | Shows and saves technical details. Leave off in production. |
| License file | None | Shown in manual mode. Accepts one JSON file. |
Appearance & Moodle themes
Lenarys Analytics keeps reporting inside Moodle and uses Moodle-compatible page structure and controls. The Appearance setting chooses how the plugin applies its own reporting surfaces:
System
Follows the user’s operating-system light or dark preference and updates when that preference changes.
Light
Keeps the plugin reporting interface in its light appearance.
Dark
Keeps the plugin reporting interface in its dark appearance.
Moodle themes can change surrounding navigation, fonts, spacing, and Bootstrap variables. After changing a site theme, verify report tables, filters, modals, app widgets, focus states, and contrast at desktop and mobile widths. The plugin appearance setting does not replace the Moodle site theme.
Tracking settings
| Setting key | Default | Description |
|---|---|---|
learningtimeenabled | 0 | Enables periodic active-time updates for logged-in users. |
learningtimeinterval | 30 | Heartbeat interval in seconds; effective range 15–120. |
learningtimeidletimeout | 90 | Seconds without user activity before time stops; effective range 30–600. |
Security settings
Restricted tables is a multi-select list of Moodle database tables that report SQL may not use. Sensitive system, authentication, session, token, privacy, and payment-related tables are restricted by default.
File-level defaults
Advanced deployment defaults live in config.php and are not all exposed in the administrator form.
| Key | Default | Purpose |
|---|---|---|
companyname | Lenarys | Organization label shown in the plugin header. |
docsurl | https://lenarys.com/docs | Documentation link displayed from Preferences. |
apicurlsettings | Empty array | Low-level Moodle cURL options. Keep empty in production. |
schedulemaxrecipients | 100 | Maximum email-enabled users for an all-users schedule. |
restrictedtables | Validator defaults | Initial restricted-table selection. |
Was this page helpful?
Your feedback is stored in this browser.