Improvements on the shoutbox script
http://www.debtadvicenow.co.uk/lila-low-income-low-asset/
After a while from launching the Shoutbox script, I decided to act on some feedback that I got from you guys (and girls!?). So I implemented the following features:
- emoticons – just type the character codes from y!messenger to display the emoticon (only 14 emoticons implemented);
- I tried to implement protection against javascript code being inserted through the form;
- some basic SQL injection protection.
I updated the demo code at the demo page and wait some feedback for a week. Based on the feedback, I’ll update the download archive. Enjoy!
![[del.icio.us]](http://insanityville.com/wp-content/plugins/bookmarkify/delicious.png)
![[Digg]](http://insanityville.com/wp-content/plugins/bookmarkify/digg.png)
![[diigo]](http://insanityville.com/wp-content/plugins/bookmarkify/diigo.png)
![[Facebook]](http://insanityville.com/wp-content/plugins/bookmarkify/facebook.png)
![[Friendsite]](http://insanityville.com/wp-content/plugins/bookmarkify/friendsite.png)
![[LinkedIn]](http://insanityville.com/wp-content/plugins/bookmarkify/linkedin.png)
![[Reddit]](http://insanityville.com/wp-content/plugins/bookmarkify/reddit.png)
![[Simpy]](http://insanityville.com/wp-content/plugins/bookmarkify/simpy.png)
![[Slashdot]](http://insanityville.com/wp-content/plugins/bookmarkify/slashdot.png)
![[StumbleUpon]](http://insanityville.com/wp-content/plugins/bookmarkify/stumbleupon.png)
![[Twitter]](http://insanityville.com/wp-content/plugins/bookmarkify/twitter.png)
![[Email]](http://insanityville.com/wp-content/plugins/bookmarkify/email.png)



6 Responses
to “Improvements on the shoutbox script”





Hi there I need a shout box for my game users. The problem is that I don’t want them to be able to change their username in the shout box (i would like them to use the same nickname with the one used in the game). Can your script be changed?
Your download link is broken. Where can I download it?
Please e-mail me.
Thank you,
Adrian
Hi,
I’ve mailed with details.
questionmarks are not written in the shoutbox. Why not?
And can the nickname stay in stead of re-typing it with every comment?
Thank you.
A very good suggestion relating the nickname (though this is a shoutbox and not a chat script).
I have just installed the script, and set up a mysql table, and put the config info into the config.php. It says
Database connection problem! when I try to open the page. Can you help with troubleshooting?
More details needed.
There are only two situations in which the “Database connection problem” error can occur. The first situation is when the script tries to add a shout to the database but can’t and the second situation is when the script tries to fetch the shouts to display them.
You problem is with the database tables. Be careful when importing the provided dump.
Hope this helps.