moodle/mod/chat
moodler 0468976c9a SWEEPING CLEANUP
The API was changed slightly so that has_capability now takes the
whole $context object (we almost always have it anyway)

The $kill thing was removed.   If you want to assert a capability
then use:

    require_capability('capname', $context);

with optional variables to modify the error message

Misc bugs here and there also removed and code tidied
2006-08-14 05:55:40 +00:00
..
db Initial XMLDB schema for chat tables. Using FKs where they are obvious. 2006-08-08 16:59:35 +00:00
gui_header_js SWEEPING CLEANUP 2006-08-14 05:55:40 +00:00
gui_sockets And chat is using current_charset() too. 2006-01-05 16:31:29 +00:00
backuplib.php Granular backup & restore: 2006-01-13 03:45:31 +00:00
beep.wav A default beep 2003-07-09 12:37:17 +00:00
chatd.php Merging from STABLE: 2005-07-08 03:51:38 +00:00
config.html mod/chat: Normal method - introducing "Stream" updates. 2006-04-19 02:20:48 +00:00
empty.php Very early version of new chat module, made by Martin using ARSC as 2003-07-07 06:44:16 +00:00
icon.gif Very early version of new chat module, made by Martin using ARSC as 2003-07-07 06:44:16 +00:00
index.php Now chat->name works under filterall. 2005-03-27 11:36:54 +00:00
lib.php SWEEPING CLEANUP 2006-08-14 05:55:40 +00:00
mod.html Activities can now be hidden/shown from the activity editing page. Also for modules that know about groups the groupmode can be set from there. See bug 2533. This required adding to the mod.html files calls to new functions print_visible_setting() and print_groupmode_setting() which are combined in print_standard_coursemodule_settings(). 2005-02-12 21:41:22 +00:00
pagelib.php Now chat->name works under filterall. 2005-03-27 11:36:54 +00:00
README.txt Info about using socket server 2004-07-30 16:16:12 +00:00
report.php SWEEPING CLEANUP 2006-08-14 05:55:40 +00:00
restorelib.php htmlentities() to s() 2006-04-11 16:09:52 +00:00
version.php new function get_coursemodule_from_id() is now used for obtaining of valid $cm from coursemodule id SC#283 2006-08-08 22:09:55 +00:00
view.php SWEEPING CLEANUP 2006-08-14 05:55:40 +00:00

Official Chat Module for Moodle
------------------------------

The chat module now supports a backend daemon for 
more efficiency.

It's still buggy and being worked on, but if you 
want to test it and help out here are some quick
instructions:

1) Admin -> Config -> Modules -> Chat -> Settings

2) Set the method to "sockets" and set up the ports etc 

3) Start the server like this (from the Unix command line):

   cd moodle/mod/chat
   php chatd.php --start &

4) Go to a chat room in Moodle and open it as normal.

------

KNOWN PROBLEMS

 - User list is not always working
 - Some browsers (eg Safari) cause lines to be repeated
   by 10 - 20 times
 - Occasionally "Document was empty" messages

Help solving these very welcome!


Martin, 31 July 2004