Forum OpenACS Development: Re: Re: dotlrn chat

16: Re: Re: dotlrn chat (response to 15)
Posted by Rodrigo Proença on
Hi Ryan,

1. is this XOTcl solution available for oacs 5.1.4 ?
A: Yes, XOTcl is available for oacs 5.1.4. Chat package requires xotcl-core 0.33 and on my tests work on this oacs version.

2. Does it display chat messages instantly, or does it refresh the page like html chat?
A: Yes, the AJAX interface instantly refresh the messages on clients browsers.

3. Are there good docs out there to install xotcl?
Gustaf Neumann has posted a link to documentation

To make chat package work without dotlrn, you need comment some lines on /chat/www/room-new-2.tcl

#set comm_id [dotlrn_community::get_community_id]
#if {$comm_id ne ""} {
# chat_user_grant $room_id [dotlrn_community::get_community_id]
#} else {
#-2 Registered Users
#chat_user_grant $room_id -2
#0 Unregistered Visitor
#chat_user_grant $room_id 0
#-1 The Public
chat_user_grant $room_id -1

17: Re: Re: Re: dotlrn chat (response to 16)
Posted by Gustaf Neumann on
I have put an updated version of the install instructions to

I removed that part describing libthread from the mentioned
README-file; libthread is not required for xotcl-core and xowiki.

As Rodrigo mentioned, the ajax-chat is a copy of the xowiki ajax chat; i would actually recommend to install xotcl-core and xowiki and use the ajax-chat from there, since when i make some updates there, they won't show up in the copy in dotlrn-chat. A few days ago, i fixed e.g. a problem with UTF-8 characters.

Posted by Rodrigo Proença on
good news Gustaf,

the documentation and fix for UTF-8 characters. I removed the encode part of ajax-chat to resolve this but it lost the HTML tags in messages.

In next release i will place the xowiki dependence to use the ajax-chat from there and add a verification for dotlrn installed package.

Posted by Gustaf Neumann on
Posted by Ryan Gallimore on
I fixed it. I had the wrong aolserver path. :P