kullanıcıları. Bu işe yani başlamış ve bu işi benimsemiş kişilere hazır kurulum kodunu veriyorum.
root login oluyoruz.
yada aşağıdaki kodları yapıştırın.
Kodları yapıştırdıktan sonra yada wgetle çektikten sonra yapacagımız komut.
Böylelikle size otomatikman lightİRC flash client apletinizi websitenize kurmuş olucak.
#!/bin/sh
# Muzaffer Güler(galaxyshell.com) tarafindan yazilmistir.
cd
cd public_html
wget -q http://www.galaxyshell.com/yenidepo/lightirc.tar.gz
tar zxvf lightirc.tar.gz
rm -rf lightirc.tar.gz
INDEX="lightirc/index.html"
INDEX2="index.html"
CONF="lightirc/config.js"
PORT="6607"
RPORT"6601"
DOMAIN="galaxyshell.com"
IPS="188.40.251.125"
IDENT="SevdaSohbet"
clear
echo "------- unrealircd.conf olusturma scripti: ------------"
echo ""
echo ""
echo "Domain Adi?"
echo $n "[$DOMAIN] -> $c"
read cc
if [ ! -z $cc ]; then
DOMAIN="$cc"
fi
echo ""
echo "IP Adresi?"
echo $n "[$IPS] -> $c"
read cc
if [ ! -z $cc ]; then
IPS="$cc"
fi
echo ""
echo "lightIRC Port?"
echo $n "[$PORT] -> $c"
read cc
if [ ! -z $cc ]; then
PORT="$cc"
fi
echo ""
echo "Radyo Port?"
echo $n "[$RPORT] -> $c"
read cc
if [ ! -z $cc ]; then
RPORT="$cc"
fi
echo ""
echo "IDENT?"
echo $n "[$IDENT] -> $c"
read cc
if [ ! -z $cc ]; then
IDENT="$cc"
fi
cat > $CONF << __EOF__
/*
* # Telnet[s]Coder = Muzaffer GÜLER
* #
* # lightİRC designed = GalaxyShell İnternet Hizmetleri
* #
* # Email & Skype : info[MENTION=126662]Galaxyshell[/MENTION].com
* #
* # IRC Destek icin : irc.galaxyshell.com
* #
* #
* #
* ########## lıghtIRC Info #######################################
/*
* lightIRC designed
* [url=http://www.galaxyshell.com]Ana sayfa - GalaxyShell İnternet Hizmetleri[/url]
*
* You can add or change these parameters to customize lightIRC.
* Please see the full parameters list at [url=http://redmine.lightirc.com/projects/lightirc/wiki/Customization_parameters]Customization parameters - lightIRC - lightIRC Bugtracker[/url]
*
*/
var params = {};
/* Change these parameters */params.host = "$IPS";
params.port = $PORT;
params.policyPort = 9989;
/* Language for the user interface. Currently available translations: bd, bg, br, cz, da, de, el, en, es, et, fr, hu, it, ja, nl, pl, ro, ru, sl, sq, sr_cyr, sr_lat, sv, th, tr, uk */
params.language = "tr";
/* 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/green.css";
/* Nick to be used. A % character will be replaced by a random number */
params.nick = "";
params.ident = "$IDENT";
params.realname = "$DOMAIN";
/* Channel to be joined after connecting. Multiple channels can be added like this: #Sohbet */
params.autojoin = "";
/* Commands to be executed after connecting. E.g.: /mode %nick% +x */
params.perform = "";
params.defaultBanmask = "*!*@%host%"
params.identifyPassword = "";
params.identifyMessage = "Bu nick kayıtlı ve korumalıdır"
params.identifyCommand = "/msg NickServ identify %pass%"
/* Whether the server window (and button) should be shown */
params.showServerWindow = true;
params.showNickSelection = true;
params.showIdentifySelection = true;
/* Show button to register a nickname */
params.showRegisterNicknameButton = true;
/* Show button to register a channel */
params.showRegisterChannelButton = true;
/* Position of the navigation container (where channel and query buttons appear). Valid values: left, right, top, bottom */
params.navigationPosition = "right";
/* See more parameters at [url=http://redmine.lightirc.com/projects/lightirc/wiki/Customization_parameters]Customization parameters - lightIRC - lightIRC Bugtracker[/url] */
params.charset = "utf8_unicode_ci";
params.autoReconnect = false;
params.showEmoticonsButton = true;
params.showRichTextControls = true;
params.showTranslationButton = true;
params.showMenuButton = true;
params.showJoinPartMessages = true;
params.showTimestamps = false;
params.showInfoMessages = true;
params.showChannelHeader = true;
params.fontSize = "13";
params.showJoinChannelButton = true;
params.showListButton = true;
params.showPartChannelButton = true;
params.showNewQueriesInBackground = true;
params.userListWidth = 130;
params.showChannelCentralButton = true;
params.rememberNickname = false;
params.useUserListIcons = true;
params.showNickPrefixes = true;
params.userListCustomFormatting = "mode=o:userListOperator,mode=v:userListVoice,mode=h:userListHalfop";
/* Use this method to send a command to lightIRC with JavaScript */
function sendCommand(command) {
swfobject.getObjectById('lightIRC').sendCommand(command);
}
/* Use this method to send a message to the active chatwindow */
function sendMessageToActiveWindow(message) {
swfobject.getObjectById('lightIRC').sendMessageToActiveWindow(message);
}
/* Use this method to set a random text input content in the active window */
function setTextInputContent(content) {
swfobject.getObjectById('lightIRC').setTextInputContent(content);
}
/* This method gets called if you click on a nick in the chat area */
function onChatAreaClick(nick, ident, realname) {
//alert("onChatAreaClick: "+nick);
}
/* This method gets called if you use the parameter contextMenuExternalEvent */
function onContextMenuSelect(type, nick, ident, realname) {
alert("onContextMenuSelect: "+nick+" for type "+type);
}
/* This method gets called if you use the parameter loopServerCommands */
function onServerCommand(command) {
return command;
}
window.onbeforeunload = function() {
swfobject.getObjectById('lightIRC').sendQuit();
}
/* This loop escapes % signs in parameters. You should not change it */
for(var key in params) {
params[key] = params[key].toString().replace(/%/g, "%25");
}
function OzelKapat(type, nick, ident, realname, channel, host) {
if(type == "Ozel Mesaj Kapat") {
var nick = prompt("Ozeli Kapatmak Icin Sadece Tamama Tikla.", "");
if(nick != null) {
sendCommand("/silence +");
}
}
}
function OzelAc(type, nick, ident, realname, channel, host) {
if(type == "Ozel Mesaj Ac") {
var nick = prompt("Ozeli Acmak Icin Sadece Tamama Tikla.", "");
if(nick != null) {
sendCommand("/silence -");
}
}
}
function YardimKanali(type, nick, ident, realname, channel, host) {
if(type == "Yardim Kanalina Gir") {
var nick = prompt("Yardim Kanalina Girmek icin Tamama Tikla.", "");
if(nick != null) {
sendCommand("/join #Help");
}
}
}
__EOF__
cat > $INDEX << __EOF__
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta name="google-site-verification" content="kiGMahFx9M0tg2Un1gdebLesClS9mOVZO9J-JC9uPas" />
<meta name="msvalidate.01" content="EE584277169CCAF88591F5B3AE248F91" />
<meta name='yandex-verification' content='5452bb8140a3e9d3' />
<meta http-equiv="Content-Type" content="text/html; charset=utf8" />
<meta name="language" content="de" />
<meta name="author" content="Valentin Manthei - lightIRC.com" />
<title>GalaxyShell İnternet Hizmetleri / Free Flash IRC Client</title>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"></script>
<script type="text/javascript" src="config.js"></script>
<style type="text/css">
html { height: 100%; overflow: hidden; }
body { height:100%; margin:0; padding:0; background-color:#999; }
</style>
</head>
<body>
<div id="lightIRC" style="height:100%; text-align:center;">
<p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>
</div>
<script type="text/javascript">
swfobject.embedSWF("lightIRC.swf", "lightIRC", "100%", "93%", "10.0.0", "expressInstall.swf", params);
</script>
<center><button onclick="OzelKapat('Ozel Mesaj Kapat')">Ozel Mesaj Kapat</button> <button onclick="OzelAc('Ozel Mesaj Ac')">Ozel Mesaj Ac</button> <button onclick="YardimKanali('Yardim Kanalina Gir')">Yardim Kanalina Gir</button><a href="https://www.galaxyshell.com" rel="nofollow" target="_blank">www.galaxyshell.com<a></center>
</script>
<div id="container"><script type="text/javascript" src="swfobject.js"></script>
<script type='text/javascript'>
var s1 = new SWFObject('player.swf',
'player',"100%","19","0","#FFFFFF");
s1.addParam('allowfullscreen','true');
s1.addParam('allowscriptaccess','always')
s1.addParam("flashvars","skin=http://www.$DOMAIN/sohbet/skin-name.swf&title=trangaja&type=sound&file=http://www.$DOMAIN:$RPORT/;&13202692901&duration=99999&id=scplayer&autostart=true");
s1.write("container");
</script></center>
</body>
</html>
__EOF__
cat > $INDEX2 << __EOF__
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
<title> $DOMAIN - Sohbet, Chat , Muhabbet </title>
<style type="text/css" media="screen">
html, body { position: absolute; height: 100%; max-height: 100%; width: 100%; margin: 0; padding: 0; } iframe { position: absolute; height: 100%; width: 100%; border: none; } #container { position: absolute; top: 0px; /* Change with Height of #header */ bottom: 0; width: 100%; overflow: hidden ; } #header { position: absolute; top: 0px; height: 50px; /* Change with top of #container */ color: #eee; background-color: black; width: 100%; }
</style>
</head>
<body>
<div id="header"></div>
<div id="container"> <iframe src="http://$DOMAIN/lightirc"></iframe> </div>
</body>
</html>
__EOF__