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.
587 sites
30 fans

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 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
  • Picture of Richard Oelmann
    Tue, 7 Mar 2017, 11:09 PM
    Do you have any students enrolled on that particular course, and have you selected 'Students' as a role to display?
  • Picture of Jan de Wit
    Sat, 15 Apr 2017, 6:52 PM
    Hi all, I am using the latest version of Moodle: 3.2.2.
    The Course Contacts block remains empty after installing it, adding it as a block in the sidebar and editing the settings.

    I am using a teacher account and wish to have a list of contacts to be available. The block is visible, no members (any role) are visible. Currently there are 1 student and 1 admin logged in to Moodle.

    Is this a version issue?
  • Picture of Vladimir Miranovic
    Fri, 8 Sep 2017, 1:36 AM
    Hello Richard, this is very useful plugin, but I have couple suggestions. First, I know that a lot of Institution are using groups in courses (as separate Classrooms in same Grade), and this is case in my Institution too, and to use this block we need settings where we can choose, that block can be filtered by groups - that Teacher or nonediting Teacher only can see clients in his/her group and client from that group only can see their Teacher or nonediting Teacher. Second, our Government has condition for us - client can't see or contact other clients in the system (Moodle), and solution for that is to you make available for this plugin to be placed in two instances in the same course - first instance with just Teacher for that group, showing visible to the clients, and - second instance with clients from that group, showing visible to the Teacher of that group. At the end, I know that this is sound little odd, but with these options added to this plugin you will be covering all possible options for all users of Moodle.
  • Picture of marwa bekrar
    Sun, 24 Sep 2017, 10:52 PM
    Hi ,
    The course contact block shows correctly the list of teachers in the course page, but in the activities pages of the same course, the liste of teachers is empty. what is the problem? I am using Moodle 3.1.1
  • Picture of Comunidade Aprender Livre
    Mon, 2 Oct 2017, 11:06 PM
    I would like to report a problem.
    Today I try upgrade to a new version 2017100100 (Version 3.2).

    However, after the upgrade, that occurred without error in the plugin page manager, the virtual rooms with the plugin stopped working, displaying HTTP 500 error.

    I downgraded the version to be able to solve the problem.

    Description of my system
    Course contacts: 3.1 (2017070100)
    Moodle 3.2.5 (Build: 20170911)
  • Picture of Richard Oelmann
    Mon, 2 Oct 2017, 11:27 PM
    Hi, I've just relabelled the versions in the database: The new version is only suitable for 3.3+ due to core changes (image_url etc). Apologies for the confusion.
  • Ricardo Caiado
    Sat, 17 Mar 2018, 10:52 PM

    Any update to Moodle 3.4?

  • Picture of Richard Oelmann
    Sun, 18 Mar 2018, 4:59 AM
    Hi Ricardo, I have it running on 3.4 and 3.5dev with no issues, so I've updated the Moodle versions on the download to show 3.3 & 3.4. If you find any bugs I haven't spotted, please let me know.
  • Picture of Vladimir S
    Mon, 7 May 2018, 10:10 PM
    Hello, it seems that it doesn't work very well with "Group mode: Separate groups" and "Force group: Yes" (course settings). All users/students see each other, where they should see people only from their own group. Can this be fixed?
  • Picture of Richard Oelmann
    Tue, 8 May 2018, 1:54 AM
    Well, It's a course contacts block rather than a group contacts block, so I would think that may need quite a lot of attention and is not something I have time to do at the moment. If someone would like to work on it and send me a pull request I'd be happy to consider it.
1 2 3 4
Please login to post comments