for instance, I have a cck type called schools.

then using that cck type, have created school 1, school 2, school 3, ect.

I'd like to know if its possible to create a chatroom for each node, and have it display in a block or panel... possibly on the node page.
if it can not be displayed as a block., then maybe just a link from the node's page directly to a dedicated chatroom for that node.

thanks,
chris

Comments

jmb’s picture

Chatroom is a node. You can have a block associated with the node. I wanted to do a similar thing. Instead of building my structure around a page node, I structured my blocks (quicktabs) around the chatroom module... This might not be the best way, but it works for my purposes.

glitz’s picture

thats an awesome idea and may be an easier solution to what I ended up doing.

what I ended up doing was i created a chat (not a chatroom) for example school x.
then, i created another chat for school y.
and so on....

I then, created a custom block for each chat (http://drupal.org/node/253765)

then I enabled the block, adjusted the placement on the page, and then set the visibility of say, x chat block, to only appear on school x's page.

so, when you went to school x's page, x chat block would appear. but wouldn't appear on any other pages.

but its a lengthy process to create so many custom blocks.

-----

the other problem with this is if you use the chat feature and no one visits that page for days and you go back to view the page days later...chat history remains.... there needs to be a way to clear all chat history after a certain amount of time of inactivity (or just have the chat show zero messages when landing on that page)...

glitz’s picture

also take a look at the shoutbox module thats what im investigating now and may be able to work as well