<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://docsen.activeprolearn.com/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://docsen.activeprolearn.com/feed.php">
        <title>Documentation Moodle ActiveProLearn - blocks:dashboard:querycatalogue</title>
        <description></description>
        <link>https://docsen.activeprolearn.com/</link>
        <image rdf:resource="https://docsen.activeprolearn.com/lib/exe/fetch.php?media=wiki:logo.png" />
       <dc:date>2026-11-14T03:32:29+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://docsen.activeprolearn.com/doku.php?id=blocks:dashboard:querycatalogue:queryconnexionsan&amp;rev=1794603669&amp;do=diff"/>
                <rdf:li rdf:resource="https://docsen.activeprolearn.com/doku.php?id=blocks:dashboard:querycatalogue:querycourseyear&amp;rev=1794603669&amp;do=diff"/>
                <rdf:li rdf:resource="https://docsen.activeprolearn.com/doku.php?id=blocks:dashboard:querycatalogue:querynoconnecteduserscohorts&amp;rev=1794603669&amp;do=diff"/>
                <rdf:li rdf:resource="https://docsen.activeprolearn.com/doku.php?id=blocks:dashboard:querycatalogue:querypopularrescohorts&amp;rev=1794603669&amp;do=diff"/>
                <rdf:li rdf:resource="https://docsen.activeprolearn.com/doku.php?id=blocks:dashboard:querycatalogue:querytimecreatedusers&amp;rev=1794603669&amp;do=diff"/>
                <rdf:li rdf:resource="https://docsen.activeprolearn.com/doku.php?id=blocks:dashboard:querycatalogue:queryusersauthmethod&amp;rev=1794603669&amp;do=diff"/>
                <rdf:li rdf:resource="https://docsen.activeprolearn.com/doku.php?id=blocks:dashboard:querycatalogue:queryusersgroup&amp;rev=1794603669&amp;do=diff"/>
                <rdf:li rdf:resource="https://docsen.activeprolearn.com/doku.php?id=blocks:dashboard:querycatalogue:queryusersresourcestypes&amp;rev=1794603669&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://docsen.activeprolearn.com/lib/exe/fetch.php?media=wiki:logo.png">
        <title>Documentation Moodle ActiveProLearn</title>
        <link>https://docsen.activeprolearn.com/</link>
        <url>https://docsen.activeprolearn.com/lib/exe/fetch.php?media=wiki:logo.png</url>
    </image>
    <item rdf:about="https://docsen.activeprolearn.com/doku.php?id=blocks:dashboard:querycatalogue:queryconnexionsan&amp;rev=1794603669&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-11-13T21:01:09+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Generic Query Catalogue</title>
        <link>https://docsen.activeprolearn.com/doku.php?id=blocks:dashboard:querycatalogue:queryconnexionsan&amp;rev=1794603669&amp;do=diff</link>
        <description>Generic Query Catalogue

Dashboard Block (Dashboard Element)

Yearly logins curve / year / profile variable

 SELECT
 CONCAT(FROM_UNIXTIME(l.timecreated, &#039;%Y-%m&#039;), &#039;-&#039;, uid.data) as pk,
 FROM_UNIXTIME(l.timecreated, &#039;%Y-%m&#039;) as month,
 uid.data as fonction,
 COUNT(*) as cnx,
 FROM_UNIXTIME(l.timecreated, &#039;%Y&#039;) as year</description>
    </item>
    <item rdf:about="https://docsen.activeprolearn.com/doku.php?id=blocks:dashboard:querycatalogue:querycourseyear&amp;rev=1794603669&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-11-13T21:01:09+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Generic Query Catalogue</title>
        <link>https://docsen.activeprolearn.com/doku.php?id=blocks:dashboard:querycatalogue:querycourseyear&amp;rev=1794603669&amp;do=diff</link>
        <description>Generic Query Catalogue

Dashboard Block (Dashboard Element)

Yearly histogram of logins by course and by month

Rendering with filters by course and by year, and output data by month, distinct users and course visits



SELECT
 CONCAT(FROM_UNIXTIME(l.timecreated, &#039;%Y-%m&#039;), &#039;-&#039;, c.id) as pkey,
 FROM_UNIXTIME(l.timecreated, &#039;%Y-%m&#039;) as month,
 FROM_UNIXTIME(l.timecreated, &#039;%Y&#039;) as year,
 c.fullname as cn,
 COUNT(DISTINCT l.userid) as dusr,
 COUNT(*) as usr</description>
    </item>
    <item rdf:about="https://docsen.activeprolearn.com/doku.php?id=blocks:dashboard:querycatalogue:querynoconnecteduserscohorts&amp;rev=1794603669&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-11-13T21:01:09+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Generic Query Catalogue</title>
        <link>https://docsen.activeprolearn.com/doku.php?id=blocks:dashboard:querycatalogue:querynoconnecteduserscohorts&amp;rev=1794603669&amp;do=diff</link>
        <description>Generic Query Catalogue

Dashboard Block (Dashboard Element)

Users who have never logged in, by cohort

Displays the list of users who have never logged in, by cohort, with as output data the categories and subcategories of the courses concerned, the shortnames and the courses, and the cohort names. For users: last name, first name, email, username, role and a custom profile field on their function in Moodle)</description>
    </item>
    <item rdf:about="https://docsen.activeprolearn.com/doku.php?id=blocks:dashboard:querycatalogue:querypopularrescohorts&amp;rev=1794603669&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-11-13T21:01:09+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Generic Query Catalogue</title>
        <link>https://docsen.activeprolearn.com/doku.php?id=blocks:dashboard:querycatalogue:querypopularrescohorts&amp;rev=1794603669&amp;do=diff</link>
        <description>Generic Query Catalogue

Dashboard Block (Dashboard Element)

Resource popularity table by cohort

Displays a table of resource popularity by cohort. Rendered in output columns showing the course category and subcategory, the resource type and name with the number of views and the date of last view per resource, as well as the sections and subsections where they appear.</description>
    </item>
    <item rdf:about="https://docsen.activeprolearn.com/doku.php?id=blocks:dashboard:querycatalogue:querytimecreatedusers&amp;rev=1794603669&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-11-13T21:01:09+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Generic Query Catalogue</title>
        <link>https://docsen.activeprolearn.com/doku.php?id=blocks:dashboard:querycatalogue:querytimecreatedusers&amp;rev=1794603669&amp;do=diff</link>
        <description>Generic Query Catalogue

Dashboard Block (Dashboard Element)

Registrations per day

Displays a column with the date, and one with the number of users registered on the platform on that date.

SELECT
   FROM_UNIXTIME(u.timecreated,&quot;%Y-%m-%d&quot;) as day,
   FROM_UNIXTIME(u.timecreated,&quot;%M&quot;) as month,
   COUNT(*) as nbrusers</description>
    </item>
    <item rdf:about="https://docsen.activeprolearn.com/doku.php?id=blocks:dashboard:querycatalogue:queryusersauthmethod&amp;rev=1794603669&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-11-13T21:01:09+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Generic Query Catalogue</title>
        <link>https://docsen.activeprolearn.com/doku.php?id=blocks:dashboard:querycatalogue:queryusersauthmethod&amp;rev=1794603669&amp;do=diff</link>
        <description>Generic Query Catalogue

Dashboard Block (Dashboard Element)

Users by authentication method



SELECT
 u.auth as auth,
 COUNT(*) as users
FROM
 {user} u
WHERE
 deleted = 0 AND
 suspended = 0 AND
 username != &#039;guest&#039;
 &lt;%%PARAMS%%&gt;
GROUP BY
 u.auth
Configuration</description>
    </item>
    <item rdf:about="https://docsen.activeprolearn.com/doku.php?id=blocks:dashboard:querycatalogue:queryusersgroup&amp;rev=1794603669&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-11-13T21:01:09+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Generic Query Catalogue</title>
        <link>https://docsen.activeprolearn.com/doku.php?id=blocks:dashboard:querycatalogue:queryusersgroup&amp;rev=1794603669&amp;do=diff</link>
        <description>Generic Query Catalogue

Dashboard Block (Dashboard Element)

List of groups



SELECT
g.id AS gid,
c.shortname as cs,
cc1.name as cc1,
cc2.name as cc2,
c.fullname as cn,
g.name as g,
g.timecreated AS gc,
g.timemodified AS gm,
COUNT(*) as gms
FROM</description>
    </item>
    <item rdf:about="https://docsen.activeprolearn.com/doku.php?id=blocks:dashboard:querycatalogue:queryusersresourcestypes&amp;rev=1794603669&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-11-13T21:01:09+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Generic Query Catalogue</title>
        <link>https://docsen.activeprolearn.com/doku.php?id=blocks:dashboard:querycatalogue:queryusersresourcestypes&amp;rev=1794603669&amp;do=diff</link>
        <description>Generic Query Catalogue

Dashboard Block (Dashboard Element)

List of resources viewed by users

	*  Currently over 5 resource types: url, quizzes, assignments, page, folder
	*  Filtering by course
	*  Filtering by user



SELECT
 CONCAT(cm.id, &#039;-&#039;, u.id) as pkey,
 CONCAT(u.lastname, &#039; &#039;, u.firstname) as user,
 cm.id,
 c.shortname as sn,
 c.fullname as fn,
 cc1.name as cc1,
 m.name as rtype,
 CASE WHEN m.name = &#039;resource&#039; THEN r.name
            WHEN m.name = &#039;page&#039; THEN p.name
            WHEN …</description>
    </item>
</rdf:RDF>
