mini čats by Ar4ssS V2 (Kā IPB)
|
|
Ar4ssS
|
|
|
VECĀ MIESA
Foruma ieraksti: 1251
UWM Reputācija:
|
uWEBMEISTARS ordeņi:
1. līmenis
2. līmenis
3. līmenis
Jaunākie apbalvojumi:
|
@Ar4ssS raksta .. :
Sveiki daudzi jau pamanīja manu čatu, kuru veidoju pēc IPB parauga. :) Izrādās tajā bija BUGI un samērā daudzi man prasījā, kā tos novērst, kā salabot utt. tad nu lūk tas pats čats, bet visi bugi ir novērsti. :)
Vecais bugotais čats: http://ucozwebmeistars.ucoz.lv/forum/18-4391-1
Jaunais čats
Uzstādīšana:
CP - Tag board - Appearance of entries - tā saturu dzēšam laukā un aizvietojam ar šo: Code <hr> <table style="border-collapse:collapse;width:100%;"><tbody><tr><td width="5%"> <?if($AVATAR_URL$)?> <img alt="$USERNAME$" src="$AVATAR_URL$" style="float: left;width: 20px;height:20px;"> <?else?><img alt="$USERNAME$" src="/pattern_1000/no_avatar.gif" style="float: left;width: 20px;height:20px;"> <?endif?></td> <td width="3%"><a href="$PROFILE_URL$" title="$USERNAME$ profils">@</a></td><td width="6%"><a style="text-decoration:none" href="javascript:void('Apply to')" onclick="parent.window.document.getElementById('mchatMsgF').focus();parent.window.document.getElementById('mchatMsgF').value+='[b]@$NAME$[/b], ';return false;">$USERNAME$</a></td> <td width="1%">:</td><td>$MESSAGE$</td><td width="8%">($TIME$)</td></tr></tbody></table>
Form of adding new messages Code <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber1"> <tr> <script type="text/javascript" src="/Chat/autoresize.jquery.min.js"></script>
<?if(!$CAN_ADD$)?><div align="center"><?if($LOGIN_LINK$)?><a href="$LOGIN_LINK$" style="text-decoration:none; text-shadow: 0.1em 0.1em 0.05em #FFF;"><div style="background:#cccccc;padding:5px 0 5px 0;border:1px solid #800000;color:#800000;margin:0px 0 0 0;font-size:9pt;">Čats ir pieejams reģistrētajiem lietotājiem<br/></div></a><?else?>Pieeja liegta<?endif?></div><?else?> <table border="0" cellpadding="1" cellspacing="1" width="100%"></tr></table>
<table border="0" cellpadding="1" cellspacing="1" width="100%"> <tr> <td width="95%" colspan="2">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber2"> <tr> <td width="70%"><font color="#800000"><b>Auto pārlāde ik pēc:</b></font> $FLD_AUTOUPD$</td> <td width="30%"> <p align="right"> <input type="button" href="javascript://" onclick="openLayerB('Rules_Mchat',0,'/Chat/Chat_noteikumi.xml','Lēļētavā ir AIZLIEGTS',425,200,'1','','',0,'justify'); return false;" value="Noteikumi" title="Ļēļētavas noteikumi (Chat Rules)" class="LigzdaFM_mini-chat"> <input type="button" <a rel="nofollow" href="javascript://" onclick="window.open('http://filmnet.ucoz.org');return false;" value="FilmNet" title="FilmNet" class="LigzdaFM_mini-chat"> </td> </tr> </table> </td> </tr> <tr><td width="95%" rowspan="2"> <span onKeyPress="if (event.keyCode==10 || (event.ctrlKey && event.keyCode==13)) {document.all.addform.submit();}">$FLD_MESSAGE$</span></td><td align="center" valign="bottom"><div style="font-size:10px;"> <font color="#8A4409">$LENGTH_COUNTER$</font></div></td></tr> <tr> <td align="center" valign="bottom">$SUBMIT$</td> </tr> </table>
<div align="left">
<input type="button" href="$RELOAD_URI$" title="Atjaunot" class="LigzdaFM_mini-chat" style="background-image: url('http://www.filmnet.ucoz.org/Chat/reload.png'); background-repeat: no-repeat; background-position: center" value=" "> <input type="button" href="$SMILES_URI$" title="Ielikt smaidiņu" class="LigzdaFM_mini-chat" style="background-image: url('http://s21.ucoz.net/sm/2/extrat.gif'); background-repeat: no-repeat; background-position: center" value=" "> <input type="button" href="javascript://" onclick="$('#LigzdaFM_mchat_bb').slideToggle('normal');" value=" BB kodi" title="BB Kodi" class="LigzdaFM_mini-chat" style="background-repeat: no-repeat; background-position: center 50%; "> <?if($MSGCTRL_URI$)?> <input type="button" href="$MSGCTRL_URI$" title="Ziņojumu rediģēšana" class="LigzdaFM_mini-chat" style="background-image: url('/Chat/support.png'); background-repeat: no-repeat; background-position: center" value=" "><?endif?>
<br> <div id="LigzdaFM_mchat_bb" style="display: none;"> <input type="button" href="javascript:void('Apply to')" onclick="parent.window.document.getElementById('mchatMsgF').focus();parent.window.document.getElementById('mchatMsgF').value+='[b]TEKSTS[/b] ';return false;" title="Bold" class="LigzdaFM_mini-chat" style="background-image: url('http://www.filmnet.ucoz.org/Chat/bold.png'); background-repeat: no-repeat; background-position: center"> <input type="button" href="javascript:void('Apply to')" onclick="parent.window.document.getElementById('mchatMsgF').focus();parent.window.document.getElementById('mchatMsgF').value+='[i]TEKSTS[/i] ';return false;" title="Italic" class="LigzdaFM_mini-chat" style="background-image: url('http://www.filmnet.ucoz.org/Chat/italic.png'); background-repeat: no-repeat; background-position: center"> <input type="button" href="javascript:void('Apply to')" onclick="parent.window.document.getElementById('mchatMsgF').focus();parent.window.document.getElementById('mchatMsgF').value+='[u]TEKSTS[/u] ';return false;" title="Underline" class="LigzdaFM_mini-chat" style="background-image: url('http://www.filmnet.ucoz.org/Chat/underline.png'); background-repeat: no-repeat; background-position: center"> <input type="button" href="javascript:void('Apply to')" onclick="parent.window.document.getElementById('mchatMsgF').focus();parent.window.document.getElementById('mchatMsgF').value+='[s]TEKSTS[/s] ';return false;" title="Strikethrough" class="LigzdaFM_mini-chat" style="background-image: url('http://www.filmnet.ucoz.org/Chat/strikethrough.png'); background-repeat: no-repeat; background-position: center"> <input type="button" href="javascript:void('Apply to')" onclick="parent.window.document.getElementById('mchatMsgF').focus();parent.window.document.getElementById('mchatMsgF').value+='[l]TEKSTS[/l] ';return false;" title="Text Left" class="LigzdaFM_mini-chat" style="background-image: url('http://www.filmnet.ucoz.org/Chat/text_left.png'); background-repeat: no-repeat; background-position: center"> <input type="button" href="javascript:void('Apply to')" onclick="parent.window.document.getElementById('mchatMsgF').focus();parent.window.document.getElementById('mchatMsgF').value+='[c]TEKSTS[/c] ';return false;" title="Text Center" class="LigzdaFM_mini-chat" style="background-image: url('http://www.filmnet.ucoz.org/Chat/text_center.png'); background-repeat: no-repeat; background-position: center"> <input type="button" href="javascript:void('Apply to')" onclick="parent.window.document.getElementById('mchatMsgF').focus();parent.window.document.getElementById('mchatMsgF').value+='[r]TEKSTS[/r] ';return false;" title="Text Right" class="LigzdaFM_mini-chat" style="background-image: url('http://www.filmnet.ucoz.org/Chat/text_right.png'); background-repeat: no-repeat; background-position: center"> <input type="button" href="javascript://" onclick="openLayerB('Color_Mchat',0,'/Chat/Chat_krasas.xml','Krāsu palete',150,80,'1','','',0,'justify'); return false;" value="Krāsas" title="Krāsu palete" class="LigzdaFM_mini-chat"> <input type="button" href="javascript:void('Apply to')" onclick="parent.window.document.getElementById('mchatMsgF').focus();parent.window.document.getElementById('mchatMsgF').value+='[url=WWW ADRESE]Links[/url] ';return false;" value="http://" title="Ielikt linku" class="LigzdaFM_mini-chat"> <input type="button" href="javascript:void('Apply to')" onclick="parent.window.document.getElementById('mchatMsgF').focus();parent.window.document.getElementById('mchatMsgF').value+='[audio]MP3 ADRESE[/audio]';return false;" value="MP3" title="Audio" class="LigzdaFM_mini-chat"> <input type="button" href="$BBCODES_URI$$" value="Visi BB kodi" title="Visi BB Kodi" class="LigzdaFM_mini-chat"> <br> </div> </div><?endif?> <style> .LigzdaFM_mini-chat {padding:3px 5px; border: 1px solid #8a4409; background: #f7e3ae; margin: 1px; color: #542c0f; text-shadow: 0.1em 0.1em 0.05em #FFF;} .LigzdaFM_mini-chat:hover {background: white; color: #0998d4; cursor: pointer; text-shadow: 0.1em 0.1em 0.05em #FFF;} </style></td> </tr> </table>
Čatam nevajadzetu bugot, ja nu vienīgi tas maina izmērus, ja Jums lapa ir lielāka par manējo, jo principā šo taisīju pielāgotu savai lapai. ;)
Paraksta nav
|
|
|
|
|
Korijs
|
|
|
FORUMA DIKTATORS
Foruma ieraksti: 5047
UWM Reputācija:
|
uWEBMEISTARS ordeņi:
1. līmenis
2. līmenis
3. līmenis
Jaunākie apbalvojumi:
|
@Korijs raksta .. :
PedoBearLv:D, Tu gribi lai ir nevis @ Korijs čau kā iet, bet Korijs @ čau kā iet?
un saiti uz profilu nodrošina šī koda rinda:
Code <a href="$PROFILE_URL$" title="$USERNAME$ profils">@</a>
pamēģini aizstāt tur,piemēram šādi:
Code @ <a href="$PROFILE_URL$" title="$USERNAME$ profils"></a>
fonu var nomainīt šajā rindiņā:
Code <div style="background:#cccccc;
ja vēlies baltu fonu, tad:
Code <div style="background:#ffffff;
Proti uzvesties, pateikt paldies un paaugstināt reputāciju tiem, kuri ir to nopelnījuši, palīdzēt tiem, kuriem ir nepieciešama palīdzība, papildināt forumu ar lietderīgām tēmām, līdz ar ko Tu šeit būsi respektabls biedrs! Pretēji tam, ja izteikts stulbums, nekaunība un neadekvāta uzvedība spraucas pāri katrai smadzeņu rievai, ja tāda ir - lūgtum, tiksi nahrenizēts! - Biedrs mācās no biedra / UWM
|
|
|
|
|
|
|
|