home *** CD-ROM | disk | FTP | other *** search
/ .net 2000 August / NET74.ISO / pc / Software / JavaApplet / PC / data1.cab / Program_Files / Applet / anfychat / manual.txt next >
Encoding:
Text File  |  1999-07-08  |  7.6 KB  |  161 lines

  1. ANFYCHAT Chat CLient setup instructions
  2. ===============================================================
  3.  
  4. For admin capabilites / chat hosting purchase, and
  5. for tech support email: anfychat@turbosite.com
  6.  
  7. Note: Load up the test.html page for a sample chat page.
  8. You need to be connected to the Internet for the chat to run.
  9.  
  10. 1.0    EMBEDDING ANFYCHAT APPLET FROM YOUR WEB PAGE
  11.  
  12. The minimum code to include for an ANFYCHAT web page is:
  13.  
  14. <applet MAYSCRIPT code="ChatClient.class"
  15. codebase="http://www.infochat.com/anfychat/" height="320" width="630">
  16. <PARAM NAME="archive" VALUE="fchaplet.jar">
  17. <PARAM NAME="cabbase" VALUE="fchaplet.cab">
  18. <PARAM NAME="archive" VALUE="fchaplet.zip">
  19. <PARAM NAME="language" VALUE="english">
  20. <PARAM NAME="wordfilter" VALUE="fuck;shit;asshole">
  21. <param name="group" value="AnfyChat">
  22. <param name="regcode" value="AnfyRegCode">
  23. <param name="topic" value="Get your Anfy applets now!">          
  24. <param name="topcolor" value="eeeeee">
  25. <param name="backcolor" value="eeeeee">
  26. <param name="fontstyle" value="1">
  27. <param name="listbackcolor" value="eeeeee">
  28. <param name="listtextcolor" value="61161B">
  29. <param name="backgroundcolor" value="eeeeee">
  30. <param name="bottomcolor" value="eeeeee">
  31. <param name="fontsize" value="11">
  32. <param name="bottomtextcolor" value="61161B">
  33. <param name="textcolor" value="61161B">
  34. <param name="fonttype" value="Tahoma">
  35. <param name="whispercolor" value="61161B">
  36. <param name="grouplist" value="grouplist.txt">
  37. <param name="news" value="news.txt">
  38. <param name="loginsnd" value="ring.au">
  39. <param name="beepersnd" value="beeper.au">
  40. <param name="poweredby" value="AnfyChat Applet">
  41. <param name="credits" value="Applet by Anfy Team (www.anfyteam.com)">
  42. </applet>
  43.  
  44.  
  45. 2.0    EXPLANATION FOR THE CHAT APPLET PARAMETERS 
  46.  
  47. Parameter        Values        Description
  48. ============================================================================================
  49. autologin        y/n        Should the chat automatically log in when the applet shows up?
  50. username        String        Default User name for auto login
  51. grouplist        File Name    Name of the group permission file
  52. language        String        The language for the user interface (english, french, italian, spanish, swedish, german)
  53. news            File Name    Name of the news definition file
  54. group            String        Default starting group
  55. room            String        Default starting room within the group
  56. autolift        y/n        If set to yes, the applet lifts itself when loaded
  57. permission        y/n        Does the user have room creation permission within the group?
  58. topic            String        Topic for the room
  59. port            Number        The chat server port for connection (default: 7218)
  60. fonttype        String        Font type (Dialog, CourierÖ)
  61. fontsize        Number        The size of the font
  62. fontstyle        Number        The style of the font (0: normal, 1: Italic Ö)
  63. textcolor        XXXXXX(Hex)    Text color of the chat output window
  64. backcolor        XXXXXX(Hex)    The background color for the chat output window
  65. whispercolor        XXXXXX(Hex)    The text color if in whisper mode
  66. listtextcolor        XXXXXX(Hex)    The user/room list color
  67. listbackcolor        XXXXXX(Hex)    The background color for the user/room list
  68. backgroundcolor        XXXXXX(Hex)    The background color for the applet
  69. bottomcolor        XXXXXX(Hex)    The background color for the bottom input box
  70. bottomtextcolor        XXXXXX(Hex)    The text color for the bottom input box
  71. insets            Number        Define how many pixels should be left for the border of the UI
  72. rightpanel        y/n        Should the panel for the Rooms list and Groups list
  73. bottompanel        y/n        same for the bottom input box
  74. welcomemsg        y/n        Should we display the welcome message?
  75. newsfont        String        The font for the news scroller
  76. newsbackcolor        XXXXXX(Hex)    The background color for the news scroller
  77. newsovercolor        XXXXXX(Hex)    The color of the text when the mouse goes over the news scroller
  78. newstextcolor        XXXXXX(Hex)    The text color of the news scroller
  79. backimg    File         Name        The background image file (not fully implemented yet)
  80. wordfilter        String        Words that should be filtered, separated by ";"
  81. onfail            URL        The URL of the page to load up if no connection can be made
  82. poweredby        String        Modify the Powered by message
  83.  
  84.  
  85. 2.1    Auto-login feature
  86. The chat client can be configured so the user logs into the chat server automatically when the chat page is loaded. This is done through the use of the "autologin"  and "username" parameters. This feature is particularly useful when the chat web page is generated on the fly by a CGI program that would have determined the chat user's profile, login permission etc using your custom login system.
  87.  
  88. 2.2    Disable user input
  89. When you need to offer only read access to your users, set the bottompanel parameter to "n".
  90.  
  91. 3.0    DEFINITION OF VISIBLE CHAT GROUPS FOR AN APPLET (Available to paid chat hosting users only)
  92.  
  93. Use the "grouplist" parameter to define the file that contains the chat groups you authorize your chat users to access from an applet. By default, the "GroupPermTest.txt" file is used. The format of the file is:
  94. groupName1`y`groupName2`y.. groupNameX`y
  95.  
  96. Replace y by n if you don't want users to be able to create temporary rooms
  97. (using "/join room") within the particular chat group. Be careful to use the ` sign and not the ' sign.
  98. Always end the definition line by `y or `n, but not by ` only .
  99.  
  100. The principal use of grouplist is to setup private chat rooms. It can also be usedto setup a moderated chat session for example.
  101.  
  102.  
  103. 4.0    DEFINITION OF SCROLLING CLICKABLE NEWS (Available to paid chat hosting users only)
  104. Use the "news" parameter to define the file that contains your scrolling clickable news. By default, the " news.txt" file is used. The syntax to define news items is:
  105.  
  106. start file:
  107. [headline] The news headline
  108. [url] http://www.thesite.com
  109. [target] target_window_name
  110. [days] 12345
  111. [times] 20:00-05:00
  112.  
  113. [headline] Hey pretty early this morning! Read some news maybe?
  114. [target] main
  115. [url] http://www.newsbyte.com
  116. [times] 05:00-09:00
  117.  
  118. ...
  119.  
  120. [headline] You should go back to sleep
  121. [url] http://www.back2sleep.com
  122. [target] target_window_name
  123. [days] 06
  124. [times] 05:00-10:00
  125. :end of file
  126.  
  127. Only the [headline] option is mandatory. All the other options can be omitted.
  128. The [days] parameter defines the weekdays during which the message should be displayed: 0 stands for Sunday, 1 for Monday etc. You need to separate each news message definition bloc with an empty line.
  129.  
  130.  
  131. 5.0    COMMANDS
  132.  
  133. 5.1    AVAILABLE USER COMMANDS
  134. Commands from the user interface:
  135. ∑ Whisper mode: click on an user name to whisper to this user.
  136. ∑ Public talking mode: click on All Users to talk to everyone.
  137. ∑ Go to another chat room: click on a room name to join the room.
  138. ∑ Go to another chat group: select a group in the groups list.
  139. ∑ Ignore an user: select his name, then click on ignore.
  140.  
  141.  The following are text based commands:
  142. ∑ /join room        -> create or join a chat room
  143. ∑ /away message    -> away msg shown if you get a page or whisper msg
  144. ∑ /nick newname    -> change your nick name to newname
  145. ∑ /p buddy msg    -> send a cross room page message to a buddy
  146. ∑ /me msg        -> action message showing the user nick first
  147. ∑ /admin passwd    -> request the administrative rights
  148.  
  149.  
  150.  5.2    AVAILABLE ADMIN COMMANDS (Available to paid chat hosting users only)
  151.  
  152.  Using the /admin command, the chat administrator gains administrative rights over the chat server. 
  153.  The following commands are only available to the chat users with administrative rights:
  154. ∑ /kick username    -> kick out the user with the nick username
  155. ∑ /kickall reason    -> kick all users out and display the reason
  156. ∑ /whois username    -> get detailed info on an user
  157. ∑ /ping username    -> ping the user to determine the connection status
  158. ∑ /b message        -> broadcast the message to all chat users of the group
  159. ∑ /setpass passwd    -> set the passwd as the join password of the chat group
  160.  
  161.