#################################################
#                                               #
#  WebGuildChat - AOC 		                #
#  Version: 0.51 Beta 	                        #
#                                               #
#                                               #
#  Authors:                                     #
#                                               #
#  Extensions Developer			        #
#    Name   : Christopher Bleher	        #
#    Email  : cb@orange-gaming.eu               #
#    Website: www.orange-gaming.eu              #
#    Guild: www.dieschwarzegarde.de		#
#    (Keltar/Dessa EU Mitra)                    #
#  						#
#    Designed for Ragebot	                #
#    Website: http://www.odins-zorn.de/         #
#                                               #
#                                               #
#################################################


REQUIREMENTS:

Linux-Server
Webserver(!same server!)
Ragebot
AOC-Account

I. INSTALLATION:

!! You need to install Ragebot first !!
You need to install it on a linux server. The 
webserver must be on the same server. Start the
ragebot as a backgroundjob. read the ragebot
readmes for more infos !!!!!

!! Do not start the Ragebot or stop it if its run !!

1. Copy the wgc.tar to your RagebotrootDIR.
Extract the package and you will have some new files:

/plugins/guild/wgc/index.php
/plugins/guild/wgc/wgc_config.php
/plugins/5000ms/wgc/index.php
/plugins/5000ms/wgc/chattransfer.log
/plugins/5000ms/wgc/chat.log

2. Extract the wgc_web.tar to your weblocation:

/var/www/dsg/wgc/form.php
/var/www/dsg/wgc/wgc.php
/var/www/dsg/wgc/chat.php


3.Permissions

The webserver user and ragebot user need read/write
permissons. 

chmod 666 chat.log
chmod 666 chattransfer.log

------------------------------------------------------

II. Configuration:

yourragebotlocation/plugins/guild/wgc/wgc_config.php
- edit -> $transferfile = yourlocation/chattransfer.log
- edit -> $chatfile = yourlocation/chat.log


/var/www/dsg/wgc/wgc_config.php
- edit -> $transferfile = yourlocation/chattransfer.log
- edit -> $chatfile = yourlocation/chat.log

make nickname to "on" only if you know how you can get 
the "username" from your CMS Website System.

then:
- edit -> $nickname = "on" 
- edit -> $chatnick = NICKNAMEVARIABLE like $_COOKIE['user_name']
, $_SESSION['user_name']



change form.php wgc.php lesen.php style to your 
webtemplate. In this version there are no template
styles. Take your own css.files

------------------------------------------------------

III. Finish:

1. After configuration start your Ragebot
2. Now you need to bind the wgc.php to your website and its done !!


