Category: PHP - Miscellaneous

ShoutChat allows developers to add a instant message shout box to websites. The shoutbox is an iframe element, and the script operates using javascript and stores the messages in a MySQL database (a file gets complicated with synchronous posts, so a database was favored). The look of the box is controlled through styles. All the modern browsers are supported. ShoutChat handles some of the details that other shout boxes do not. When the new message is displayed, the shoutbox is scrolled down so that the new message comes into view. ShoutChat also checks for new messages. It does so using head requests once every 10 seconds for the first 30 seconds and then exponetially by powers of 2 from there on out. When the mouse is moved over the shoutbox region, this cycle starts over. This allows for new messages to be displayed to all users viewing the site until they become inactive, at which point the updates become less frequent. Without this very important feature, a converstation on a website is cumbersome at best. Date: 25 October, 2011


Developer: Dan Allen

License: Freeware

Operating System: All

Add a Comment

all are required fields

What do you think of this resource?

Select Your Rate: