############################################################################## ## AnoChat 1.0 - How to install ############################################## Unzip and copy the contents of the 'root' directory to your web root, or where you want to have the chat. The anochat.php and the acinstall.php need to be executable for the webserver user. This worked for me in linux: chmod 755 anochat.php chmod 755 acinstall.php You can then access the install.html page by your browser, and check the progress of the installation while you do the rest. Next, you need to upload the 'progs' directory to a secret location, preferrably outside the web dir. Inside the 'progs' directory is the directory for the chat files, called 'chats'. This must be world writable (777) or owned by the server user (Apache: often 'nobody'). Try: chmod 777 chats The dir setup, suggested: root - img - js - skins - smiles progs - chats Edit the file config.php in the 'root' directory, and set the correct paths: ## Absolute path to progs (includes) dir. No trailing slash ## $prog_dir = "/path/to/progs dir"; ## Absolute path to web root dir. No trailing slash ## $root_dir = "/path/to/root dir"; You can also change the directories for chats and skins, but the default values will work fine. Use the install.html file to verify your installation when you're done. All values should be blue or green, and you should see a table with the installed skins as thumbnails. Once you have installed the chat, delete the install.html and the acinstall.php. ################################################################################ ## AnoChat 1.0 - How to redesign ############################################### To redesign the main page: Edit the main chatwindow stylesheet (anochat_iterapi.css) and index.html to redesign the main page. The index.html can be renamed to something else, or the code for searching/creating chats be moved to another page. You will need the search form and the layer named 'esca', and the included javascripts in the index.html head section for it to run. Look in the code for comments of how to port it. To create a new skin: Each skin has a style sheet in the skin folder, called anochat.css. You can edit all values for each chat window in that stylesheet. In addition to the style sheet, each skin usually has a background image, and to make it visible: a thunbnail called: skinthumb.jpg The skin won't show up without that thumbnail, which size is w150xh137. There are two transparent gifs to help you design a new skin in the folder design_templ. There is also the page designchat.html, which is made to help you design skins. Skin How-to: - create a folder inside the skins directory for the skin - edit the chatdesign.html and set the skin folder as variable in the javascript function: retChatdesign('redstar'); - upload the chatdesign.html to the chat root directory and point to it with your browser - copy a stylesheet from one of the other skins to the new directory, preferrably one that's close to the styles you want for the new skin. - start your favourite graphic program, and open the files in the design_templ directory. Use them as guide or as is. - copy in the image you want as background and save the file as bg.jpg (you can of course change this in the stylesheet) - edit the stylesheet and refresh the chatdesign.html until you're satisfied - use the thumbnail template to create a thumbnail and save it as skinthumb.jpg - upload to the skin directory, and the new skin will be available for use ## AnoChat 1.0 - How to rename ############################################### If you want to rename the anochat.php, you must edit the first lines of the js/anochat.js to match the new values: // Set php-script from which to fetch content var runscript = 'anochat.php'; Also in js/anochat_mainwin.js the new values must be edited: // Set the skins directory var setskindir = 'skins'; // Set the php-script for the chat search var url = 'anochat.php'; ## AnoChat 1.0 - Encryption ################################################## The encryption used is 3DES, or Triple DES. It's fairly tough to break. The key used is a MD5-hash of your code phrase. You can read more about this in these articles: http://www.iterapi.com/index.php?cat=78&art=509 http://www.iterapi.com/index.php?cat=78&art=484 NOTE: The author does not garantee for your privacy by publishing this software. The best thing to use if you are in serious need of privacy is SSL or other fully fledged encryption libraries. This is an _attempt_ to improve on your privacy under open http protocol. The AnoChat is released under an open license and you may use it or develop on it as you want. Knut Møgster 2007 http://www.redesign.no Net url for the AnoChat: http://www.iterapi.com/ac/ The tripleDes javascript was downloaded from here in 2002: http://www.shopable.co.uk/des_explain.html They seems to be gone now, it's a shame. They did a good job. But there are some files here too, I think it's the same people: http://www.tero.co.uk/des/index.php