Hi all,
how is moodle collecting information for statictics on http://moodle.org/stats/ page? The site with the most courses is "E-learning na VUT v Brne" but if I take a look on that page there is not 19223 courses.
peter
I think all the numbers are cumulative. So the 19223 courses includes old courses that are no longer available (they may have been archived, then deleted). Since a site doesn't recycle course id's, it's probably just the highest id in the course table.
I suspect the same is true of users. Total users = cumulative total = highest id in the user table.
Does anyone have a definite answer on this?
I suspect the same is true of users. Total users = cumulative total = highest id in the user table.
Does anyone have a definite answer on this?
The code is in admin/register.php in your Moodle ... it's a simple count of the records in the course table (minus 1). These records are deleted when courses are deleted, so it's a fairly true indication of the number of courses on a site (at the time they last registered).
However many of the courses may be hidden from view by the general public (eg they could be archives or private courses etc)
However many of the courses may be hidden from view by the general public (eg they could be archives or private courses etc)