Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- require_once('../SSI.php');
- global $context;
- /*if ($context['user']['is_guest']) {*/
- if ($context["user"]["id"]<1) {
- $userchatname = 'chatz-Guest_' . rand(1,10000);
- } else {
- $userchatname = $context['user']['name'];
- }
- $userchatname = str_replace(" ","_",$userchatname);
- $userchatname = str_replace(".","_",$userchatname);
- ?>
- //config.js file below//
- var params = {};
- /* Change these parameters */
- params.host = "irc.trifecta-chat.net";
- params.port = 6667;
- params.policyPort = 3843;
- params.host = "irc.trifecta-chat.net";
- params.accessKey = "";
- params.rtmfp = "rtmfp://p2p.rtmfp.net/5aca807e96d887f8316d8eae-82c441b30f7b";
- params.webcam = true;
- /* Language for the user interface. Currently available translations: ar, bd, bg, br, cz, da, de, el, en, es, et, fi, fr, hu, hr, id, it, ja, nl, pl, pt, ro, ru, sl, sq, sr_cyr, sr_lat, sv, th, tr, uk */
- params.language = "en";
- /* Relative or absolute URL to a lightIRC CSS file.
- * The use of styles only works when you upload lightIRC to your webspace.
- * Example: css/lightblue.css
- */
- params.styleURL = "css/";
- /* Nick to be used. A % character will be replaced by a random number */
- params.nick = "<?php echo $userchatname; ?>";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement