This block counts the visits to the site or to the course wherever it has been situated, even to the space “my moodle” of each user. In the block administration, it can be configurated how much time in seconds, between entries from an IP address, that are taken into account to increment the counter, so that the visit is not counted several times from a same IP address to the same course or to the site. Default value to take into account an IP address again is 4 hours.
Within the block, there is a folder named pix/ where we can put the images that we want them to appear on the counter. There are some default images that can be replaced. Moreover, if the counter is used in a course (including the cover corresponding to course 1), it can put a folder in the root of course files named counter/ with the images that you want to use, and then the counter will validate its existence and if they do not exist, it uses the default images of the site. Images must have a .gif format.
Note: The version of the block “contador”, now called “counter” in moodle 2+ was tested by moodle 2.0.4+ and 2.1+. If you have the version of the counter for 1.9+ and the updating to the moodle 2+ version is desired, it is necessary uncomment the lines of the file upgrade.php which are in charge of changing the data depending on the new table structure. Moreover, due to the block name was changed, the new one must be installed after uninstalling the previous one. If the block contador (moodle 1.9) is uninstalled before installing the counter (moodle 2+) the visits data made to date will be lost.