Statistics (Graph Stats) icon

Statistics (Graph Stats)

Little graph with visitors statistics
Price option: Free

Supports Moodle 2.0-3.9 See all versions
Latest release: 10 years ago
Installations: 471
Downloads (last 90 days): 50

Frankenstyle name: block_graph_stats
Blocks

Comments

Comments are no longer open for new posts. Existing comments remain available to read.

In details.php in two places I replaced: "get_all_user_name_fields(true, 'u')" with: "\core_user\fields::for_name()->get_sql('u', false, '', '', false)->selects". Now the plugin is working fine with Moodle 4.4. I made git pull request, please make new version with this fix.
In Moodle 4.3 clicking on More details gives error message: "Coding error detected, it must be fixed by a programmer: get_all_user_name_fields() is deprecated. Please use the \core_user\fields API instead".
Вадим, добавьте к $cfg->graphheight (строка 191 файла locallib.php) пиксели «px» в высоту графа, а то браузеры голое число не воспринимают и высота не меняется.
I have not tested it on 3.3, but it can work, just try it. Please report if it works, so i can mark this veersion as supported
Is there a version for moodle 3.3?
Hello,
Can someone please explain, where/how we can see the stats?
PLugin has been installed, but I dont find a way how to use it.
MArtins
English version below ;)
Bonjour s zed, en effet il y a une configuration qui empêche de placer ce bloc sur la dashboard.
En juin j'ai effectué une pull request sur github pour corriger cela mais c'est toujours en attente d'intégration. (https://github.com/vadimonus/moodle-block_graph_stats/pull/1)
En gros il faut appliquer ce commit (https://github.com/vadimonus/moodle-block_graph_stats/pull/1/commits/5fe6b6e992a4a943c944bce926154765b8cbda16) sur ton fichier block_graph_stats.php
Concernant les connexions en fait la requête exécutée lorsque l'on est dans un cours ne gère pas les accès multiples pour un même utilisateur. Je verrai pour fournir un patch quand j'aurai un peu de temps.
===================================
To sum up s zed ask :
- why he can not add this block to the dashboard. As i faced same issue on june i made reference to a related PR i opened.
- why there is only distinct course viewed display on the graph when you are in a course. As you can see the query (https://github.com/vadimonus/moodle-block_graph_stats/blob/master/locallib.php#L70) count only distinct user course_viewed event even if we have checked block_graph_stats|multi in config. I'll try to provide a patch when i'll have freetime.
Bonjour, Je viens d'installer ce bloc mais je ne peux l'afficher que dans les cours et pas sur la page d'accueil. (Je suis en version 3.1). De plus, dans les cours, je n'ai que le nombre d'utilisateurs par jours, aucunes données sur les connexions. D’où cela peut-il venir? Merci d'avance.
Hello, Frankle Lee 李智高. As far as i can inderstand useso.com does not provide alternative for google.com/uds. It's not the only such request from china, but currently i cannot find good opensourse javascript library for charts, which works as good as google.
Hi, I just tried to setup this useful plugin on my moodle2.92. One problem is that I am now using this in China and we could not access google thus the google related api service is not available. We have an alternative for the google api and I changed the line into , It is ok but I could not have an alternative for this line .
So any suggestions for this ?
Thanks Vadim.
Yes, it will. Place block on course page, it will count page views
Hello everyone
I have started using this block on my site (lms.iba-suk.edu.pk) and it works fine. It shows the Sats only on the homepage, Will it work for course page ? Teacher should know the traffic on its course. How to do that ?
Yes, Jean, l have added them. But, i'm not shure it's right way.
These langpacks are old, they have unused strings and does not have some new strings, added by Wesley Ellis (uniquevisitors). I've deleted unused strings, but i cannot add missing.
Currently translation for all modules in Moodle plugins repository are maintained via AMOS (lang.moodle.org). Translation, made via AMOS (and downloaded with langpack) takes precedence over version in plugin's directory. So it's not needed any more to add translations to plugin. But for AMOS it is needed, that new version is uploaded to moodle Plugins directory. (http://lang.moodle.org/mod/forum/discuss.php?d=2485)
Only the maintainer (Éric Bugnet) can do so. If it's not possible to contact him to update version here, or ask him to transfer plugin to other maintainer, we should create alternate plugin record (e.g. graph_stats2)
Hi Vadim, tanx a lot for these improvements.
Can you please add all languages strings to your version ?
https://github.com/jfruitet/block_graph_stats_m24/tree/master/lang
Regards.
Jean.