Me happy
Me Happy

Try a online demo!
Feel free to post in the demo...
Features
  • GPL Software, so feel free to use.
  • Free emoticons ("smileys"). Thanks to Kevin Hatch
  • Escaping of emoticons, like this \:)
  • You can define what codes to use for smileys. Like :) or [:smiley1:] or what ever you prefer
  • Limit how many smileys can be used in name and in message
  • Safe from all html tags, by converting all html tags to pure text

Files

Right click on the floppy disk and select 'Save As' to save the file or click on the file name to view it online with syntax highlighting.

How to install

  • Copy the four files above to the webserver where you want it to run. (The webserver must of course support php)
  • Unzip the emoticons to a folder on the webserver
  • Edit guestbook.php, $smileys_base = 'http://www.wigen.net/emoticons/'; has to be changed so it points to where you put your emoticons. Don't forget to let it end with a slash (/)
  • Check that the webserver is allowed to create and edit files in the directory you are installing the guestbook. You can create a empty file called guestbook.txt and do a 'chmod 666 guestbook.txt' chmod 666 will give write permissions to everybody and is not the best solution if you are on a multiuser system.
  • If you want other emoticons than the ones I use, you will have to edit the smiley defintions in guestbook.php
  • Add a link on your page to readbook.php
  • You should be up and running, test that you can post a message to the new guestbook

As to copyright of the emoticons I only know that Kevin Hatch's icons are free, the others I don't know. I have picked them up over the years around the web. Download the free emoticons by clicking on Kevin Hatch's name below


Any problems or suggestions contact me here
Credits
The Emoticons are free and made by: kevinhatch.com/graphics/emoticons