Select Moodle version:

Blocks: Global Chat

Global chat for Moodle. With this plugin teachers and students can communicate in real time through Moodle.
Maintained by: Picture of Bruno Sampaio Bruno Sampaio
for Moodle
2.2, 2.3, 2.4


This plugin is part of set Cubic. Plugins from the set work the best when installed together.

This plugin introduces a chat for Moodle very similar to Google Chat or Facebook Chat. It uses a block to list all online users that are part of all courses a user is subscribed to, and opens a chat window on the bottom of the page when a online user is clicked.

The advantages of this chat are:
- Users don't need to open a separate window to use this chat, while Moodle activity chat needs them to do so;
- A user can establish a real time conversation with other online users subscribed to the courses this user belongs to;
- Users can change between pages and their open conversations will always be there;

If you are a student use it to collaborate with your colleagues, or to ask questions to your teachers.
If you are a teacher use it to communicate with your students individually.

We believe Moodle needs a different chat concept, that's why we decided to create this plugin. It still needs some improvement, but first we would like to know what people think about this idea smile




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

Comments RSS

Show comments
  • Picture of dario beltran
    Fri, Jun 21, 2013, 4:18 AM
    Como lo puedo instalar para windows, entiendo que las rutas que aparecen para pegar el supervisor.conf son en linux, AUDAAAAAAAAAAAAAA PORFA uso moodle 2.4
  • Picture of nidhul nandakumar
    Thu, Jul 11, 2013, 12:03 PM
    Hi i have installed in hostgator, the port number 8000 has been opened. Any other steps need to be done to make the application work? I am still getting the error "The connection with the server was lost!". Is there something i am missing?
  • Picture of Bruno Sampaio
    Sat, Jul 13, 2013, 7:01 PM
    Have you started the chat server as described in the README file? If not, and since you are using a hosting service, I think you'll need SSH to be able to run the process.
  • Picture of phuong hoang
    Tue, Jul 16, 2013, 10:55 AM
    I think you should rename this plugin; "course chat, not global chat", poor me !!! "Bruno SampaioFri, Apr 26, 2013, 8:27 PM
    Oh I'm sorry but this plugin only allows users from same course(s) to communicate between them. If you want a public chat for everyone I think the only option is by creating a Moodle chat activity on your main page. This activity can then be accessed by everyone on your Moodle site."
  • Picture of amit gupta
    Thu, Aug 1, 2013, 6:57 PM
    Hey all,

    I am not able to run this block in my linux system (open suse 11.3).
    For ur info, i am using:-
    PHP 5.3.3 (cli)
    mysql Ver 14.14
    Server version: Apache/2.2.15 (Linux/SUSE)

    Kindly tell me the whole procedure to configure and use this block.
    Any related help will be appreciated.

  • Picture of Curtis Stewart
    Fri, Dec 20, 2013, 1:24 PM
    Hey Bruno,

    I'm rather interested in using your Global Chat plugin but am unsure about compatability. I'm currently running the latest version of moodle (2.6+ weekly build).

    I'm also pretty darn confused about the implementation of this whole setup. I'm running my moodle on a shared host. I have no idea about running a websocket server or anything. Perhaps. I need to do some more research. From my understanding, correct me if I'm wrong, i have to either run a script locally on my computer or from a dedicated server?
  • Picture of Bruno Sampaio
    Mon, Dec 23, 2013, 6:41 AM
    Hey Curtis,

    I've never tried Global Chat in Moodle 2.6 or 2.5, but you can try and if it doesn't work just uninstall it ;)

    Yes the implementation is a bit confuse since it is a bit more complex than other Moodle plugins, but in truth it is quite easy to install. The problem is, you need a SSH connection to the server where your Moodle is installed because the script must be running on the same server. And I don't know if you'll be able to use SSH on a shared server sad Besides that, you also need to open a port on the server which will be used to send and receive the chat messages. Please, contact your server admins to know if you can do that or not.

    And if you need any more help feel free to contact me again ;)
  • Arun
    Thu, Jan 2, 2014, 8:24 PM
    Hi Bruno Sampaio,

    Can you please tell me how i would integrate this plugin in moodle html5 mobile app? succeeded in web-side but still struggling to know the way to integrate in mobile app.
    And any help from any one will be appreciated..

  • Picture of Curtis Stewart
    Tue, Jan 14, 2014, 9:33 AM
    Hey Bruno,

    I contacted my hosting provider and it turns out I actually need root privileges to run this and in the end that only comes with a dedicated server. So I guess I'm unfortunately out of luck. I had thought I was getting on the right track when i found out that i could use SSH and that I could open a port by upgrading to a dedicated ip (for only a couple extra bucks a month), but unfortunately I ran into a hurdle that i'm not willing to jump at this point in my life.

    So as far as getting this to work on a shared host, it's most likely a no-go for anybody looking to do this. Hope this is helpful to anybody looking for answers.
  • Picture of Eric Simard
    Thu, Feb 20, 2014, 12:25 AM
    Any feedback on if it is working for 2.6???
  • Picture of Ilona Lasica
    Wed, Feb 26, 2014, 7:19 PM
    I'm having problems on using this plugin with Windows Servers... Any help on this? is there a different way I need to install it?
  • Picture of Ilona Lasica
    Wed, Feb 26, 2014, 7:19 PM
    I'm having problems on using this plugin with Windows Servers... Any help on this? is there a different way I need to install it?
  • Picture of Jonathan Walsh
    Sat, Mar 22, 2014, 12:44 AM
    Hi there? Does this block allow users enrolled in a shared course to chat with each other when they are on other courses that the other is not enrolled on? In other words does this block recognise when users share course enrolment and work globally through the moodle site? Thanks in advance,
  • Picture of Bruno Sampaio
    Sun, Mar 23, 2014, 7:14 AM
    Hi Jonathan! This block allows a user to talk with all other users that participate on his courses. I don't know what you mean with "shared course", but I hope that answers your question.
  • Picture of Edwin Ayernor
    Mon, Mar 31, 2014, 1:40 AM
    I get an error message "the connection with the server was lost' how do I resolve this..
1 2 3
Please login to post comments