############################################################################## ## AnoChat 1.1 - 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', 'apache' or 'www-data'). Try: chmod 777 chats or chown -R webserver-user:webserver-group chats/ The dir setup, suggested: root - img - js - skins - smiles - tpl progs - chats - language Edit the file config.php in the 'root' directory, and set the correct paths and values: ## 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.1 - 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.1 - 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.1 - 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: AnoChat 1.1 release article: http://www.iterapi.com/index.php?cat=78&art=845 AnoChat 1.0 release article: http://www.iterapi.com/index.php?cat=78&art=509 AnoChat 0.8 release article: 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 a GPL license and a copy of this license should come with the software. ## AnoChat 1.1 - Changes from 1.0 ############################################# The 1.0 version was released in December 2007, and here is a quick summary of the changes made: - numerous visual bugfixes in different skins - the auth code is now md5'ed thrice before sending it as query id, this is to match the auth structure of AnoBBS, which uses the double md5 as an additional encryption key in authentication - the search form in the main window is now encrypted by PHP before transfer to the client on all searches. The key is public, this is obfuscation only. - the form for search is now a template, loaded from root/tpl - the AnoChat 1.1 uses language files, and may be translated by editing the anochat.js and the lang file prog_dir/lang_dir/lang/chatlang.php - all instances of the auth code field uses a so-called 'nonce' to avoid auto-completion and as additional obfuscation - all instances of the auth code field is now as fieldtype password - the software now is released under a GPL license You should also check out the AnoBBS 1.0, an encrypted BBS system and communication repository: AnoBBS 1.0 release article: http://www.iterapi.com/index.php?cat=78&art=788 Knut Møgster 2007 - 2009 http://www.redesign.no Knut now works for the Norwegian company Senitel Consulting at http://www.senitel.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 That site is now moved here: http://www.tero.co.uk/des/index.php The AnoChat also uses the 3DES PHP script from this site.