I've tried to make this procedure as easy as possible.
So, you need to:

1. Download voc-x.x.x.tar.gz
2. unpack it somewhere 
tar -zxvf voc-x.x.x.tar.gz
3. copy chat/ subtree somewhere in your web-path and data/ somewhere outside
4. go to the chat/admin and set admin password
	For Apache:
	- change the path in the .htacces to the password file (e.g. to the .htpasswd in the same direcotry
	- change the password: passwd .htpasswd admin (or try existing one, should be admin:1234, but only if you're using the same crypt method as me)

Of course, you can just delete this two files :) But in this case everybody will be available to change you configs and start/stop daemon.

5. open in the browser link to file 'configure.php' in this admin directory. 
6. Make 4 steps of configurations.
Actually, that's all what you need to do.




SYSTEM REQUIREMENTS:!
you need:
- PHP ver 4.x
- Perl (5.6.x is recommended)


How to start:
Open in your web-browser the link to your admin-directory. You should see Daemon-Tools. Try it!
You can also use shell. Go to the data/daemon directory and try to start daemon by hand: ./daemon.pl (or perl ./daemon.pl).
I guess you will see warning message (something like "Prototype mismatch: sub main::ctime vs (;$) ............", 4 lines of text). 
It's ok. (No, it's not ok, but I'm not a Perl specialist and I don't know how to fix it :) ).
Your daemon should work (if there are no other messages).
You can check daemon.log and daemon.pid to be shure.
And you can also try to change first line of the daemon.pl file to #!/usr/bin/perl -X (it doesn't work on some systems)

If you're using PHP in the safe_mode, you're, probably, not allowed to execute files, and can't run daemon through this web-interface.
In this case, copy the file 'daemon_admin.pl' from chat/admin/ directory into your cgi-bin.
Change the second line in this file (should be the correct path to your data/ directory), give eXecutable permissions and try to call it through your browser.


For WINDOWS users:
- please, use normal slashes in the pathes, not the backslashes, i.e. c:/inetpub/data/
- DON'T try to start daemon through web-interface. Open command promt, go to your daemon-direcotry and start it: perl daemon_win.pl
- Daemon writes logging information into standard output, not to the daemon.log file.
</end "For WINDOWS users:"> ;)

ADMIN:
At the chat/admin (through browser again) you can modify user-rights. There are two levels now -- ordinary users and moderators (admins)
If the user has 'admin'-rights, he sees the special link in the navibar. And he can make alerts to the other users or BAN them (disconnect from chat for a selected time)


Comments? Suggestions? write me: vlad-v@users.sourceforge.net
