Skip to content
Lenarys Analytics Docs
Back to website
Administration Settings reference

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

SettingDefaultNotes
AppearanceSystemChoose System, Light, or Dark for the Lenarys Analytics interface.
Billing AdminPrimary admin ID / 0Selects the administrator for catalogue review, audiences, licensing, and subscription review.
API modeAutomatic API syncChoose the remote API or a manually uploaded local license file.
License API URLhttps://api.lenarys.comShown in API mode. HTTP and HTTPS are supported; production should use a trusted HTTPS endpoint.
DebugOffShows and saves technical details. Leave off in production.
License fileNoneShown 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:

S

System

Follows the user’s operating-system light or dark preference and updates when that preference changes.

L

Light

Keeps the plugin reporting interface in its light appearance.

D

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 keyDefaultDescription
learningtimeenabled0Enables periodic active-time updates for logged-in users.
learningtimeinterval30Heartbeat interval in seconds; effective range 15–120.
learningtimeidletimeout90Seconds 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.

Keep the deny list conservative. Removing a restricted table broadens what installed and generated definitions can query. Review all SQL separately; a restriction list is not a complete SQL security boundary.

File-level defaults

Advanced deployment defaults live in config.php and are not all exposed in the administrator form.

KeyDefaultPurpose
companynameLenarysOrganization label shown in the plugin header.
docsurlhttps://lenarys.com/docsDocumentation link displayed from Preferences.
apicurlsettingsEmpty arrayLow-level Moodle cURL options. Keep empty in production.
schedulemaxrecipients100Maximum email-enabled users for an all-users schedule.
restrictedtablesValidator defaultsInitial restricted-table selection.

Was this page helpful?

Your feedback is stored in this browser.