ログイン  |  新規登録
 
ログイン
ユーザ名:

パスワード:



パスワード紛失

メニュー
トップ  >  ZooChat初期設置解説(@nifty版)

ZooChat初期設置解説(@nifty版)v5.32


1.プログラムの入手

  • 以下の書庫ファイルをダウンロードします。

    ZooChat(Ver5.32)[99/12/06公開 西暦2000年対応]

  • ダウンロードできたら解凍しましょう。以下のファイルが展開されます。
    chat_awho.cgi
    chat_end.cgi
    chat_env.cgi
    chat_in.cgi
    chat_pro.cgi
    chat_start.cgi
    chat_top.cgi
    chat_wait.cgi
    chat_who.cgi
    room_call.cgi
    room_delete.cgi
    room_mnt.cgi
    room_move.cgi
    zchat_admin.cgi
    zchat_icnv.cgi
    zchat_instart.cgi
    chat_lib.pl
    jcode.pl
    ring.au
    index.html
    zoohelp.html
    chati001.txt
    chati002.txt
    chati003.txt
    chati004.txt
    room001.txt
    room002.txt
    room003.txt
    room004.txt
    roommember001.txt
    roommember002.txt
    roommember003.txt
    roommember004.txt
    animal001.gif
    animal002.gif
    animal003.gif
    animal004.gif
     

2.プログラムの修正

  • "homepage"ディレクトリの下に"zoo"ディレクトリを作成し、*.html, *.gif, *.auのファイルを格納します。既存の"cgi-bin"ディレクトリの下に"zoo"ディレクトリを作成し、*.cgi, *.pl, *.txtのファイルを格納します。全体のディレクトリ構成とファイルの配置例は以下のとおりです。(かっこ内はパーミッション)

    (FTPでのホームディレクトリ)
       |
       +--- cgi-bin / zoo /   *.cgi   [755]
       |            *.pl    [755]
       |                *.txt   [666]
       |
       +--- homepage / zoo /   *.html
                                *.gif
                        ring.au
    
  • 各cgiファイル(拡張子がcgiのもの)の先頭行は以下のとおりです。

    ■1行目
     変更前:#!/usr/bin/perl

     変更後:#!/usr/local/bin/perl

  • chat_env.cgiの修正箇所(先頭行以外)
    下記の「homepage?」、「hpcgi?」の?の部分、及び「あなたのID」は@niftyとの契約内容に準じて置き換えてください。

    ■10行目
     変更前:$password = 'pass';

     (管理用のパスワードを英数字で変更修正します)

    ■13行目
     変更前:$fbase = '';

     変更後:$fbase = './';

    ■14行目
     変更前:$sbase = '';

     変更後:$sbase = './';

    ■15行目
     変更前:$gbase = '';

     変更後:$gbase = 'http://homepage?.nifty.com/あなたのID/zoo/';

    ■16行目
     変更前:$abase = '';

     変更後:$abese = 'http://homepage?.nifty.com/あなたのID/zoo/';

    ■20行目
     変更前:$url1 = 'http://zoochat.system.to/';

     変更後:$url1 = 'http://homepage?.nifty.com/あなたのID/';

    ■23行目
     変更前:$url2 = "http://zoochat.system.to/test2/chat_top.cgi";

     変更後:$url2 = "http://hpcgi?.nifty.com/あなたのID/zoo/chat_top.cgi";

    ■26行目
     変更前:$rurl1 = 'http://zoochat.system.to/test2/chat_start.cgi';

     変更後:$rurl1 = 'http://hpcgi?.nifty.com/あなたのID/zoo/chat_start.cgi';

    ■28行目
     変更前:$rurl2 = 'http://zoochat.system.to/test2/chat_wait.cgi';

     変更後:$rurl2 = 'http://hpcgi?.nifty.com/あなたのID/zoo/chat_wait.cgi';

  • chat_top.cgiの修正個所

    ■49行目
     変更前:<LI>ご利用方法は<A HREF="zoohelp.html">こちら</A>です。

     変更後:<LI>ご利用方法は<A HREF="http://homepage?.nifty.com/あなたのID/zoo/zoohelp.html">こちら</A>です。

  • chat_start.cgiの修正個所

    ■249行目、431行目
     変更前:<LI><A HREF="zoohelp.html" TARGET=_blank>HELP</A><BR>

     変更後:<LI><A HREF="http://homepage?.nifty.com/あなたのID/zoo/zoohelp.html" TARGET=_blank>HELP</A><BR>

  • index.htmlの修正箇所
    下記の「hpcgi?」の?の部分、及び「あなたのID」は@niftyとの契約内容に準じて置き換えてください。

    ■3行目
     変更前:<FRAME SRC="./chat_top.cgi">

     変更後:<FRAME SRC="http://hpcgi?.nifty.com/あなたのID/zoo/chat_top.cgi">

  • 以上、修正が完了したら、*.cgi, *.txt, *.html, *.plを「テキストモード」で、*.gif, ring.auを「バイナリーモード」で、各ディレクトリへFTP転送したのち、以下の通りパーミッションを設定して下さい。

    *.cgi755
    *.pl755
    *.txt666

  • 最初にリンクするファイルは、http://hpcgi?.nifty.com/あなたのID/zoo/chat_top.cgi
    または、http://homepage?.nifty.com/あなたのID/zoo/index.htmlです。

3.おまけキットの導入方法

  • 以下に各おまけキットの導入方法を記載します。

    在室状況の画像表示キット
    あいこん画像貼り付けキット
    発言ランキング表示キット
    参加者プロフィール登録&紹介キット[Update 2000/04/19]
    伝言投函キット[Update 2000/04/19]
    ■メール送信キット (@niftyでは、sendmailが使えないため、導入不可)
    参加履歴一覧表示キット
    部屋動作モード一覧表示キット
    待ち合わせ掲示板キット
    発言辞書変換キット[Update 2000/04/19]
    在室者表示キット
    ■ICQ連携キット (導入不可のようです)
    おみくじキット
    スロットマシンキット

4.サンプル

  • 動作サンプル「バージョン5.31」
    (日付表示、ランキング表示などに少々の改造を入れています(^^;;)


プリンタ用画面
友達に伝える
カテゴリートップ
ZooChat初期設置解説(@nifty版)
次
在室状況の画像表示キット(@nifty版)