implement private chats

danielnolde - September 25, 2009 - 08:58
Project:Chat Room
Version:6.x-2.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:justinrandell
Status:closed
Description

The private chat feature, which should be available in chatroom.module according to several old and resolved issues and the module's readme.txt (did it worl in the past), seems to be broken or eben missing completely (can't see any of it in the module's code, either).
Am i the only one seeing this, or has this really become broken?
Since we're in a *very* time-tight project, we'd need some hint here real soon!
If there's just a bug, we're happy to help fixing it!
Thanks!!

#1

corona ronin - September 26, 2009 - 21:49

I'm also curious about this. Is there a method for private chats to be enabled through organic groups?

#2

justinrandell - September 28, 2009 - 09:50
Assigned to:Anonymous» justinrandell

i'll look into it. i'm picking up the code after a long absence. my first guess is, yes, private chat is gone (or never existed in the 6.x port).

patches to add it or further info about where it was before it was removed most welcome.

#3

justinrandell - October 28, 2009 - 10:16
Version:6.x-1.x-dev» 6.x-2.x-dev

just updating the branch.

also, the 6.x-2 branch will now work with OG, as chats are nodes.

#4

justinrandell - October 30, 2009 - 20:55
Title:Private Chat - broken or newly missing in both 1.x and 2.x branches?!?» implement private chats
Category:bug report» feature request

updating the title.

the 6.x-2 branch is sane enough now to start work on this.

what makes a private chat different from a normal chat?

  • only those explicitly invited can participate
  • only those explicitly invited can see the archive

so i think this requires building an invite system - there has to be a clear way to say "these people can see this chat, and these people only".

am i missing something?

#5

justinrandell - October 30, 2009 - 20:58

note, i don't want to try to use node_access and the like, because that's just ugly, nor do i think this is the same functionality as making a chat part of an organic group (which is possible without this feature).

this should be a simple, stand-alone bit of functionality that allows a user to create an adhoc chat with another user(s) and keep that chat too themselves.

#6

justinrandell - November 3, 2009 - 00:07

just committed some working code for this.

please try out the latest 6.x-2.x-dev code from cvs if you want to try it out. i'll keep this open until i've cleaned it up a bit and rolled a new alpha.

#7

justinrandell - November 3, 2009 - 10:24
Status:active» fixed

ok, i've fixed a few bugs in this, so closing as fixed.

i've opened up an issue here #621838: better default theming for private chat user add/remove widget for theming the widget a bit better.

if anyone using this feature finds bugs, please open separate issues related to the specific bugs.

#8

System Message - November 17, 2009 - 10:30
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.