Blocks: Course Contacts Block

Maintained by Picture of Mark Ward Mark Ward, Picture of Richard Oelmann Richard Oelmann
The Course Contacts block displays a list of users on your course, various methods for communicating with them, and their current activity status.
316 sites
10 fans
Moodle 2.0, 2.1, 2.2, 2.3, 2.4, 2.5

The Course Contacts block displays a list of users on your course and various
methods for communicating with them.

The block is highly customisable and allows you to choose specific roles which
you wish to display users from. By default the block will show teachers on the
course but this can be changed however you wish.

You can also configure which communication types you wish to show, the block
can provide quick links to Email, Message or Telephone each user.

The block also shows whether the user has been active in the last five minutes.

Potential privacy issues

This block can publish contact details for users; be careful when using it on a course with guest access enabled.


Screenshot #0


Picture of Mark Ward
Mark Ward (Lead maintainer): Co-author
Picture of Richard Oelmann
Richard Oelmann: Co-author
Picture of Mat Cannings
Mat Cannings: Tester
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Scott Hardwick
    Thu, 26 Sep 2013, 5:04 AM
    Has anyone gotten this to successfully install on Moodle 2.5? I tried both using the Install button and downloading it and put installing directly and both times I get "Missing English language folder" -- which is odd, in that the zip does have a lang folder with an en folder and its associated file.
  • Picture of Mark Ward
    Thu, 26 Sep 2013, 4:02 PM
    Hi Scott, we have been running this on Moodle 2.5 since mid-August without any problems. Has anyone else had any problems installing this?
  • Picture of Germán Valero
    Thu, 3 Oct 2013, 10:15 PM
    Hi Mark,
    I also got a "Missing English Language folder" when trying to install this add-on directly on a recent Moodle 2.5.2 local server (build 20130927), but by using the ZIP file it did install correctly, but it took 5 minutes to do it, which is way too long.

    Could you please install a local test server and test the block behavior ? Thanks in advance.
  • Picture of Alan Coats
    Wed, 8 Jan 2014, 6:49 PM
    Anyone tried this with Moodle 2.6 ?
  • Picture of John Love
    Wed, 26 Feb 2014, 5:50 AM
    Same comment as "German Valero":
    "...error "Missing English Language folder" when trying to install this add-on directly on a recent Moodle 2.5.2 local server (build 20130927)".

    Any suggestions for how to resolve this error please? Thanks!
  • Picture of Yousuf Tafhim
    Wed, 25 Jun 2014, 3:54 PM
    Same issue here as "German Vaiero" and "John Love". Moodle 2.5+ (Build: 20130621)
  • Picture of Joaquin Herrero
    Wed, 15 Jul 2015, 5:07 AM
    Hi, Can I somehow configure this block so that I can set in advance which roles will show up when I add the block to a course? Thanks!
  • Picture of Rhys Gannell
    Thu, 26 Nov 2015, 8:48 AM
    Hi Mark, we've gotten your block running on 2.5 and it's excellent! We're in the process of upgrading to 2.9, or even 3.0, but this block isn't up there yet. Is there an update in the works?
  • Picture of Emma Richardson
    Fri, 11 Dec 2015, 2:06 AM
    To install on 3.0, you need add the following line to version.php - $plugin->component = 'block_course_contacts'; (I didn't have an issue with this on 2.9)
    That allows it to install and it appears to be working as normal.
  • Picture of Neil Stapleton
    Wed, 20 Apr 2016, 12:21 AM
    Great plugin. But I am trying to get this working on 3.0 running under IIS and MS SQL. Anyone managed it? I am happy to help test and contribute if someone can give me a starting point.
  • Picture of Neil Stapleton
    Fri, 22 Apr 2016, 1:41 PM
    So I managed to get a bit further with 3.0, looks like MSSQL isn't an issue. Just need to update the block code to meet current Moodle requirements. So I now have the block showing the users.

    Had to add the required db/access.php to the plugin folder.

    Not it appears there's a small issue with the functions that pull the user contact fields... I going to do some more on it today. Anyone fancy helping ?
  • Picture of Richard Oelmann
    Wed, 18 May 2016, 6:04 AM
    I have a version working on Mdl3.0 and 3.1 - you can get it from
    Apologies but I'd already made the changes on my local site before I considered adding it to github, but when I get chance I'll go back and do a proper fork of the original and add the changes as commits so they can be seen more easily.
  • Picture of Richard Oelmann
    Wed, 18 May 2016, 6:05 AM
    @Mark - I see this plugin is not being actively developed right now. Are you looking for someone to take over as plugin maintainer?
  • Picture of Bjørn Rosell
    Mon, 13 Feb 2017, 8:15 PM
    Are there any plans for a M3.2 version? Has anybody tested if current version (3.0) works in M3.2 ?
  • Picture of Richard Oelmann
    Mon, 13 Feb 2017, 9:59 PM
    I'm already using it on a 3.2 site with no issues - I have a couple of minor style changes to add, but beyond that it seems to be fine. I'll do some 'formal' testing over the next couple of days and either release a new version with fixes, or (I suspect more likely) simply add 3.2 to the supported versions. If anyone has tried it and identified any problems, then let me know and I'll get them fixed, but it should work as is smile
1 2 3
Please login to post comments