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.

AJAX Shoutbox

2

Comments

  • You can hack together a clean room fairly easy, if you have a couple shower curtains, a HEPA-filtered vacuum, and some duct tape. Let me know if you want more details
  • I always thought shout boxes where stupid not to mention overkill, who wants people shouting on their forum, I can't see one practical use for it.
  • Have you never seen that someone's online and thought hey, wonder what hes up to and didnt want to go through the bother of sending a pm or opening a private discussion?
  • a_ja_j
    edited August 2006
    @bugsmi

    make sure to keep them off the forums you run then!

    and as far as overkill goes, how about commenting on subjects that you have no interest in, nor anything to contribute to? it's not necessary to let everyone in the world know what you think is practical or not. if you don't like it, don't need it, or just aren't interested in it, don't use it.

    on my forum, there are maybe 30 members from all over the world. having a full-blown chat app built in that no one will be in at the same time... is overkill.

    Thanks for your input though. I'll be sure to discard it immediately.
  • ithcyithcy New
    edited August 2006
    //comment edited

    bugsmi0, you're really starting to get on my nerves.
  • a_j: sorry it's taking so long. i've had to take on some paying work. i promise that i'll get to it within the next couple of days, ok?
  • cool, ithcy.

    I am very sorry for being a pest, but I'm at a tolal loss :(

    Thank you very much for you help, it's much appreciated.
  • ithcyithcy New
    edited August 2006
    no problem.

    see, this is the most complicated addon i've ever written, and the code is a huge mess because i just started tinkering with an idea, and it worked, so i kept building on it, and i never really wrote the whole thing from scratch with a plan

    so i know i can't just go in and tweak it - i need to set aside a block of time of at least a day to rewrite the whole thing, and i just don't have that kind of time at the moment.
  • understood :)

    cheers!
  • "and the code is a huge mess because i just started tinkering with an idea, and it worked, so i kept building on it, and i never really wrote the whole thing from scratch with a plan"...welcome to pretty much every project i've ever done :D. it is a bit of a pain sometimes though.
  • Still available to offer any help possible. Sorry to be a nag, but nag nag nag ;)

    cheers!
  • We intergrated Yshout into ours. I'd recommend you do the same. Google it, it's a nice shoutbox, utilizing AJAX.
  • hmm, looks pretty good. were you able to integrate the usernames and such, or did you just leave it so users fill in their own nicknames?

    and the looks are OK, but itchy's looks beautiful... that's why I'm being such a pain about it ;)

    Much thanks for the pointer, though. I'll see if I can get it to work the way I want.
  • We managed to merge it with the logged in user, because otherwise people would surely abuse that otherwise. It was my buddy who did the intergration though (I do design, not development! :P), but I can ask him how he did it, if you are interested...
  • Yes, please. That would be a great help.

    I've been looking at it for like an hour and I'm lost. I've been on vacation for a few weeks, and my Vanilla is all rusted out.

    Do you have it on a seperate tab/page? Or is it in the sidebar like shown above?

    Thanks very much for the help.... it's much appreciated.
  • Welp, I guess what I'd be most interested in (if he want's to share the technique) is how he's getting the nickname from Vanilla. I've basically got it up and running, but I've hidden the nickname box, and need to figure out how to retrieve the Vanilla username and insert it into yshout.

    Thanks again :)
  • i would turn this shoutbox into a complete category (same design as the discussions) , the shoutbox itself doesnt look good between all those menu elements in the panel :/

    probably a good idea to turn vanilla into ajax driven chat/forum combo... just a question of tweaking
  • There is already an ajax driven chat application (chatbox) that has an extension in the repository. You could probably use that to turn a catagory into a chat application with a bunch of css tweaking.

    What I am looking for is a shoutbox app that will live in the panel (whether or not you think it looks good). A full-blown chat app is too much for my dinky little forum. A shoutbox in the panel would be perfect for my dinky little forum.
  • yeah, we hacked yShout into the sidepanel, but its a bit of a dirty hack since the username is just passed into the javascript constructor in the head. no potential security holes that i can think of, but its probably (reasonably) easy to post shouts as other people. i can stick it up here if people would like?
  • lol... you think yours is a dirty hack... I finally got it to work by setting the yNickname cookie with the the vanilla username when vanilla loads. I haven't considered the security issues with this (though I'm not too concerned as the forum I'm using it on is of a close-nit group).

    I threw the extension I made up there, you can mod that one, or put up yours and I can see if I can take mine down.

    Appreciate the help :)
This discussion has been closed.