Any suggestions about the most efficient way to create one-to-one chats for logged in users?

Thanks
Michael

Comments

mm167’s picture

text chat or video chat?

anyway, check the new p2p feature in flash player 10.

it allows text and video chat as well.

michaeltt’s picture

I am only looking for text chat, with the ability to create private 1-1 windows, and invite people to chat.

mm167’s picture

want C/S module or p2p module?

michaeltt’s picture

Unfortunately I don't know enough about the different architectures to have an opinion. I am just looking for an instant messaging chat so that one logged in user can chat with another logged in user within a drupal site.

marcvangend’s picture

I've been asking the same question recently and we ended up programming a custom module for this. I can't send you the files right away, but we do consider to make it publicly available.

The module depends heavily on javascript/jQuery and database queries, so it might not be suitable for high-traffic sites. Basically, the script checks every 30 seconds if there is a new message for the user. If there is (in other words, someone has started chatting with you), a draggable layer with the chat window is added to the page and the frequency at which the script checks for new messages is increased. Information about the chat window is stored in a cookie, so the chat window can be automatically restored when the user navigates to another page within the site. To initiate a chat, you can just click a name in a list of online users.

michaeltt’s picture

It sounds good. I hope you can make it available. I have been trying complex applications that are too big, seem to be poorly documented, and I have not been successful in getting them to work.

dunx’s picture

We current use privatemessages under Post Nuke and I don't think it's that used. The Drupal contact form would be one way of contacting people, but to stop people "chatting" in the forum, something like Facebook's one-to-one chatbox thing would be ideal. Hope you can make your good work available some time.

mohanrajthangarasu’s picture

Like you too, i was also searching continuously for a right drupal module for one to one chat (user to user chat) and ended up so many times to this same page. At last I ended up with this interesting module

http://drupal.org/project/bowob

i hope this would help you