Synching between chatroom and drupal forums would be a dynamic feature since they are related and intrisically tied to each other.

A chatroom is equivelent to a forum and a chat is equivelent to a forum topic. One is just a live, usually short conversation while the other is a longer conversation that takes place over time.

In my case, I have a site that is about to launch. I have both chatroom and forums modules configured. What I quickly saw was that I was going to have pretty much the exact chatrooms and forums topic-wise since I can foresee members wanting to have a long threaded discussions about "dogs" (or whatever) or just jump into the chatrooms and talk about it. It's an administration burden to make sure the same categories exist at all times and it would frustrate members to not find the same categories.

a lot of different synch possibilities and scenarioes exist. for example, a chatroom can be automatically created when a forum is created (getting the same name), a chat can be created when a new forum topic is created, and synching the other way (chatrooms -> forums). All parameters should be configurable (delete synching should be possible and configurable for example).

Is this a good idea, is it possible, do both modules have enough functionality to "place nice" enough to synch, are there any third-party modules that would already do this type of sync (or help out at a least)?

- Jason

CommentFileSizeAuthor
#15 ajax_comment.tar_.txt8.5 KBjoetsuihk

Comments

Anonymous’s picture

Assigned: Unassigned »

hi jason,

this sounds like nice functionality to have - see here for some similar ideas.

i'll flag this in that post so that moshe sees this.

i can feel some refactoring coming on.

cheers
justin

moshe weitzman’s picture

i'd have to use this on a couple sites to know the benefits. anyway, a sync tool should probably be a related contrib module, and not srtrictly part of chatroom ... i do think chatroom should use the same meanism for organizing that forums use. just a different vocabulary

ak’s picture

I just was thinking about something similar and had a discussion with a friend of mine as I happily stumbled over this issue. As we propably all agree, the forums and the chatrooms are very similar and related to each other. Only difference forums take place over a longer time as Jason mentioned.

The most radikal but simpelest thing I can think of would be a small addition in the forums module. Attach a combobox to each forum thread that aloes you to select a time in which this thread should be updated through an ajax script. Voila, now the live discussion becomes a threads property rather then a seperate content type with a lot of duplicated functionality. You get a classic forum that authorised users could easiely switch in to a live chat if desired and all this will get archived as a usual forum topic.

Let it settle a bit, it might be unconventional at first thought but I realy like this idea of breaking up the classic ways of doing things and combining this features as temporarily needed. There may be a little more to consider but I just wanned to throw in my idea. What do you think? Is this even possible as an forum addon or so?

whatistocome’s picture

ak, go through an example of your idea so that i can get a better feel for what you're proposing.

my initial take is that we need to be careful to strike a balance between evolving the way chats and forums work (and work together) without making it so radical that the user has a hard time getting used to it - although it may be truly an improved and robust system.

a detailed example of what you're proposing would help in gauging if the average web user would be able to "get it" without too much pain and difficulty.

along those lines, i was even thrown off a little when i saw that the chatroom module archives chat conversations that i can read through like a discussion group i was stuck on the idea of "hey, that's not how i know chatrooms to behave!" i consider myself an advanced web user, and i was thrown off with a little change to how chatrooms work, let alone i could imagine how thrown off your average user would be if we really set things up too radically different. chats and forums are linked and can work well together - we just have to find the way that makes the most sense.

btw, i'm speaking from a usability and navigation and not coding viewpoint - i'll leave it up to justin and other coders to discuss if your idea is technologically feasible.

- Jason

ak’s picture

Ok, I'll give it a try to make my thoughts a little more clear. First I like to mention that I think your initial issue is a very good turn to take. My thoughts may only apply to my problems or way of doing things, so don't bother, or correct me where I'm wrong.

In my experience I often was chatting with pals and we where helping out each other with ideas or knowlege as we all are online the most of the time. These were mostly one on one discussion through icq that eventually got lost in the clients chat history. So I proposed to use forums to share the thoughts or results with others and to build up online searchable knowlege out of it.

Now it appears that we more often help each other through the forums rather then through the chat. Some times the oponent is't available to answer right away and it's convenient to talk, time delayed in the forums, sometimes we can answer, chat right away which lets us hit the refresh button repeatedly as we are waiting for the answer to come in any minute in the forum. So my friend mentioned it to be a great improvement if we could chat, as usual and where able to save or apply some of our chat results to a related forum thread so knowlege doesn't get lost and gets accessable to other people as well. Briefly: "Wouldn't it be great if we could save the chat discussion to a forum, just stripping out some of the unrelated talk." Well, now this seems to be quite near to your initial issue I belive and the chatroom module plus your suggestion would be able to handle our problem.

Now my basic idea was to not create new types like chatrooms (or mailinglists) that all have a similar behavour in managing and storing data at the end and rather extend the forums with these as properties, like, refresh this forum thread every 5 seconds and you've got a chatroom. This could be done with a little checkbox labeled realtime on top of the tread that causes the thread to refresh repeatedly. It should be optional, off by default and could be turned on if needed when the oponent is available saying at least one other person is viewing that thread. As example you are browsing the forums threads, you got a block that indicates which users are viewing this current thread you are viewing, if there are some other people available one may switch that thread to realtime to get a instant chat behaviour, discuss your things, maybe flag the outstanding posts and results to be saved and that discussion gets saved under the forum thread youre just chatted in.

Out of a users view he doesn't have to decide where to go to communicate, search or ask something. In the forums? In the chatrooms archive? In the mailinglists? Or where ever, it's all in one place, the forums. So they won't have to look in several places for getting information related to one thread or deciding where to go to ask something.

This propably won't replace a classic chatroom if this is what one needs, It may won't work for big community sites as drupal is but it would extend the default forum in a way that a chatroom it self isn't that necessary anymore and it may although solve your problem of synching forums and chatrooms because they would become one thread.

As I mentioned, this may just apply to my needs and doesn't seem to solve your issue, but I thought I'll throw it in, as it's related and to get some other opinions and thoughts on it.

pacheco’s picture

This propably won't replace a classic chatroom if this is what one needs

yes, i think that in this issue we will end up (maybe we allready are) discussing about how "ajaxify" drupal

wich is a good thing, i mean, i would love to have things like "who is online" or "recent comments" ajaxified

or even comments behaving like little chats

possibilities are endless...

moshe weitzman’s picture

i did somethinking about this and i think that chat and forum need different hierarchies for organization. then i suggest a contrib module could keep them in sync. as i mentioned before, i think the organizing of chats should happen just like forum.module does it. this can only work if chats are nodes and lobbies are taxonomy terms.

Anonymous’s picture

Assigned: » Unassigned
darren oh’s picture

I'm hoping that making chats a CCK field type will eventually allow them to be added to the forum content type.

darren oh’s picture

Title: synching with forums » AJAX forums

It seems like what is being asked for is AJAX forums. It's possible that such forums could completely replace chat. I'll search and see if a similar request has been made for the forum module. If not, I'll move this issue there.

darren oh’s picture

Project: Chatroom » Drupal core
Version: master » x.y.z
Component: Code » forum.module
darren oh’s picture

Version: x.y.z » 6.x-dev

Marked issue 116613 as a duplicate of this issue. Also see the Chat group.

darren oh’s picture

Title: AJAX forums » AJAX extensions to the comment module
darren oh’s picture

Component: forum.module » comment.module
joetsuihk’s picture

StatusFileSize
new8.5 KB

seems no one continue this issue?

I had work on a new module that want to add ajax to D6.x.
please find the attachment for the module
it had ajax, but the UI is bad as comment.module in D6.x gives very limit API for other modules to use.
anyone can help with ajax preview comment part?
or rewrite some part of comment.module in D7?

lilou’s picture

Version: 6.x-dev » 7.x-dev
Status: Active » Needs work

Feature request -> D7

catch’s picture

Status: Needs work » Closed (won't fix)

http://drupal.org/project/ajax_comments

If we want this in core there are probably better issues to start from.

ak’s picture

Live Update API is a god place to start.
http://drupal.org/project/live_update