Moodle plugins directory: Global Chat | Moodle.org
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
Your Moodle site is installed on the localhost or on a public server? If it is on the localhost please check if the supervisord.conf file wasn't replaced when you installed supervisord. If it is on a public server you must make sure that the port to communicate with the server is opened. By default 8000 is used but you can change this on the plugin settings page.
thank you in advance
To stop the process you must kill the supervisor process first, and after that kill the server process. Supervisor will always restart the chat server process if it stops, so you must kill it first. The "moodle_gchat" file inside /etc/init.d provides the stop command which will stop everything. Just try the following commands: "cd /etc/init.d" and then "sudo ./moodle_gchat stop".
The connection with the server was lost!
Please help TY
Jared
Sorry for my late answer. To install this plugin it is very important that you read the README file. You need to do more than simply add a folder to the Moodle blocks folder. You must start the chat server process. On the README file I have some instructions about installing it on a Linux system. I never tried to install it on other systems but it shouldn't be much different. Tell me if you have any problems with the instruction on the file. Thanks!
que tengo que modificar en el archivo supervisord.conf
I installed your plugin, and followed all instructions contained in the README file, but I am not able to have it working.
When I start moodle_gchat I get the following message:
Unlinking stale socket /tmp/supervisor.sock
I tried unlinking the file (I found this advice trying to understand the supervisor config file), but it does not work (after the unlink, the first time the start goes with no message, but the chat does not work -- I get "the connection with the server was lost").
Also, is there a way to check whether the socket is actually working? Finally, how do I change the server port number? I tried changing the 8000 value I find in the settings.php file, but I do not know if this s right.
Anyway, any suggestion to make ti work again would be much appreciated.
Regards,
G.
p.s. There is no relevant error in the supervisor.log and ChatError.log files. everything seems ok, but for the unlinking error above.
I had that problem before and if I remember correctly I had to kill the supervisor process and all processes associated to it, and when I tried to run the chat again it worked properly.
The option to change the port number works, I'm using it on my Moodle site.
The only way I know to check if the socket is working is by searching for it in the processes list. You need to find a process with a name equal to the command used to execute it. This command can be found on the supervisord.conf file. It usually contains "php run.php".