/* * MUCkl - A Web Based Groupchat Application * Copyright (C) 2004 Stefan Strigler * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ /* *** * This is the main configuration file for the chat client itself. * You have to edit this before you can start using MUCkl on your website! * *** */ /* BACKENDTYPE - the type of backend to be used * * Either 'polling' for HTTP Polling * Or 'binding' for HTTP Binding */ //var BACKENDTYPE = 'polling'; var BACKENDTYPE = 'binding'; /* HTTPBASE - base URI to contact HTTP Polling service * * This must be local to your web server which serves MUCkl. If * HTTP Polling service is not local to your web server you have to * define a rewrite rule which matches this address and redirects to * the real HTTP Polling URI. * * [refers to step 2 of installation instructions] */ //var HTTPBASE = "http-poll/"; var HTTPBASE = "http-bind/"; /* Login Data - the user to login * * [refers to step 3 of installation instructions] */ var XMPPDOMAIN = "jabberes.org"; // domain name of jabber service to be used var AUTHTYPE = 'anonymous'; //var AUTHHOST = "anon.localhost"; // hostname of sasl anonymous service //var AUTHTYPE = "saslanon"; // hostname of sasl anonymous //var ANONHOST = "muc-anon.jabberes.org"; // hostname of sasl anonymous service //var ANONHOST = "anonymous.zeank.darktech.org"; // hostname of sasl anonymous service var MUCKLJID = "muckl"; // username var MUCKLPASS = "muckl7591"; // password /* ROOMS * * Which chat room to join * * [refers to step 4 of installation instructions] */ var ROOMS = [ { name:'jabberes', description:'Sala principal del servidor. Ayuda a los nuevos usuarios.', server:'conf.jabberes.org', logo: './logo/jabberes.png', web_url: 'http://www.jabberes.org' }, { name:'elotrolado', description:'Sala para los foreros de elotrolado.net', server:'conf.jabberes.org', emoticons: './roomstyles/elotrolado/emoticons/emoticons.js', logo: './logo/logo-eol.png', web_url: 'http://www.elotrolado.net', stylesheet: './roomstyles/elotrolado/muckl-eol.css' }, { name:'hispamp3', description:'Sala para los foreros de hispamp3.com', server:'conf.jabberes.org', web_url: 'http://www.hispamp3.com', logo: './logo/hispamp3.png' }, { name:'linux', description:'Sala para los linuxeros', server:'conf.jabberes.org', logo: './logo/150px-Tux.svg.png' }, { name:'latinos', description:'', server:'conf.jabberes.org'/*, web_url: 'http://www.cocodod.com', logo: './logo/cocodod.gif', stylesheet:'./roomstyles/cocodod/muckl.css'*/ }, { name:'python', description:'Canal de discusiĆ³n sobre el lenguaje Python', server:'conf.jabberes.org', web_url: 'http://www.python.org', logo: './logo/python-logo.gif'/*, stylesheet:'./roomstyles/cocodod/muckl.css'*/ }, { name:'linuxerosonline', description:'', server:'conf.jabberes.org', // web_url: 'http://www.republicaubuntu.org.do/', logo: './logo/linuxerosonline.png'//, // stylesheet:'./roomstyles/republicaubuntu/muckl-republicaubuntu.css' }, { name:'archlinux-es', description:'Sala en español sobre Arch Linux', server:'conf.jabberes.org'//, // web_url: 'http://www.republicaubuntu.org.do/', // logo: './roomstyles/republicaubuntu/republicaubuntu-trans.gif', // stylesheet:'./roomstyles/republicaubuntu/muckl-republicaubuntu.css' }, { name:'mandriva', description:'', server:'conf.jabberes.org',/* emoticons: './roomstyles/elotrolado/emoticons/emoticons.js',*/ logo: './roomstyles/mandriva/mandriva-logo.jpg'/*, stylesheet:'./roomstyles/tagorianos/muckl.css'*/ }, { name:'forosuse', description:'sala para usuarios de forosuse', server:'conf.jabberes.org', logo: './logo/forosuse.png', // (optional) if you want to have a logo displayed with this chat stylesheet: 'roomstyles/forosuse/muckl.css' // (optional) if you want to have a custom stylesheet with this chat }, { name:'05329909f3333e873539725d0924e7995b61b348', description:'La gente del Feeling', server:'conf.jabberes.org' }, { name:'8c886d0d8efebda3978660b44e901be4c0ed90a6', description:'', server:'conf.jabberes.org' }, { name:'almacen', description:'almacen', server:'conf.jabberes.org' }, { name:'asir2', description:'asir2', server:'conf.jabberes.org' }, { name:'aulamanga', description:'Aula Manga UdG', server:'conf.jabberes.org' }, { name:'cajeras', description:'Cajeras', server:'conf.jabberes.org' }, { name:'camaras', description:'camaras', server:'conf.jabberes.org' }, { name:'carbon', description:'carbon', server:'conf.jabberes.org' }, { name:'catala', description:'', server:'conf.jabberes.org' }, { name:'comunidadhispana', description:'Comunidad Hispana de Usuarios de disroot.org', server:'conf.jabberes.org' }, { name:'confer', description:'De Todo Un Poco', server:'conf.jabberes.org' }, { name:'debian', description:'Debian GNU/Linux', server:'conf.jabberes.org' }, { name:'degustacion', description:'degustacion', server:'conf.jabberes.org' }, { name:'existenciasalmacen', description:'existenciasalmacen', server:'conf.jabberes.org' }, { name:'f1', description:'', server:'conf.jabberes.org' }, { name:'familia', description:'familia', server:'conf.jabberes.org' }, { name:'forocoches', description:'', server:'conf.jabberes.org' }, { name:'fumigacion', description:'fumigacion', server:'conf.jabberes.org' }, { name:'gastosycompras', description:'gastosycompras', server:'conf.jabberes.org' }, { name:'gueemees', description:'gueemees', server:'conf.jabberes.org' }, { name:'hcistorico', description:'hcistorico', server:'conf.jabberes.org' }, { name:'help', description:'help', server:'conf.jabberes.org' }, { name:'hh5yc7795jm7,9999', description:'hh5yc7795jm7,9999', server:'conf.jabberes.org' }, { name:'hisix2', description:'hisix2', server:'conf.jabberes.org' }, { name:'inf100', description:'', server:'conf.jabberes.org' }, { name:'inf496', description:'', server:'conf.jabberes.org' }, { name:'jeff', description:'PentSec JabberStom Bot', server:'conf.jabberes.org' }, { name:'mageia', description:'Mageia GNU/Linux', server:'conf.jabberes.org' }, { name:'mantenimiento', description:'mantenimiento', server:'conf.jabberes.org' }, { name:'marronacos', description:'Marronacos', server:'conf.jabberes.org' }, { name:'noticies', description:'noticies', server:'conf.jabberes.org' }, { name:'offtopic', description:'Bienvenidos a la sala Offtopic', server:'conf.jabberes.org' }, { name:'pedidos', description:'pedidos', server:'conf.jabberes.org' }, { name:'personalnuevo', description:'personalnuevo', server:'conf.jabberes.org' }, { name:'pirateking', description:'Pirateking - Noticias de One Piece', server:'conf.jabberes.org' }, { name:'private', description:'Escrow CC 4.0', server:'conf.jabberes.org' }, { name:'programacion', description:'Programacion', server:'conf.jabberes.org' }, { name:'proveedorpf', description:'proveedorpf', server:'conf.jabberes.org' }, { name:'publicidad', description:'publicidad', server:'conf.jabberes.org' }, { name:'reptecnicos', description:'reptecnicos', server:'conf.jabberes.org' }, { name:'ruby', description:'welcome', server:'conf.jabberes.org' }, { name:'s-portales', description:'s-portales', server:'conf.jabberes.org' }, { name:'shineballs', description:'', server:'conf.jabberes.org' }, { name:'shl', description:'Security Hack Labs', server:'conf.jabberes.org' }, { name:'sistemaspf', description:'sistemaspf', server:'conf.jabberes.org' }, { name:'supervisoras', description:'supervisoras', server:'conf.jabberes.org' }, { name:'tejiendo', description:'Tejiendo', server:'conf.jabberes.org' }, { name:'temasoficina', description:'temasoficina', server:'conf.jabberes.org' }, { name:'verdura', description:'verdura', server:'conf.jabberes.org' }, { name:'viendotv', description:'Sala para hablar d elo que se esta viendo en la TV', server:'conf.jabberes.org' } ]; /* CONFERENCENOHIST * whether to not show room history upon joining */ var CONFERENCENOHIST = false /*true*/; /* DEFAULT_LOCK_MINS * time a user is being locked out if not otherwise indicated by kick reason */ var DEFAULT_LOCK_MINS = 2; /* MAX_LOCK_MINS * maximum allowed number of minutes a user may be locked out by kick reason * on ban this is used as default value */ var MAX_LOCK_MINS = 60; /* *** * some internally used vars - don't change except you really know * what you are doing * *** */ var timerval = 2000; // poll frequency in msec var stylesheet = "muckl.css"; var THEMESDIR = "themes"; /* debugging options */ var DEBUG = false; // turn debugging on var DEBUG_LVL = 4; // debug-level 0..4 (4 = very noisy) /* ** Don't touch ** */ var VERSION = "0.4.3";