Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Instant Messaging

edited April 2006 in Vanilla 1.0 Help
I love the whisper feature in Vanilla, but often when a few folks are online at once I want to send a message, and not rely on chat room plugins. Whispered messages are too slow for this kind of thing, and easy to miss.

How easy / difficult would an instant message extension be to build? Possibly one that could be used for personal messages or to announce something to the whole board.



  • You can use this:

    Personally I think it'd be better to have the option to whisper to multiple people.
  • MarkMark Vanilla Staff
    The real issue with whispering to multiple people is the complexity of the queries involved. I honestly haven't thought about it in a long time. When I originally came up with the concept of whispers, I wanted to do it to multiple people and I quickly found that MySQL just couldn't easily do what I wanted. Not because whispering to people is complex, but because the discussion list query got WAY too complex and insanely slow. It would have to look different for every person depending on numerous variables. There were too many joins, and even with good indexing it still slowed down to an unacceptable speed.

    I may try to revamp the whisper system for Version 2 and allow multiples, but it will require a restructuring of how whispers are achieved, and a good day or two of theorizing.
  • version 2? so when's that coming out?

    (i'll show myself to the door)
  • MarkMark Vanilla Staff
    edited April 2006

    *puts on word-eatin' bib*

    If I was able to do Lussumo apps full time, it would be less than a year.
  • i, too, long for utopia!
  • Mark: Couldn't you limit the whisper to 3 or so people? Would that help things out or still cause probs?
  • MarkMark Vanilla Staff
    As soon as you get more than one person whispering to one other, it becomes complicated.
  • edited April 2006
    The chatroom integrations are nice, but not what I am looking for. I want to be able to see someone online and send them a message straight away. In order to use the chatroom we'd both have to be in it, yet another complication in simple 'see someone' --> 'say hello' communication.
  • Well unless the page is constantly polling the server for new messages, you'd be pretty limited as far as real-time messages popping up.

    Much better to extend the Who's Online extension to keep track of real IM clients, and make links to those.
  • why don't you just make the command to use comma seperated whispers and make it process them one at a time. Is that possible? to whisper to one then to do the same command to the second user and so on and so forth? I don't know just a thought...
  • MarkMark Vanilla Staff
    edited April 2006
    No, that won't work. The issue isn't the whispers themselves, it's the per-user view of the discussion list. A user with whispers in a discussion will see a different comment count than a user without whispers or with fewer whispers or more whispers. When you start to have whispers from a single to multiples, it gets more complicated. I'm done explaining this. Rest assured, I've thought it through. There are ways to do it, but not in this version.
  • How about just not bothering updating the comment count? I could live with whispers not being counted
  • MarkMark Vanilla Staff
  • lol
This discussion has been closed.