Grupa: Viesis

UWM FORUMS · PORTFOLIO · VIETŅU TOP
JAUNĀKAIS FORUMĀ · BIEDRU SARAKSTS · INFO MEKLĒTĀJS · IZSEKOTĀS TĒMAS · NOBALSO


Ierakstus pievienot var tikai reģistrējies lietotājs!
  UWM AKTUĀLI: DISKUSIJA: Reputācijas restarts - DISKUSIJA: Steam spēļu izloze - NODERĪGI: "CW sistēma" uCoz modulī
  • Lappuse 1 no 1
  • 1
uWM // FORUMS » uWEBMEISTARS // WEBLAPU PLATFORMAS » WEBLAPU SATURA PILNVEIDE » uCoz » mini čats by Ar4ssS V2 (Kā IPB)
mini čats by Ar4ssS V2 (Kā IPB)
Ar4ssS
Svētdiena, 25.08.2013, 2:39:26 | Ieraksts #1
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. ;)
Pielikumi: 8963346.gif (141.9 Kb)


Foruma noteikumi | Pamācībsi | Skriptii

PedoBearLv:D
Sestdiena, 31.08.2013, 5:32:03 | Ieraksts #2
VECĀ MIESA
Foruma ieraksti: 127

UWM Reputācija:

uWEBMEISTARS ordeņi:

1. līmenis

2. līmenis

3. līmenis


Jaunākie apbalvojumi:
Lietotājs nav saņēmis apbalvojumus
@PedoBearLv:D raksta .. :

Vai vari pārmainīt tos "@" un username otrādi,ķipa ta ,ka ar "@" dodu atbildi otram lietotājam,bet ar username dodos uz viņa profīlu.
Un kā es varu nomainīt fonu no pelēka uz baltu?


Paraksta nav

Korijs
Sestdiena, 31.08.2013, 5:52:07 | Ieraksts #3
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

PedoBearLv:D
Sestdiena, 31.08.2013, 10:33:22 | Ieraksts #4
VECĀ MIESA
Foruma ieraksti: 127

UWM Reputācija:

uWEBMEISTARS ordeņi:

1. līmenis

2. līmenis

3. līmenis


Jaunākie apbalvojumi:
Lietotājs nav saņēmis apbalvojumus
@PedoBearLv:D raksta .. :

Quote (Korijs)
Tu gribi lai ir nevis @ Korijs čau kā iet, bet Korijs @ čau kā iet?


Nē,es domāju šādi,piemēram,kā tagad ir,ar "@" zīmi dodas uz lietotāju profīla,bet uzklikšķinot uz lietotāja nika tad uzrādās šādi "@PedoBearLv",bet es gribu otrādi.


Paraksta nav

Ar4ssS
Svētdiena, 01.09.2013, 1:10:47 | Ieraksts #5
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 .. :

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="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;"" >@</a></td><td width="6%"><a  href="$PROFILE_URL$">$USERNAME$</a></td> <td width="1%">:</td><td>$MESSAGE$</td><td width="8%">($TIME$)</td></tr></tbody></table>


PedoBearLv:D, ņem!!! Ja kkas nogājis greizi saki, salabošu es netestēju bet pa taisno šajā postā saliku :D ;D

Korij viņš gribējā tā, ka Kad uzpiež uz @ zīmes tad parādas tas @Korijs, blaa blaa blaa,bet kad uzpiež uz nika parādas nē atveras profils. :)


Foruma noteikumi | Pamācībsi | Skriptii

PedoBearLv:D
Svētdiena, 01.09.2013, 1:52:04 | Ieraksts #6
VECĀ MIESA
Foruma ieraksti: 127

UWM Reputācija:

uWEBMEISTARS ordeņi:

1. līmenis

2. līmenis

3. līmenis


Jaunākie apbalvojumi:
Lietotājs nav saņēmis apbalvojumus
@PedoBearLv:D raksta .. :

Viss darbojas kā vajag,paldies!! :D

Paraksta nav

Ar4ssS
Pirmdiena, 02.09.2013, 2:33:35 | Ieraksts #7
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 .. :

Quote (PedoBearLv:D)
paldies!! :D


Prieks palīdzēt... ;)


Foruma noteikumi | Pamācībsi | Skriptii

uWM // FORUMS » uWEBMEISTARS // WEBLAPU PLATFORMAS » WEBLAPU SATURA PILNVEIDE » uCoz » mini čats by Ar4ssS V2 (Kā IPB)
  • Lappuse 1 no 1
  • 1
Meklēšana:

UWM apmeklēja:

RESPEKTABLĀKIE PORTĀLA FORUMA KLAVIATŪRISTI :
Foruma viszinis
Korijs
UWM karma: 380
Foruma atkarīgais
wuxmachine
UWM karma: 157
Foruma atkarīgais
Robiits
UWM karma: 87
Foruma šamanis
0wn3r
UWM karma: 80
Foruma atkarīgais
H[o_0]LiGaN
UWM karma: 78
Foruma atkarīgais
Spanky
UWM karma: 76
Foruma viszinis
Ar4ssS
UWM karma: 74
Foruma atkarīgais
Profth3tic
UWM karma: 55
Foruma atkarīgais
emciits
UWM karma: 52
Foruma atkarīgais
JackDaniel
UWM karma: 51
Foruma atkarīgais
Antikrists
UWM karma: 51
Foruma atkarīgais
Ken_D
UWM karma: 50
Ielāde...