Shoutbox

This script is based on jQuery library and Form plugin. It's very easy to setup it, also an archive is available for download so you can play with the files on your localhost. This jquery shoutbox is file based, but it's very easy to write a few more lines to keep your messages in a database. It tries to simulate the behaviour of YShout (a donation ware script) you can find online. Data is exchanged in JSON format, pear Json library is being used. Download the jquery shoutbox files <a href="http://www.ajaxdaddy.com/download/jquery-shoutbox.zip">here</a>

Shoutbox demo

Changes to the code below will update the demo above in real time.



June 15, 2007, 12:34 a.m. - elmo

nice example, but the javascript function could interfeer with third party libraries, better to build a jQuery object of attach the functions to jQuery

July 6, 2007, 9 a.m. - meysam

very good tank is best

July 24, 2007, 2:49 a.m. - jason

awesome script! great shoutbox thanks

Aug. 8, 2007, 6:18 p.m. - matthew

is this comment thing powered by ajax i wonder?

Aug. 9, 2007, 7:20 p.m. - kiko

i dont like the idea of the form moving down everytime we post. it should be in a static position. i like it if the message scrolls automatically that we dont need to use our mouse to scroll down just to write message. anyway i like it. hope to see more improvement. thanks

Aug. 29, 2007, 11:39 a.m. - MikeB

Is it supposed to work on Safari? I don't see the messages get posted when using Safari.

Aug. 29, 2007, 6:08 p.m. - Anil

Damn good script

Aug. 30, 2007, 7:15 a.m. - visuvious

Pretty cool...I love the interface :D

Sept. 11, 2007, 1:31 a.m. - dre

pretty cool

Sept. 16, 2007, 1:20 a.m. - Jagan

Coool Works great

Sept. 24, 2007, 1:31 a.m. - Attila

Great job! I have some comments: Our national charachers (HUN) are not working well with UTF-8 charset meta. My sent messages are unreadable, but the others posts are ok. IE7 is not refreshing, but Mozilla works fine. Thanks a lot!

Sept. 26, 2007, 7:39 a.m. - kost

Thanks. Nice example

Oct. 3, 2007, 2:49 a.m. - Gutovic Ivan

How to change order for displaying messages ?

Oct. 12, 2007, 2:58 a.m. - Cosmin

Kiko, I think you can place the "<form>...</form>" above the "<div id="daddy-shoutbox-list"></div>" . I think this should not move the inputs way down on your page.

Oct. 12, 2007, 3 a.m. - Cosmin

Kiko, I think you can place the form above the div that contains the actual list (daddy-shoutbox-list) This should work. Sorry for double commenting, it just deleted my tags :D . I think this should not move the inputs way down on your page.

Nov. 1, 2007, 12:01 a.m. - tere sergiu

i think i may use this script on my site

Nov. 1, 2007, 1:59 a.m. - SkyBoy

@Attlia I use the method(htp://groups.google.com/group/jquery-en/browse_thread/thread/7f30d4540debc6c4) , then IE can refreshing now.

Nov. 5, 2007, 9:15 a.m. - me me

I might use this on my site

Nov. 13, 2007, 1:14 p.m. - TR

I can't believe I never knew about this site before. IDIOT!

Nov. 15, 2007, 2:28 a.m. - mike

nice script danke

Nov. 29, 2007, 2:38 p.m. - gazzo

do you get adds on this

Dec. 1, 2007, 8:05 a.m. - Marv

Thanks for sharing the script, good job.

Dec. 1, 2007, 7:16 p.m. - Alex

Love this in theory, but I'm in firefox (2.0.0.10) and can't scroll down the list of posts, so even though I've moved the entry form to the top, I can't see anything I post (I checked in IE, where I can move down the posts). Is there a way to limit the number of posts shown and/or start them from the top down instead of bottom up?

Dec. 3, 2007, 6:18 a.m. - Dakota

This is uber cool...

Dec. 23, 2007, 11:28 a.m. - Classic ASP

with classic asp please :(

Jan. 8, 2008, 9:49 p.m. - Dusan

Well, in Mozilla scroller does not work!

Feb. 5, 2008, 3:25 a.m. - fly by

is there some howto for this script? I download it i run it on my localhost server. I load page in web browser i have two inputs: Nick and say. I click submit but there is no answer ?!

Feb. 7, 2008, 12:55 p.m. - Garson

Testing this wonderful script.

Feb. 8, 2008, 5:06 p.m. - DAvid

Interesting, looking for something like this for a lot of time

Feb. 18, 2008, 2:26 a.m. - CFM

Okay, this looks promising!

Feb. 27, 2008, 8:13 a.m. - Jan

I am trying to understand how I can use it. .

Feb. 27, 2008, 9:17 a.m. - Albert

Amazing script really!

March 2, 2008, 5:24 p.m. - DaRyL

Is there a how to on this? I loaded it on my webserver and get a response but it looks nothing like the example above.

March 2, 2008, 5:27 p.m. - DaRyL

Next question: How are they doing this "Comment on this example" form. That's actually what I was looking for when I ran across this!

March 3, 2008, 5:29 a.m. - DaRyL

Why were my questions deleted from last night?

March 5, 2008, 8:30 p.m. - raider

This doesnt seem to work for me.... My messages appear, but when i refresh it isnt there anymore. A freidn on another computer is tring it too. We dont see what either one of us are writting

March 8, 2008, 12:05 a.m. - fedmich

I think the page is refreshing a lot...

March 12, 2008, 3:55 p.m. - blady

How can I change the width of shoutbox/ When I write a very, very long message, it widened. How can I stop that? How can I change the maximum amount of messages (I'm goging to see only 5 latest messages). TYIA :)

March 19, 2008, 6:29 a.m. - Jayson

is there a way that i can append the value "response"[the last post] on top of the list instead at the bottom?

April 16, 2008, 3:28 a.m. - Thion

Nice, but it would be nicer if someone explain to me how the heck can I display messages from MySQL? My modifications are adding message to db, but I have no idea how to display them.

April 28, 2008, 2:51 p.m. - Stephan Nielsen

you can fix the utf-8 problem by replacing line 39 in daddy-shoutbox.php with this.: $data['message'] = htmlentities(stripslashes($_POST['message']), ENT_QUOTES, "UTF-8" );

May 10, 2008, 5:13 a.m. - Dylan

test message in hungarian: árvíztűrő tükörfúrógép

May 25, 2008, 6:12 p.m. - Tampa Web Design

Thanks Stephan Nielsen!

May 27, 2008, 8:05 p.m. - Devyn

Very nice, but can you set it up so only the last 10 messages are shown? it takes up a lot of space.

June 5, 2008, 11:13 a.m. - alex

nice script.can someone tell me how can i change the number of displayed mesages?

June 12, 2008, 10:09 a.m. - M

hi every one, i am work on this code to work with mysql data base, anyone know what i must done to refresh whole message each time ?!

June 26, 2008, 9:53 a.m. - M

How we can set this script that each time refresh all messages ?!

July 6, 2008, 7:42 a.m. - Drunken Dragon

What is that? I only see : pWned

July 8, 2008, 6:32 a.m. - Asif

Hey, I love your design so much. you are my favorite designer.

July 8, 2008, 8:28 a.m. - Spencer

This is some great code, has a huge memory leak issue. Since they are adding a datetime number as they pull the chat.txt every 8th of a second, it caches that page everytime in your end users temporary internet cache. The only solution is to make a seperate .php page that pulls the .txt file, and set the .php file to expire several days in the past, and remove the datetime variable being added at the end of .txt.

July 10, 2008, 8:21 p.m. - M

@Spencer, i'm using sql :D i have not any txt file. my mean is that refresh the message holder div, each time refresh the holder div not add new messages.

July 11, 2008, 12:48 a.m. - Evilsatan

Just great simple shoutbox! Love it!

July 12, 2008, 8:06 p.m. - M

@Spencer, i use a sql db, i don't have any text file, my mean is that each time refresh the div message container, not add new messages.

July 12, 2008, 8:07 p.m. - The M

@Spencer, i use a sql db, i don't have any text file, my mean is that each time refresh the div message container, not add new messages.

July 14, 2008, 3:05 a.m. - batur orkun

you can solve IE7 refresh problem..this is a IE cache problem. So you can add a dummy GET variable to the url. function refresh() { $.getJSON(files+"daddy-shoutbox.php?action=view&time="+lastTime + "&pid=" +Math.random(), function(json) { ......... .... .. .

July 16, 2008, 6 p.m. - Jamie

Dude, you got pwned by my spam! Have a nice day.

July 28, 2008, noon - Echo

Very nice, integrated easily and effectively into my site. The library for this is excellent. Will be great for future ideas.

Aug. 3, 2008, 3:16 a.m. - byeli

Çok Güzel birUygulama Thanks..

Aug. 4, 2008, 9:18 a.m. - Chanel

Vos avis et commentaires m'interessent! Merci beaucoup!

Aug. 5, 2008, 9:23 a.m. - SEO Toronto

Testing shoutbox -> search seo toronto

Aug. 11, 2008, 6:07 p.m. - kral oyun

i ll try on my page, thanks.

Aug. 19, 2008, 7:30 a.m. - jason

this is shoutbox

Aug. 20, 2008, 3:09 p.m. - lost

i have a BIG question, how the hell do I add this shoutbox to my sidebar? can anyone give me the code?

Aug. 26, 2008, 4:45 p.m. - fsfsgretr

afnsadfui nsada

Aug. 28, 2008, 3:21 a.m. - Francesco Ferrari

Proviamo questo fantastico script...

Aug. 28, 2008, 3:22 a.m. - Prova

safari test

Aug. 28, 2008, 3:25 a.m. - Prova

IE 7.0 test

Sept. 4, 2008, 8:50 a.m. - pp

uc=cz9_1998 nova online hra zaregistruj se uz ted

Sept. 11, 2008, 6:35 p.m. - Mr.A

I Can't setup

Sept. 16, 2008, 11:20 a.m. - pushpak

hola, its cool

Sept. 17, 2008, 2:32 a.m. - Nam Nguyen

Just a testing comment :)

Sept. 17, 2008, 2:35 a.m. - Nam nguyen

just a second testing@@

Sept. 18, 2008, 5:41 a.m. - kapil

hi people. im going to use this on my website., but i have little confusion, first this is a demo version, so how much it is save to use also what are its limitation as how many people can add comment also where the hell are all records gone, means where the comments are recorded..pl tell

Sept. 18, 2008, 11:56 a.m. - core

luis luis luis luis luis luis

Sept. 18, 2008, 11:58 p.m. - buenas

hola a todos

Sept. 22, 2008, 9:33 a.m. - Ekko

To reverse the way messages are appended (so newer messages on top) you have to change 2 lines in the javascript. Where it says append change it into prepend. On line 87 change this: $('#daddy-shoutbox-list').append(prepare(response)); into: $('#daddy-shoutbox-list').prepend(prepare(response)); On line 110 change: $('#daddy-shoutbox-list').append(prepare(json[i])); into: $('#daddy-shoutbox-list').prepend(prepare(json[i])); Good luck with it :)

Sept. 22, 2008, 12:39 p.m. - Martijn

Is dit leuk :)

Sept. 22, 2008, 1:05 p.m. - Martijn

Deze moet het gaan worden

Oct. 6, 2008, 5:53 a.m. - richi

I guess it should be UTF-8 compatible by default settings.

Oct. 11, 2008, 11:40 a.m. - rahman

I dont like this comment because its a big not small sry

Oct. 18, 2008, 3:04 p.m. - infodiz

wikked site

Oct. 28, 2008, 10:16 a.m. - Jan

Hi! Can anyone explain me, how can I install this shoutbox to my joomla web page? I'm new in this, so please, tell me in a few steps how does this thing realy works:) tnx

Nov. 3, 2008, 11:47 a.m. - Eric

I AM A BUTT AND I SMELL LIKE BUTTS

Nov. 3, 2008, 5:40 p.m. - drewski

checking out the shoutbox

Nov. 7, 2008, 2:10 a.m. - sam

hungarian: űő öäå ú ó í

Nov. 10, 2008, 11:32 a.m. - Nicholas

I just wanted to say hi

Nov. 14, 2008, 4:05 a.m. - willem

werkt goed!

Nov. 20, 2008, 8:52 p.m. - faker

test !!!!!!! 123

Nov. 21, 2008, 5:32 a.m. - WD40

Umm ok so maybe im just stupid but I cant get this to work locally. I remove the <base> and put the images and JS in the right folders and copyd the html into a new page. It loads up ok but when I hit submit, I just get the loader.gif spinning round and nothing happens? Anyone?? please?? Thanks guys

Nov. 22, 2008, 6:22 p.m. - hello

nice script

Nov. 29, 2008, 8:15 p.m. - bill davis

this is sweet

Dec. 6, 2008, 9:07 a.m. - Jesus

This is a comment

Dec. 8, 2008, 1:33 p.m. - what

where is the scroll bar?

Dec. 10, 2008, 4:53 p.m. - Kekonansi

Hello! I found a way to make it show just a certain number of messages. IN the file of index.php, find the line of the function "prepare" (in the javascript). After the "var string" at the end, insert this setence: " if (count > 15) { x = (count - 15); $('#list-' + x).fadeOut('slow'); x = document.getElementById('list-' + x); x.style.display = "none"; }". Here I put 15, but you can put the number you want. To put in the inverse order, just alter the "append" to "prepend" as it has already been told here in the comments. To make the hour be right, you can put this function in the begin of the javascript in the same page: "function checkTime(i){if (i<10){i="0" + i;}return i;}" and then change de value of "mytime" in the function "prepare" to : "checkTime(d.getHours())+':'+checkTime(d.getMinutes())+':'+checkTime(d.getSeconds());". It will stay like this: "var mytime = checkTime(d.getHours())+':'+checkTime(d.getMinutes())+':'+checkTime(d.getSeconds());". There is a bug about when you do not fill all the fields. You can fix this with this "for (var i=0; i < formData.length; i++) $('input[@name='+formData[i].name+']').css('background', 'white');" adding before this line: "$('#daddy-shoutbox-response').html('<img src="'+files+'images/loader.gif" />');" in the function "Validate". Hope it help you guys! See you!

Dec. 10, 2008, 4:58 p.m. - Kekonansi

Ops, I forgot. The problem with the font (in portuguese of brazil we have some accents - this is the word?!). Well, i solve that using "$data['message'] = html_entity_decode($_POST['message']);" in the file daddy-shoutbox.php. Just search by the expression "$data['message']" and you'll find it. Cya!

Dec. 10, 2008, 9:53 p.m. - TienDung

em muon down shoutbox2.0 thi` lam` the nao` nhi?

Dec. 17, 2008, 12:44 p.m. - mike

uha it works

Dec. 18, 2008, 11:09 a.m. - Francis Bernatchez

Ceci est un test

Dec. 23, 2008, 2:05 a.m. - asdf hhhxxx

sdafas dsf asdf

Dec. 25, 2008, 8:32 a.m. - testing saja

hello hello 123

Dec. 27, 2008, 11:33 p.m. - gattino

gattino nel camino

Dec. 29, 2008, 4:44 a.m. - adf

for people asking about integrating this into a page - you could use a iframe with and change with widths to match the iframe. This worked great for me.

Jan. 5, 2009, 1:28 p.m. - Robert

Its not working. I can see the posts, but the place to enter my own post is unavailable. It makes me weary of this script =/ i want it to work!

Jan. 5, 2009, 1:29 p.m. - Robert

Oh i see, overflow is hidden, and the entry box was hidden as it spilled under

Jan. 5, 2009, 11:42 p.m. - sudhir

nice web development company

Jan. 13, 2009, 7:52 a.m. - Kirat

My messages appear, but when i refresh it isnt there anymore.

Jan. 27, 2009, 7:25 p.m. - guichet

ou s'inscrit on

Jan. 31, 2009, 3:10 a.m. - zim

so where exactly in the filetree does these files go? I can't get it to work properly...

Feb. 18, 2009, 11:56 a.m. - Tampon

wonderfull but after 19 lines wrote it seems that is not functionnal, impossible to see the box for put a message... sorry for my French-english !

March 4, 2009, 12:52 p.m. - Cort-X-

Awesome !! Is there a way to keep all messages ? It would be perfect !

March 10, 2009, 9:05 a.m. - ipsg007

woww thats amazing.. thanks for it...

March 10, 2009, 7:41 p.m. - ilen

hola esta bueno pero no tiene scroll otra que el mensaje deberia salir en la parte superior

March 29, 2009, 10:21 p.m. - sokmo

nice one. how if i wanna write a word n make it moving from right to left or vice versa (in the shoutbox, not the coding). marquee??

March 30, 2009, 7:03 a.m. - tamer

how i can write Arabic in this box ? please tell me how i can do that thanks

March 31, 2009, 3:50 a.m. - mgala

virker lortet, spasserhjerner?

April 12, 2009, 8:34 a.m. - Hà con

Thử tiếp

April 20, 2009, 5:25 a.m. - Jojje

This is trully awesome! I want it on my page as well!

April 27, 2009, 12:26 p.m. - Ina

I dont get this to run...

May 3, 2009, 1:10 p.m. - Jesus

Super script

May 5, 2009, 9:31 a.m. - peter piper

girl you huge

May 17, 2009, 3:59 a.m. - Anonymous

any tips for displaying this in a lightbox?

May 24, 2009, 11:20 p.m. - sunny

can u please explain me that how can i use this plugin into the cakephp.its very urgent please help me .i'll be gratefull tou you .thanks in advance.

May 29, 2009, 4:34 a.m. - James

Hi, How do you make it refresh the whole shout. Cause unless you refresh the whole page, the shout box gets bigger and bigger. (It seems to add the posts on the end of what it already has bu only stores the last 10 posts) Thank you though, it is really good.

May 30, 2009, 6:22 a.m. - Newton

It clashes with the standard jquery library

May 31, 2009, 11:55 a.m. - ZuZu

I'm LadyZuZu<3

June 3, 2009, 1:40 a.m. - sweden

Good script, but i cant fix that u use öäå swedish char. Se the shoutbox how its prints out..

June 4, 2009, 2:30 a.m. - mikeys4u

How can I add a sound each time a message is recieved?

June 12, 2009, 3:41 a.m. - AppleMadman

This is just awesome! Any way to save chat logs?

June 13, 2009, 6:18 a.m. - Akif

How can i change the message count? it only shows 11 messages. i want more :(

June 15, 2009, 9:09 a.m. - Opa

There's a problem with the hungarian characters, because the htmlentities() function converts them with a bad char-table (or else, doesn't matter). I solved that, with deleting the 32. and 33. lines in daddy-shoutbox.php file, so there's no conversion to HTML entities. That means it wont appears the < , > and other chars too. But that works

June 18, 2009, 6:58 a.m. - Akif

How can i increase the maximum message count?

June 18, 2009, 8:09 a.m. - Dave

This is great stuff... One problem I'm having though is getting the existing comments to load up when the page is opened and seeing input from other users. All files are local on my server, any ideas? Dx

June 19, 2009, 5:45 a.m. - kshitija

Very nice Example...... Thanks

June 22, 2009, 8:02 p.m. - jazz

Cool! Super!

June 23, 2009, 10:10 a.m. - asd

jkjsdf sdkfuiwer

July 1, 2009, 6:58 a.m. - weiming

good stuff...but how to call out from database?

July 5, 2009, 7:41 p.m. - AustinQPT

to get just the messages in a scroll box go to the css attributes at the top on line 20 and change it to #daddy-shoutbox-list { text-align: left; margin: 0px auto; height: 300px; overflow: auto; } where 300 is the height. To change it to scroll sideways too which i do not recommend change overflow to scroll.

July 10, 2009, 6:10 a.m. - nexus

that's a lot simpler than i would've thought

July 12, 2009, 6:37 a.m. - Samo

I Found "prepare" And Found "var string" In Index File, And I Tried Add This Code After It Like U Said But Not Working : var string = '<div class="shoutbox-list" id="list-'+count+'">' + '<span class="shoutbox-list-time">'+mytime+'</span>' + '<span class="shoutbox-list-nick">'+response.nickname+':</span>' + '<span class="shoutbox-list-message">'+response.message+'</span>' +'</div>'; if (count > 30) { x = (count - 30); $('#list-' + x).fadeOut('slow'); x = document.getElementById('list-' + x); x.style.display = "none"; } can u tell me what's the problem , i would like to increase the maximum message count?

July 22, 2009, 12:21 p.m. - Galdetsky

Nice. But some bad words can be written in there.

July 24, 2009, 2:09 a.m. - Soben

Awesome! But it doesn't work with my language (Khmer). I've tried to edit the above code to use UTF-8 as encoding but still not work. There might be something related to a file called daddy-shoutbox.php which I don't have any access to it.

Aug. 13, 2009, 6:26 p.m. - thom

great script! if you want to have more than 10 'shouts' showing, edit the shoutbox.php look for: "if(count($arr) > 10)" change the number to something larger, eg. 9999999, and you'll display and keep more shouts in the messages.txt file

Aug. 14, 2009, 6:32 a.m. - Alex

I love you company. you are really good

Aug. 22, 2009, 7:46 a.m. - Nika

How Download?

Aug. 24, 2009, 6:03 p.m. - edward

this is pretty slick

Aug. 28, 2009, 1:41 p.m. - ute

Does anyone know how to get the script accepting Norwegian letters. Have tried as mentioned in here the following in answer 60: Stephan Nielsen 2008-04-28 14:51:47 you can fix the utf-8 problem by replacing line 39 in daddy-shoutbox.php with this.: $data['message'] = htmlentities(stripslashes($_POST['message']), ENT_QUOTES, "UTF-8" ); But it does not work. Any suggestiones anyone on how to get the script working with the Norwgian letters? Kindest regards Nute

Sept. 2, 2009, 5 a.m. - Hannibal

Hey, nice Script BUT it is NOT compatible with the actual version of the jQuery-Library! It is 3 years old!!! plz update your script. its imposible to use the shoutbox with other scripts based on jQuery. (The Error is in the success-function. On sending a message, updating the shoutbox failed)

Sept. 8, 2009, 1:39 p.m. - Per Magnusson

It is too bad that there is no spam protection.

Sept. 9, 2009, 4:42 a.m. - Sportvoeding - Gezond ontbijt

Is there a shoutbox like this (no refresh) for PHP-Fusion?

Sept. 17, 2009, 1:14 a.m. - Tjolker

This seems like a good tool, is it also possible to have multiple pages behind each other?

Oct. 1, 2009, 8:41 a.m. - Tomek

Narazie Paweł

Oct. 9, 2009, 9:36 a.m. - sakkeer

how can i use iso-8859-1 encoding with messages?

Oct. 12, 2009, 2:35 a.m. - NikolasTSR

Hallo world

Oct. 18, 2009, 10:06 a.m. - test

testin this

Oct. 22, 2009, 11:29 p.m. - Petur

baszodjatok meg

Oct. 29, 2009, 7:48 a.m. - BesplatneStvari.biz

this is sweet

Nov. 1, 2009, 5:51 p.m. - Glint

I'am form china / I like this .. Who would like to make friends with me? add email:lizhoumin@hotmail.com

Nov. 3, 2009, 12:43 a.m. - Tester

Look like it might work

Nov. 3, 2009, 10:14 a.m. - Arif

Nice for all!!

Nov. 9, 2009, 3:31 p.m. - Onkel Elfriede

er hat alles gewusst: tinyurl.com/fragmich

Nov. 10, 2009, 1:39 a.m. - anonymous

can you explain how to write a few more lines to keep your messages in a database?

Nov. 23, 2009, 7:56 a.m. - davie

how to add unicode ?

Nov. 25, 2009, 11:39 a.m. - Abdi Haikal

Amaze !!! Danke Mr.

Nov. 30, 2009, 4:19 p.m. - tutor

One thing I've noticed. You really need to put a realistic character limit both front end and back end. Otherwise, I love it!

Nov. 30, 2009, 7:02 p.m. - Tutor

ohh, I'm trying to use a really shrunk version. However, when really long words are used it doesnt word wrap. Is there a 'common' way of word wrapping for this case?

Dec. 5, 2009, 9:07 a.m. - Tutor

just to let people know, you can solve the long string problem (for shrunk verions of this) by putting a "overflow: hidden;" in the css

Dec. 13, 2009, 6:08 a.m. - Umar

Just testing this thing ..!

Dec. 14, 2009, 2:35 p.m. - SlickShady

I need a shotbox that has smilies and avatars...Anyone know a good one?

Dec. 14, 2009, 3:46 p.m. - odogg

testing testing

Dec. 16, 2009, 2:03 a.m. - test

hello this is a test

Dec. 19, 2009, 2:55 a.m. - janis

shoutbox has bug, sometimes user post dublicates ;)

Dec. 22, 2009, 1:01 p.m. - Jack Wilsdon

Awesome, But Can I Add Smileys Email:d.jacks@hotmail.com Email Me!

Dec. 25, 2009, 11:12 a.m. - Sym

downloaded zip and copied the unzipped folder into inetpub/wwwroort now when I am opening index.php url... it opens chat page and when I try sumbittig after enterring name and message loader.gif image appears and it keeps on scrolling.. nothing happens... pls help...

Dec. 27, 2009, 6:15 a.m. - Sam

hi, how can i change the option so it allows for more comments i wanna allow for like 100 comment, coz i notice it deletes old comments , + is possible or what to change and where so it shows Nick: & Say : and below it the comments, what i mean i wanna submit button and below it the comments , how ?

Dec. 27, 2009, 2:04 p.m. - Sam

hi, why you guys removed my comment! i just asked about if its possible how to make submit button up and comments below it, and how can we make this shoutbox allows more comments without removing them, please help, my email : Contact@SamoSoviet.tk

Dec. 29, 2009, 8:29 a.m. - UNIMATRIX01

If you need a shout box that does emo's. All you need to do is get all the images you want substituted, regex each new line, if match of emo is found, display image x.

Jan. 3, 2010, 8:46 p.m. - Fake SMS Free

Share Free Fake SMS with Sender I-LOVE-YOU, Great and Free Bro Try For You

Jan. 23, 2010, 4:52 p.m. - Patrik

Realy REALY nice script. Made me very happy. My only issue is that when there's like 300 messages there the chat will be very long. I would like a script function so I can delete posts by ID. And then it will FadeOut for everyone in the chat and also deleted from database. (I recoded the daddy php file to MySql). So the ajax calls the php file so that it deletes the post from database aswell. Please can anyone help? Im not that good with javascript. Im only good in PHP, MySql. Thanks I would be greatefull for help. Mail me: patrik@satnet.se Have a nice day!

Jan. 24, 2010, 5:18 a.m. - Slym

AAA nem is tom....

Jan. 26, 2010, 12:02 p.m. - jason

just testing the ajax

Feb. 8, 2010, 6:42 p.m. - mike

this is awsome

March 3, 2010, 8:46 a.m. - bob

Damn this.. is their any way to make this support foreign letters? å for instance..

March 10, 2010, 10:18 a.m. - what does xanax look like

what does xanax look like

March 14, 2010, 7 a.m. - Tester

If i write "'" there is "\'" !!

March 14, 2010, 7:01 a.m. - Tester

If i write <'> there is <\'> !!

March 14, 2010, 7:07 a.m. - Name

Hello, I love your shoutbox but the problem and that if I put an apostrophe <'> system gives me a backslash before <\'> ! How to solve the problem!?

March 14, 2010, 8:04 a.m. - murph

cool stuff man

March 17, 2010, 3:32 a.m. - Mahato

Thanks to Post Demo

March 18, 2010, 5:58 a.m. - Wellington

Parabéns. Muito legal seu chat.

March 21, 2010, 2:34 p.m. - bob

nice, but it doesn't look optimised for performance

March 24, 2010, 9:05 p.m. - Anderson

On end of box, don't scroll.. :(

April 1, 2010, 8:48 p.m. - xan

where can i download daddy-shoutbox.php code? thx

April 6, 2010, 10:08 a.m. - hello

testing testing

April 8, 2010, 4:07 a.m. - carlos

can we download it??

April 22, 2010, 4:19 p.m. - Roni

i have use #daddy-shoutbox-list { text-align: left; margin: 0px auto; height: 290px; overflow: auto; overflow-x: hidden; overflow-y: auto; } where can i make a scrolltop ?

April 29, 2010, 4:46 a.m. - Something

Etiam dolor tellus, venenatis nec facilisis sit amet, lacinia eget sem. Etiam ac odio urna, egestas bibendum justo. Cras at turpis sit amet ante blandit tempor. Morbi malesuada feugiat diam, eget fermentum erat molestie sit amet. Nam ut augue augue. Duis augue felis, pharetra eget tempus vitae, tempus quis mauris. Nulla vel nulla eu quam auctor adipiscing. Sed ut mi gravida orci elementum sollicitudin eu quis tellus. Sed a nulla ante, id mollis elit. Donec consequat ante eu tellus ornare porta. Ut sed nunc ut urna pharetra condimentum vitae eu turpis? Suspendisse tempus blandit lorem, ac sodales augue malesuada sollicitudin. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Vestibulum ut elit magna! Vestibulum felis sapien, porta dictum imperdiet a, posuere id purus? Nulla placerat, dui nec pharetra egestas, lacus odio aliquam mi, a placerat nibh justo vitae libero? Nunc consequat metus ac dui porta eu accumsan turpis vestibulum.

May 3, 2010, 12:42 a.m. - kishore

it's very nice

May 6, 2010, 4:06 a.m. - ankara nakliyat

This is just awesome! Any way to save chat logs?

May 12, 2010, 5:53 p.m. - Ben

To update the amount of messages it stores, open daddy-shoutbox.php. Where it says if(count($arr) > 10), increase that to whatever you want. It'll now store more.

May 17, 2010, 8:38 p.m. - alan

hola esto es el showtbox

May 18, 2010, 8:39 p.m. - Hello

I am sorry... i play this shout form too over already ,

May 19, 2010, 6 p.m. - cdx1

wast of time till there is scroll bars or a slider on it also all messages are lost on page refresh. good start tho

May 20, 2010, 8:03 a.m. - Ajay Kumar

It should Add smiles

May 25, 2010, 10:38 a.m. - HOW TO SET POLISH LANGUAGE WITH UTF

HOW TO SET POLISH WITH UTF??

May 27, 2010, 4:06 a.m. - Zbynio

How to set polish language? who knows?

May 31, 2010, 2:19 p.m. - peps

Why doesn't the shoutbox auto-update in internet explorer?

June 1, 2010, 11:08 a.m. - Joe

Roni, just using iframe if you want the scroll... If you using PHP $_GET, you can add ALL this call into PHP File :)

June 2, 2010, 12:31 a.m. - testing

this is testing...

June 3, 2010, 2:34 a.m. - stevie

used it fpr our research working group for organizing where to go to lunch every day;)) thx a lot.. saved me often the day not to go alone..

June 12, 2010, 8:43 a.m. - jama

lovely website

June 19, 2010, 12:15 p.m. - gul

Can I write with čřž? thx

July 6, 2010, 6:22 a.m. - Cal

Can't use UTF-8 @@

July 8, 2010, 11:47 p.m. - Samo

please, i would love to know one thing only, how can i make comments "say" show up below " Nick: , Say: , Submit" Example : Name : ---- Say : ---- Submit Comments "Say"

July 9, 2010, 12:41 p.m. - Samo

please, i would love to know one thing only, how can i make comments "say" show up below " Nick: , Say: , Submit" Example : Name : ---- Say : ---- Submit then Comments "Say" | Please don't remove my comment and help me admin!! |

July 10, 2010, 2 p.m. - Samo

This Website Is Dead And Keep Remove Qs And Comments! Really Shame.

July 26, 2010, 11:52 p.m. - tresani

how can i have it scroll the test instead of pushing the input box's down

Sept. 6, 2010, 5:49 p.m. - Marko

Chat does not work with the state letters! Example: when I write letters čšž does not appear correctly.

Sept. 11, 2010, 9:46 a.m. - nipuna

need scroll bar

Oct. 3, 2010, 7:25 a.m. - Penny Auction Script

wow i will use for my site

Oct. 8, 2010, 9:39 p.m. - salehkhan

Why not support encoding utf8 ?

Oct. 9, 2010, 4:57 p.m. - film izle

nice web development company

Oct. 15, 2010, 3 a.m. - gry ubieranki

nice, I will try this on my site with online game.

Oct. 22, 2010, 12:08 p.m. - John Kuiper

Really very nice tool, but it doesn't work in IE8. The messages will not be refreshed by timer

Oct. 22, 2010, 12:10 p.m. - John Kuiper

Does someone noticed it and got it worked?

Oct. 25, 2010, 11:02 p.m. - jmfr

excelente script

Oct. 26, 2010, 2:29 p.m. - poland

Very nice. Good job! I add script in my emots, but it's not funny :P

Nov. 1, 2010, 8:57 p.m. - Anonymous

I'm having trouble setting this up on my website. It won't write the messages to messages.txt or display it on any other computers.

Nov. 7, 2010, 11:06 a.m. - Why not support encoding utf8 ?

Why not support encoding utf8 ?

Nov. 20, 2010, 8:31 p.m. - jerry

No working :( $data['message'] = stripslashes(htmlentities($_POST['message'], ENT_QUOTES, "UTF-8"));

Nov. 25, 2010, 6:47 a.m. - agung

Mau donk koment nya

Nov. 29, 2010, 11:02 p.m. - Ivan

Thanks for the code :)

Nov. 30, 2010, 11:47 a.m. - Luke

how do you limit the number of shouts displayed ?

Dec. 3, 2010, 9:39 p.m. - BaLLaNcE

How can i restrict words ? For example, somebody can send me to my mama =)) I want to restrict some words. How can i do that ?

April 4, 2011, 1:57 a.m. - kombi

süper bi eklenti. seo culara çok yararlı olur kanımca.

April 18, 2011, 4:25 a.m. - elmo

nice example, but the javascript function could interfeer with third party libraries, better to build a jQuery object of attach the functions to jQuery

May 4, 2011, 3:27 p.m. - Barry

Great script, very lightweight. Made a few small changes to it myself, added member avatars etc.. to fit well with my site.

May 5, 2011, 1:16 p.m. - anitajg

Hello every tom! I'm not fairly steady if this is a forum where people forge these kinds of posts, but I'll honourable take up ahead anyway! - I'm further here. Just looking to join with some chilliness peopole ;-)

Sept. 1, 2011, 8:09 a.m. - john Evans

How do i get the code into my website

Sept. 24, 2011, 6:16 a.m. - Oliver Arthur

Hello!!!! I have a little problem using this application on my website and the problem I have is that I get messages that are introduced and what I get is:{"response":"Good work","nickname":"","message":"","time":1316862702} I think my problem is with the database but not where I go to connect the application with the database. greetings for everyone!

Sept. 26, 2011, 7:40 a.m. - Stevo Gonzales

To solve the "utf-8 problem", in the daddy-shoutbox.php just replace: $_POST['nickname'] = htmlentities($_POST['nickname']); $_POST['message'] = htmlentities($_POST['message']); with: $_POST['nickname'] = htmlentities($_POST['nickname'],ENT_QUOTES, "UTF-8" ); $_POST['message'] = htmlentities($_POST['message'],ENT_QUOTES, "UTF-8" ); GREETZ

Sept. 26, 2011, 9:39 a.m. - Oliver Arthur

Hello! I just do the changes to the file, but the problem keeps coming to me when I give him to send. greeting.

Sept. 28, 2011, 9:27 a.m. - Stevo Gonzales

Really - did you also make the changes described above? "..... you can fix the utf-8 problem by replacing line 39 in daddy-shoutbox.php with this.: $data['message'] = htmlentities(stripslashes($_POST['message']), ENT_QUOTES, "UTF-8" ); ....." What I also did in the index.html is to add @CHARSET "UTF-8"; into the css-code and replaced charset=iso-8859-1 with charset=UTF-8 in the meta-tag. That's really all and it works fine!

Sept. 29, 2011, 9:08 a.m. - Oliver Arthur

I have it as well: <meta http-equiv="Content-Type" charset="utf-8" /> <script type="text/javascript" src="https://apis.google.com/js/plusone.js"> </script> but I still get the error greeting

Oct. 14, 2011, 12:54 p.m. - CrT

Dosent work just waiting to sumbit in chat!

Oct. 17, 2011, 10:29 a.m. - Robert

Hallo, I found your shutbox solution and really like it. The problem is that after I installed Downloaded script and started in a local, the typed text is not displayed. Please help me or send to me some script that works. with Regards, Robert

Nov. 1, 2011, 8:24 a.m. - Maryse rencontre

Good shoutbox ;) Can add this for mini chat on my website. But this script have refresh balise ? Do this alone ? Thx

Dec. 15, 2011, 11:48 a.m. - rajib

hello everyone i m testing it...bye bye

Jan. 3, 2012, 10:39 a.m. - test

NICE SHOUTBOX

Jan. 13, 2012, 3:04 a.m. - guest

Is there a way to make it not interfere with other jquery stuff?

Jan. 20, 2012, 5:09 p.m. - Imane

It's very nice but I think it should be limited , I mean by lines

Feb. 23, 2012, 3:23 a.m. - Pellakal

If you wanna get UTF-8 encoding just change the txt to xml, and put the header in front of file :)

March 10, 2012, 6:20 p.m. - hussein

SLAM YA MAN

March 24, 2012, 6:52 a.m. - kyampy

cz.servegame.com

April 10, 2012, 12:26 p.m. - shaekil

hello how are you shakil

May 2, 2012, 1:45 a.m. - Mike Jones

Shoutbox test

May 19, 2012, 5:27 a.m. - Paul

hey guys is there a way to make the content auto scrollable down? i need this feature. When a message is added, the div auto scroll down to the last message. Thanks.

June 19, 2012, 1:44 p.m. - chris

How do i put on my site?

June 20, 2012, 4:48 a.m. - Scrapebox Murah

cool demo I want get it :) thanks

Aug. 7, 2012, 2:12 a.m. - KPW

I am visiting this site for the first time and i found it very interesting and informative for its viewers.

Aug. 23, 2012, 5:26 p.m. - juegomoto

I simply was going to stop and say thanks for enabling me You've made my day simply by a slave to and that help call at what I needed done.

Oct. 7, 2012, 8:45 a.m. - hi

<h2><script language="JavaScript1.2"> var message="{param}" var neonbasecolor="black" var neontextcolor="red" var neontextcolor2="#fb5353" var flashspeed=100 // speed of flashing in milliseconds var flashingletters=3 // number of letters flashing in neontextcolor var flashingletters2=1 // number of letters flashing in neontextcolor2 (0 to disable) var flashpause=0 // the pause between flash-cycles in milliseconds ///No need to edit below this line///// var n=0 if (document.all||document.getElementById){ document.write('<font color="'+neonbasecolor+'">') for (m=0;m<message.length;m++) document.write('<span id="neonlight'+m+'">'+message.charAt(m)+'</span>') document.write('</font>') } else document.write(message) function crossref(number){ var crossobj=document.all? eval("document.all.neonlight"+number) : document.getElementById("neonlight"+number) return crossobj } function neon(){ //Change all letters to base color if (n==0){ for (m=0;m<message.length;m++) crossref(m).style.color=neonbasecolor } //cycle through and change individual letters to neon color crossref(n).style.color=neontextcolor if (n>flashingletters-1) crossref(n-flashingletters).style.color=neontextcolor2 if (n>(flashingletters+flashingletters2)-1) crossref(n-flashingletters-flashingletters2).style.color=neonbasecolor if (n<message.length-1) n++ else{ n=0 clearInterval(flashing) setTimeout("beginneon()",flashpause) return } } function beginneon(){ if (document.all||document.getElementById) flashing=setInterval("neon()",flashspeed) } beginneon() </script></h2>

Oct. 8, 2012, 8:58 p.m. - yati

Hi @toxicious, I visited your website but can not find code with mysql support. Can you post a direct link. Thanks!

Nov. 12, 2012, 5:39 a.m. - dike

I don't know but on my site doesn't work it generates errors

Dec. 4, 2012, 1:21 a.m. - Bntonia

But you also know that most diets and quick weight-loss plans have about as much substance as a politician's campaign pledges. http://www.cookrec.com

Dec. 12, 2012, 1:01 a.m. - Honey

Glad to visit your blog, I look forward to more good articles and I think we all like to thank so many good articles, blog to share with us.

Dec. 18, 2012, 7:55 p.m. - kingyanz

DONT UNDERSTAND TO USE.. I CAN'T SEE MY COMMET ABOVE AFTER COPY YOUR SCRIPT.. WHAT'S WRONG THAT BRO.. :(

Jan. 6, 2013, 10:43 a.m. - Developer

Only suitable for english :(

Jan. 16, 2013, 1:32 a.m. - brent

hi this is a test...

Jan. 16, 2013, 4:57 p.m. - Tobias

Test for my DJ´n

Feb. 23, 2013, 10:32 a.m. - GeorMast

I would like that shoutbox :)

Feb. 28, 2013, 5:09 a.m. - Majki

Thanks guys

Feb. 28, 2013, 5:26 p.m. - Johnny

What's the solution to the problem with quotes, " or ' when entered generate a \ before them so typing I'm displays as I \'m ?