DGTLMS & LMSDISPATCHER Guide

Administration

Connect a WordPress / WooCommerce site (DGTLMS Connect)

With the DGTLMS Connect plugin, your WordPress site opens the platform without a second password, shows each person's courses and, with WooCommerce, sells your courses and enrols buyers as soon as they pay.

Administrator · Integrator~8 minutesIntermediate

What the plugin does

DGTLMS Connect is a plugin to install on your organisation's WordPress site. It provides:

  • A WordPress 6.5 site or later (PHP 7.4 minimum), served over HTTPS. WooCommerce is only needed to sell courses.
  • Access to the DGTLMS Integrations & Connectors page: the rights to view and to act on external connectors (disabled by default for instructors and learners).
  • Administrator access to the WordPress site, to install the plugin.

Steps

  1. Download the plugin

    In DGTLMS, Administration → Intégrations & Connecteurs (Integrations & Connectors), Site web & boutique tab (website and shop), click Télécharger l'extension (download the plugin). You get the latest version as a .zip file.

  2. Install it in WordPress

    Plugins → Add New Plugin → Upload Plugin, choose the .zip file, then Activate.

  3. Authorise the site in DGTLMS

    On the same card, enter the site name and its address, then click Générer une clé (generate a key). Copy the key straight away: it will never be shown again.

  4. Link WordPress to the platform

    In WordPress, Settings → DGTLMS Connect: paste the Platform address (shown on the card, Copier button) and the Site key, save, then click Test the connection. The "Connected to…" message confirms the link.

  5. Choose where the button appears

    At the end of a menu, in a "My trainings" tab of the WooCommerce account, or anywhere else with the "DGTLMS" blocks and the [dgtlms_bouton] and [dgtlms_mes_formations] shortcodes.

  6. Set the access rules

    Allowed WordPress roles (subscriber and customer by default), automatic creation of missing accounts or refusal, Landing page (dashboard or "My trainings") and behaviour for visitors not logged in.

The WordPress / WooCommerce card in DGTLMS: plugin download button, platform address, authorised sites and key generation
The WordPress / WooCommerce card in Integrations & Connectors

Sell courses with WooCommerce

In WordPress, open a product: its "DGTLMS training" tab sets what it gives access to.

In Settings → DGTLMS Connect, WooCommerce sales section, choose when to enrol (order paid or completed only) and whether a cancelled or refunded order withdraws its enrolments and seats.

Purchases by a company

At checkout, the customer chooses "For me" (one seat, enrolment on payment) or "For my colleagues" (as many seats as the quantity). They then assign their seats from My account → Purchased seats: one at a time (first name, last name, work email) or by importing a list (CSV). Each colleague receives an invitation email. The customer follows their progress and can export the follow-up (CSV), send an invitation again or give a free seat to someone else.

  • Security — The key never leaves the WordPress server: the button asks DGTLMS for a single-use login link, valid for 5 minutes. A WordPress administrator never becomes a DGTLMS administrator: only learner accounts are opened this way.
  • Revoke — The card's Révoquer (revoke) button cuts the site off immediately: login, sales and tracking stop until a new key is entered.
  • Platform outage — A failed enrolment is retried automatically (5 min, 30 min, 2 h, 6 h, 24 h); after that, the order's "Send the enrolments to DGTLMS again" action retries it manually.
  • Partial refund — Nothing is withdrawn (there is no way to know which seat is being refunded): a note on the order says so.
  • Update the plugin — Download the new version from the card, then upload it to WordPress: it offers to replace the installed plugin and keeps the settings.
  • For each authorised site, the card shows the date of the last call and the number of enrolments made through it.

See also