Want to have a Java Chat implemented for one of our channels? Thats possible with just a little effort. All you need to do is copy & paste the following line of code:
Make sure you replace channel with the name of the channel without the leading #. For example '#ScaryNet' becomes 'ScaryNet'. Enjoy !.
Another way of adding a chat to your site (especially usefull if you want to use the realname/quitmsg fields is to use html forms. Here is an example of such a form:
As you see in the form this uses chat.php, not jchat.php. Also you specify the target of the frame in the <form> tag. NOTE: This breaks validation on XHTML 1.0 Strict and higher. Please take all this into account !
Other options you can add to this:
We now can also offer HTML chat access using the powers of CGI:IRC. For that facility you can use the following code:
Make sure you replace channel with the name of the channel without the leading #. For example '#ScaryNet' becomes 'ScaryNet'. Enjoy !.
Like with the JAVA chat version the HTML version can also be used on your site using the form method. Here is an example:
The html chat uses a different script to execute and requires an extra line containing javascript code to set certain options which get passed to the cgi. (Do NOT remove the "Character set" and "interface" option ! Leave those like they are in the example !!!). Another thing is that instead of language the HTML option uses the option name "Format" in case you want to select a language.
Other options you can add to this:
ScaryNet is looking for translators willing to make translations of these packages available that are currently not yet supported in order to be able to provide the best of support to our visitors.
As reference, you can download the english versions of the language pack.
Please edit this file using a file-editor that is able to take linux text files into account. (Wordpad on windows for example or any text editor on linux).
Send the finished translation (e.g. only the files you DID translate) to : translations. It would be nice if you could rename the files to your language name. Saves me time as well :)
ScaryNet also offers custom colors to be used for the HTML chats. This is controlled by a single CSS file. In order to be able to customize the html chat for your purposes download the CSS file here (right-click & save as). The CSS file should be selfexplaining.
When you have finished editing the CSS file, please mail it to : customize. Please rename the file to style-<yourchannelname>.css and specify the language you want to use for your chat so we can set it up for you.