CooCoo Pro (1.00)



Demo of CooCoo Pro:

CooCoo Pro is an Chat System (Java Applet).
Key features include: 

  A. Easy Chat -  for most personal pages

          CooCoo Pro does not require a program
          running in background(daemon) in the server(Most ISPs
          do not allow their users run such a background
          program).  This means CooCoo Pro can be installed
          on any personal home page where CGI and Perl 
          are supported.

  B. Call-to-Chat - Call the person to chat

         CooCoo Pro comes with a Call Center where you can "call"
         people who are not currently in CooCoo's chatroom.
         After placing a "chat call", you can switch to other
         applications (you can also icon your CooCoo Pro. Move
         the browser to other pages? No problem! CooCoo will
         live until you shut down the browser.) and CooCoo will
         prompt you when the person you called logs in to CooCoo Pro. 
       
  C. Easy administration

        CooCoo Pro comes with a built-in administration panel for administrators
        to manage their chat system. Functions include clear chat logs, clear
        chat rooms, even kicking out a non-welcome user.
  
  D. No firewall problem

         CooCoo Pro's users will not be blocked by
         firewalls since the communication is
         done with https.          


  E. Easy advertising banner with sound

         CooCoo Pro displays an advertisement banner in a HTML
         style. Ad images are fetched from the server periodically
         in a random or specified order. It is "easy" because
         it is not neccessary for the resource (image and sound files) 
         to reside in your site. Only thing you need to provide
         is their URLs.  This is great for most of personal sites
         since it make CooCoo Pro's ad is affordable to these sites with
         limited bandwidth(MB/Day): the images and sound can be 
         fetched from other's site instead of yous!

         Another great feature of HTML style is that gif anmation
         is supported in the ad banner.

         In additional, a sound file (any sound format support by
         your browser) can be easily attached to an ad image.

  F. Smart news

         CooCoo Pro starts displaying news line by line automatically 
         if there is no chat activity for a specified period.
         The news will be stoped as soon as people start chating.
         This feature can be turn off from CooCoo Pro but users.

         Maintenace of these text files is easy: just place all the
         news text files in a specified directory and
         CooCoo Pro will pick up one at a time randomly.

  G. Smart sleeping capability

         Bandwidth and CPU usage are limited in
         most personal pages.  To reduce their
         usage, CooCoo Pro comes with a sleep
         function: CooCoo Pro will sleep if there
         is no user activity after a specified
         period.  That is, CooCoo Pro will not
         update info such as chat log, news,
         ad, and so on untill users do something
         like moving their mouse.


  Easy installation

        CooCoo Pro provides a browser base installation. Only thing you need to
        do is to make sure the coopro.cgi is setup correctly and coopro.cgi will
        take care the rest.

The Adware version is FREE. A major difference between an Adware version and a registered shareware version is that an ad button whcih allows users to jump to author's site is included.

Installation Instructions:

0). Download the latested CooCoo Pro at (note: the version you have may be out of date.) http://www.coolshare.com/html/app_cp.htm 1). Unzip coopro.zip to, say c:\temp you will get following files c:\temp\file_id.diz c:\temp\Readme.txt c:\temp\coopro.jar c:\temp\coopro.cgi c:\temp\app_cp.htm c:\temp\coopro.htm c:\temp\coopro1.htm c:\temp\coopro2.htm c:\temp\sound22.au c:\temp\sound25.au c:\temp\laugh.au 2). Upload files on to your server (you may want to test CooCoo pro in a FREE site. See deatils under "An easy way to try CooCoo Pro" below), say your site is http://www.my-site.com/ your html document directory is http://www.my-site.com/html your sound directory is http://www.my-site.com/html/sound your cgi directory is http://www.my-site.com/cgi-local your Java class directory is http://www.my-site.com/html/classes Note: in your server, you actually have the real directory name like "/home/users/my-site/httpdoc". "http://www.my-site.com" is actually a mapping to it. To make it easy to describe, I use "http://www.my-site.com/..." instead of "/home/users/my-site/httpdoc/..." You need to upload following files to your server as following http://www.my-site.com/html/app_cp.htm http://www.my-site.com/html/coopro.htm http://www.my-site.com/html/coopro1.htm http://www.my-site.com/html/coopro2.htm http://www.my-site.com/html/sound/sound22.au http://www.my-site.com/html/sound/sound25.au http://www.my-site.com/html/sound/laugh.au http://www.my-site.com/html/classes/coopro.jar http://www.my-site.com/cgi-local/coopro.cgi 3). Setup coopro.cgi as a regular cgi. If you are not farmilar with installing a CGI script, please read CGI Script Installation Tutorial to learn. Make sure CGI and Perl are enabled at http://www.my-site.com/cgi-local/ Then, make sure http://www.my-site.com/cgi-local/ is readable and executable (750). Next, set access attribute of coocoo.cgi to readable and executable(750). To make sure that the coopro.cgi work, open your browser and type http://www.my-site.com/cgi-local/coopro.cgi in the "address" or "netsite" entry field of the browser. If you see the "CooCoo Pro Setup" screen, it means that the coopro.cgi is set up correctly. 4). Setup directory structure. open your browser and type http://www.my-site.com/cgi-local/coopro.cgi in the "address" or "netsite" entry field of the browser. If the coopro.cgi is setup correctly, you will see the "CooCoo Pro Setup" screen. You will be required to enter the user name and password for the owner in order to create or clear CooCoo Pro environment. Select "Create environment" and click at "Submit". You should see the successful message then. You can also clear the environment you create from the same page. 5). Modify coopro1.htm You need to change all the parameters of the applet in coopro1.htm to match your site. That is, change all the http://www.coolshare.com/html/ to http://www.my-site.com/html/ http://www.coolshare.com/html/classes to http://www.my-site.com/html/classes http://www.coolshare.com/html/sound/ to http://www.my-site.com/html/sound/ http://www.coolshare.com/cgi-local/ to http://www.my-site.com/cgi-local/ That is!! 6). Test CooCoo Pro. Open your browser and type http://www.my-site.com/html/app_cp.htm in the "address/netsite" entry field of the browser. Then, click at Enter button "CooCoo Pro" and you should see the screen of CooCoo Pro. Good luck!! Please email us at ok@coolshare.com if you have any question or suggestion.

An easy way to try CooCoo Pro:

You can try CooCoo Pro in any Free web site hosting sites with cgi supported such as - Virtualave.net Here is an example.

Parameters:

You can add following parameter to the applet tag to customize CooCoo Pro. cgibase - The URL where coocoo.cgi resides. adperiod - determent the frequency of updating ad banner. Default is 9. callerperiod - determent the frequency of checking calls. Default is 50. userlistperiod - determent the frequency of updating user list. Default is 15. clearuserperiod - period to clear the user list. It is neccessary to clear user list because some users may be disconnected before they log off. CooCoo need to clear user list periodatically. Note: if you set clearuserperiod < userlistperiod you will clear all the login users too. So DON"T set clearuserperiod < userlistperiod !! Default is 100. roomlistperiod - Similar to userlistperiod except it is for room list. Default is 15. clearroomperiod - Similar to clearuserperiod except it is for room list. Default is 200. maxRoom - Maximum number of rooms. passwordfile - specify the file where passwords are stored. Default is "password". ownertips - content of tooltips on Call Site Owner button callcentertips - content of tooltips on Call Center button nonmemberbutt - label of button for non-member log on. Default is "Non-member log on". memberbutt - label of button for member log on. Default is "Member log on". memberon - show member log on button if 1. Hide the button if 0. Default is 1. nonmemberon - show non-member log on button if 1. Hide the button if 0. Default is 1. loginmsg - the message appear at the bottom of the log on screen. It can be a HTML text. Default is "<h3>Please enter a nick name and click at a connect button.</h3>You can test member log on with following password: <br><b>guest</b>" Note: This message is not the one displayed initially in the lower part of CooCoo's screen. The initial message is displayed in coo2.htm. logintitle - the title text displayed in log in screen. Defualt is "CooCoo Chat". fgcolor - foreground color of CooCoo. It accept HTML color format such as "FFFFFF" for white and "000000" for black. Default is black. bgcolor - background color of CooCoo. Default is light gray. refreshperiod - determent the frequency of updating chat log. Default is 5. newsperiod - determent the frequency of posting news. Default is 50. newswait - determent how long the period from no chating activity to launching news.Default is 100. newsState - determent the initial state of the News Check Box. 1 - checked 0 - unchecked Default is 1. newson - determent if the News Check Box is accessable. 1 - enabled 0 - disabled Default is 1. Note: the check box will disappear if newDir is ignore. owneremail - Owner's email. Ignore this field if you don't want to have to Call Owner button. If this parameter is ignore CooCoo won't send email notice. waitsleep - the period CooCoo will sleep if no uesr action. Default is 50. newswait - determent how long the period from no chating activity to launching news. Default is 100. imageInfo - name of the file where ad info is stored Default is "image_info". showSleeper - CooCoo will update user list while sleeping if set to 1. Otherwise not update user list - this will cause sleeping users disappear from the user list but save some CUP time and bandwidth in your server. Default is 1. datadir - Name of sub directory where data files reside. Since some ISPs don't allow the CGI directory to be set to writable. So it is recommended that you better create a sub directory right under your CGI directory where coocoo.cgi resides. (If you set datadir to "" or ignore it, the data files will be written in your CGI directory). imagedir - a sub directory(includ the related path if it does not reside directly under cgibase) under cgibase to contain ad images and the file specifed by m_imageInfo Ignore it if you don't want ad. newsdir - a sub directory(includ the related path if it does not reside directly under cgibase) under cgibase to contain text files which contains news text. Ignore it if you don't want news. sleepupmax - the period which CooCoo will update screen right after it is waken up if it sleep longer than sleepupmax. Default is 300. soundstate - Sound for ad if 1 and sound for chat if 2. No sound if 0. Default is 2. adwidth - width of ad banner. Default is 550. adheight - height of ad banner. Default is 300. maxchatline - maximum number of line in chat log file. if the nummber of line in chat log file exceeds maxchatline, CooCoo will clear chat log file. Default is 100. button1 - Specify the first "customized chat button" button2 - Specify the 2nd "customized chat button" ... buttonn - Specify the Nnd "customized chat button" More details about "customized chat button": CooCoo allow its own customize five buttons in "Click here" section under the chat window. There are three fields in value of button1 through buttonN separated by delimitor "^#^": 1). button label 2). text to be post to chat log 3). sound when post Example: <param name=button1 value="Hello^#^Hello, folks!^#^sound/SOUND22.AU"> The "customized chat button" above has "Hello" as its button label, "Hello, folks!" as posted test, and "sound/SOUND22.AU" as posted sound.