Your Moodle version

Blocks: Online Users Map

block_online_users_map
Maintained by Picture of Alex Little Alex Little
Similar to the online users block, but this block uses the geographical information from users profiles to display the locations of online users on an OpenStreetMap or Google map. The geocoding of locations are cached in the Moodle database and updated when cron runs.
3k
120
2
Moodle 2.0, 2.1, 2.2, 2.3, 2.4

Similar to the online users block, but this block uses the geographical information from users profiles to display the locations of online users on an OpenStreetMap or Google map. The geocoding of locations are cached in the Moodle database and updated when cron runs.

Screenshots

Screenshot #0

Contributors

Picture of Alex Little
Alex Little (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Thomas Haines
    Thu, Aug 23, 2012, 1:10 AM
    I found a syntax error in lang/de/block_online_users_map.php
    Line 26 is missing a semi colon
  • Picture of Alex Little
    Thu, Aug 23, 2012, 6:27 PM
    Thanks Thomas, should be fixed now
  • Picture of Alex Little
    Thu, Aug 23, 2012, 6:36 PM
    Hi Ramchadnra, I'm not sure what would cuase the connection to be refused. First I would check whether your Moodle server goes through a proxy to access the internet, if so, you may want to check your proxy settings. The other option could be to use the api.geonames.org service, seems you need an account (free) to use this, but shouldn't be hard to edit the block slightly at least to test this out (see line 68 of lib.php). I should update the block to make it easier to specifiy what server you're trying to connect to.
    cheers,
    Alex
  • Brian
    Tue, Sep 10, 2013, 6:41 PM
    I added this block to one of my courses. It shows up in the right hand side-bar of the front-page, but no users are shown. I've run cron manually to give it a kick. I've set it to show all users in the last week (10090 mins) and logged on as a different user on another computer. Any idea what might be wrong? I'm using Moodle 2.5.2, and checked my mysql database - there are no entries in the new table.
  • Brian
    Tue, Sep 10, 2013, 6:44 PM
    Of course I meant 10080 mins!
  • S'envoyer en l'air
    Wed, Jul 9, 2014, 4:58 AM
    are you sure from the url http://api.geonames.org because i can't see the users come from.
  • Picture of Miguel Angel Velasquez Teran
    Sat, Jul 12, 2014, 12:04 AM
    They updated to moodle 2.6 or 2.7?
  • Picture of Alex Little
    Mon, Jul 14, 2014, 8:09 PM
    @Miguel, I've not yet had chance to check it works on 2.7 yet
  • Picture of Miguel Angel Velasquez Teran
    Tue, Jul 22, 2014, 7:09 AM
    I use Moodle 2.2.11, received complaints from users indicating that the block does not match users showing the online user block, any suggestions?
  • Picture of Alex Little
    Tue, Jul 22, 2014, 4:34 PM
    Hi Miguel, - sorry to hear that. When you say it doesn't match, do you mean that users aren't showing, or they're showing inthe wrong place, or something else...

    BTW.. posted as issue on github here; https://github.com/alexlittle/moodle-block_online_users_map/issues/10 - so maybe best to reply there.
    Cheers, Alex
  • Picture of Miguel Angel Velasquez Teran
    Tue, Jul 22, 2014, 9:15 PM
    The problem is that if Juan Perez connected his name is seen in the block "Users Online" but not seen in the block "Maps users online"
  • Picture of Miguel Angel Velasquez Teran
    Tue, Jul 22, 2014, 9:46 PM
    No new data are updated in the users table mdl_block_online_user_map
    How I can update this information using cron?
  • Picture of Miguel Angel Velasquez Teran
    Fri, Jul 25, 2014, 6:02 AM
    Hi

    I solved my mishap, the problem was geonames account, the webservice service was not enabled, so the table mdl_block_online_user_map never updated.

    Thanks
  • Picture of Diego Mejía
    Wed, Aug 26, 2015, 11:26 PM
    I'm working on two different parts with Moodle.
    1) Xampp to test locally with Moodle 2.6.8 and in block shows me the map but not the points where users are located .
    2) I am working with Moodle 1.9.4 on a free hosting for testing and in this case only shows me the box and nothing else, or draw me a map and points ... The site URL is http : // pruebamoodle194 .besaba.com / .

    The truth is not bad if I'm entering the key or the Google API key is bad or not , and not as Geonames enable web service nor how to use it . I would appreciate help me.
1 2
Please login to post comments