1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

AJAX Chat Room

Discussion in 'General Chat' started by drewbe121212, Sep 10, 2006.

  1. #1
    Hello everyone! In my boredom this weekend I made a AJAX based chat room. Its a little rough around the edges, but its basic functionality does work. I just wanted to see if I could do it.

    I don't know guys... I really think AJAX is the future, even if it has been around quite a while.

    Come check it out.

    I dont know how server intensive this is, so just bear with it and if it crashes something, SORRY!!

    http://www.agoradesk.com

    EDIT:
    change your name by typing /name myName

    :)

    Oh, one thing I havn't done yet is make it auto scroll the window to the buttom; that is what I will do next though...
     
    drewbe121212, Sep 10, 2006 IP
  2. drewbe121212

    drewbe121212 Well-Known Member

    Messages:
    733
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    125
    #2
    Alright. It scrolls now...

    Psoiden I missed your message as I was working on some homework. Feel free to come back :)
     
    drewbe121212, Sep 10, 2006 IP
  3. unknown1

    unknown1 Guest

    Messages:
    46
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    It looks AWESOME but please confirm i dont want hostgator to kick me off from thier server lol
     
    unknown1, Sep 10, 2006 IP
  4. drewbe121212

    drewbe121212 Well-Known Member

    Messages:
    733
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    125
    #4
    Yeah I am letting this idle right now I am seeing how much of a server load it is doing... probobly going to let it go all day long and see the results of processor usage / memory etc.
     
    drewbe121212, Sep 10, 2006 IP
  5. drewbe121212

    drewbe121212 Well-Known Member

    Messages:
    733
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    125
    #5
    Alright ifyou come in you can change your name by the following command:

    /name NameHere
     
    drewbe121212, Sep 10, 2006 IP
  6. unknown1

    unknown1 Guest

    Messages:
    46
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #6
    okay thanks for reply do let me know by pm once you will see is it server intensive or not
     
    unknown1, Sep 10, 2006 IP
  7. drewbe121212

    drewbe121212 Well-Known Member

    Messages:
    733
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    125
    #7
    Will do... Right now the checks that are being done are

    new messages every 1 second

    user list = 15 seconds

    On the other note though, the new messages retrieved isn't the hole list again, only new messages since the last one recieved. So even with the 1 second checks, it only will have a couple of rows to retrieve...... and the rows are deleted after a minute of existing.
     
    drewbe121212, Sep 10, 2006 IP