Pentru a accesa toate paginile forumului
te rugăm să te înregistrezi
  • Pagina 1 din 2
  • 1
  • 2
  • »
Aspectul Mini-chat-ului | Mini-chat
StapanulData: Sâmbătă, 2012-06-16, 5:09 PM | Mesaj # 1
Pasul 1: Panoul de Control - Design - Administrarea design-ului (şabloane) - Mini-chat [Aspectul intrărilor] - şi schimbaţi codul de acolo cu acesta:

Code
<style type="text/css">
a:link {text-decoration:none; color:#FF7800;}
a:active {text-decoration:none; color:#FFAE00;}
a:visited {text-decoration:none; color:#FF7800;}
a:hover {text-decoration:none; color:#FFAE00;}
td, body {font-family:Tahoma, sans-serif; font-size:8pt; color: #000; cursor:default;}
</style>

<div class="cBlock$PARITY$" style="padding:0 4px 5px 2px;margin-bottom:3px; border-bottom:1px solid #f7f7f7;">
       <div style="float:right;font-size:9px;" title="$DATE$"><font color="#696969">$DATE$ $TIME$</font></div>
<div style="text-align:left;">
<?if($USERNAME$)?><a href="$PROFILE_URL$" title="Profilul $USERNAME$" rel="nofollow"><img alt="" src="http://fierbinte.ucoz.ro/Forum/Aspect/mini_chat/Profilul_iconita.png" width="13" border="0" style="vertical-align:-2px"/></a> <?endif?>
<a href="javascript://" class="<?if($USER_ID$=='1')?>adminL<?endif?>" onclick="parent.window.document.getElementById('mchatC1F').focus();parent.window.document.getElementById('mchatC1F').value='$NAME$';return false;"><b>$NAME$</b></a>
</div>
<div class="cMessage" style="text-align:left;">$MESSAGE$</div>
<?if($CUSTOM1$)?><br><font color="#838383">$STR_CUSTOM1$:</font> <b>$CUSTOM1$</b><?endif?>
<?if($CUSTOM2$)?><br>$STR_CUSTOM2$: $CUSTOM2$<?endif?>
</div>


Pasul 2: Panoul de Control - Design - Administrarea design-ului (şabloane) - Mini-chat [Formular pentru adăugarea de mesaje noi] - şi la fel schimbaţi codul de acolo cel de mai jos.

Code
<Script Language='Javascript'>document.write(unescape('%3C%6C%69%6E%6B%20%74%79%70%65%3D%22%74%65%78%74%2F%63%73%73%22%20%72%65%6C%3D%22%53%74%79%6C      %65%53%68%65%65%74%22%20%68%72%65%66%3D%22%2F%73%74%79%6C%65%2F%4D%69%6E%69%5F%63%68%61%74%2F%43%53%53%2F%4D%69%6E%69%5F%63%68%61%74%2E % 6 3 %7  3%73%22%20%2F%3E'));</Script>
<?if(!$CAN_ADD$)?><div align="center"><?if($LOGIN_LINK$)?><a href="$LOGIN_LINK$">Trebuie să fiţi logat</a><?else?>Acces interzis<?endif?></div><?else?>
<table border="0" cellpadding="1" cellspacing="1" width="100%">
<Div align="right"; id="Iconics"><a href="$RELOAD_URI$" title="Reîncarcă"><img src="http://fierbinte.ucoz.ro/Forum/Aspect/mini_chat/Reincarca_iconita.png"></a>
<?if($SMILES_URI$)?><a href="$SMILES_URI$" title="Adaugă smail"><img src="http://fierbinte.ucoz.ro/Forum/Aspect/mini_chat/Smail_iconita.png"></a><?endif?>
<?if($BBCODES_URI$)?><a href="javascript://" onclick="new _uWnd('bbcodes','Lista codurilor BB',555,100,{autosize:1,resize:0,minh:100,closeonesc:1},{url:'/File/all_bb_codes.xml'});return false;" title="BB-Коды"><img src="http://fierbinte.ucoz.ro/Forum/Aspect/mini_chat/BB_iconita.png"></a><?endif?>
<?if($MSGCTRL_URI$)?><a href="$MSGCTRL_URI$" title="Redactează mesajele"><img src="http://fierbinte.ucoz.ro/Forum/Aspect/mini_chat/Redacteaza_iconita.png"></a><?endif?></Div>
<tr><td align="center" style="height:30px"><hr>
<div style="display:none;"><input type="button" title="Bold" value="b" onclick="simpletag('b','','','message','')" class="codeButtons" id="b" style="width:20px;font-weight:bold" /><span style="padding-right:1px;" id="bc2"><input type="button" title="Italic" value="i" onclick="simpletag('i','','','message','')" class="codeButtons" id="i" style="width:20px;font-style:italic" /></span><span style="padding-right:1px;" id="bc3"><input type="button" title="Underline" value="u" onclick="simpletag('u','','','message','')" class="codeButtons" id="u" style="width:20px;text-decoration:underline" /></span><span style="padding-right:1px;" id="bc7"><input type="button" title="URL" value="http://" onclick="tag_url('message','')" class="codeButtons" style="direction:ltr;width:45px;" id="url" /></span><span style="padding-right:1px;" id="bcs"><input type="button" title="underline" value="s" onclick="simpletag('s','','','message','')" class="codeButtons" id="s" style="width:20px;font-weight:bold" /></span><span style="padding-right:1px;" id="bcl"><input type="button" title="left" value="l" onclick="simpletag('l','','','message','')" class="codeButtons" id="l" style="width:20px;font-weight:bold" /></span><span style="padding-right:1px;" id="bcc"><input type="button" title="center" value="c" onclick="simpletag('c','','','message','')" class="codeButtons" id="c" style="width:20px;font-weight:bold" /></span><span style="padding-right:1px;" id="bcr"><input type="button" title="right" value="r" onclick="simpletag('r','','','message','')" class="codeButtons" id="r" style="width:20px;font-weight:bold" /></span></div>
<Script Language='Javascript'>document.write(unescape('%3C%73%63%72%69%70%74%20%73%72%63%3D%22%2F%73%74%79%6C%65%2F%4D%69%6E%69%5F%63%68%61%74%2F%6A      %73%2F%62%62%6D%63%68%61%74%2E%6A%73%22%20%74%79%70%65%3D%22%74%65%78%74%2F%6A%61%76%61%73%63%72%69%70%74%22%3E%3C%2F%73%63%72%69%70%74 % 3 E ')  );</Script>
<a title="Evidenţiat" class="bold" href="javascript://" onclick="simpletag1('b','','','mchatMsgF','')"></a>
<a title="Înclinat" class="italic" href="javascript://" onclick="simpletag1('i','','','mchatMsgF','')"></a>
<a title="Subliniat" class="underline" href="javascript://" onclick="simpletag1('u','','','mchatMsgF','')"></a>
<a title="Tăiat" class="line-trough" href="javascript://" onclick="simpletag1('s','','','mchatMsgF','')"></a>
<a title="Text aliniat la stânga" class="format-left" href="javascript://" onclick="simpletag1('l','','','mchatMsgF','')"></a>
<a title="Textul centrat" class="format-center" href="javascript://" onclick="simpletag1('c','','','mchatMsgF','')"></a>
<a title="Text aliniat la dreapta" class="format-right" href="javascript://" onclick="simpletag1('r','','','mchatMsgF','')"></a>
<a title="Introduceţi o adresă" class="url-link" href="javascript://" onclick="tag_url1('mchatMsgF','')"></a></td><tr></tr></table>
<?if(!$USER_LOGGED_IN$)?><hr>
<table border="0" cellpadding="1" cellspacing="1" width="100%">
<tr><td colspan="2">$FLD_NAME$</td></tr>
<tr><td width="50%">$FLD_EMAIL$</td><td>$FLD_URL$</td></tr>
</table><?endif?>
<input type="text" maxlength="60" name="custom1" class="input11" id="mchatC1F" onblur="if (value =='') {value='Cui?'}" onfocus="if(value=='Cui?') {value =''}" value="Cui?" style="width:100%; margin-bottom:2px;">
<?if($FLD_SECURE$)?>
<table border="0" cellpadding="1" cellspacing="1" width="100%">
<tr><td width="50%">$FLD_SECURE$</td><td align="right">$IMG_SECURE$</td></tr>
</table><?endif?>$FLD_MESSAGE$
<center>Simboluri rămase: $LENGTH_COUNTER$</center>
<center><div><input type="submit" value="Trimite" class="button11" id="mchatBtn"><div style="display:none; width:100%; height:32px; position:relative;" id="mchatAjax" align="center"><div style="position:absolute; top:8px; left:70px;">Aşteptaţi...</div></div></div></center>
<?endif?>


Pasul 3: Panoul de Control - Unelte - Manager de fişiere - creaţi un Dosar nou. Numele trebuie sa fie style. În el creaţi un alt Dosar nou cu numele Mini_chat. Aici creaţi încă două Dosare. Unul cu numele CSS, celălalt js. În Dosarul CSS încărcaţi ceea ce se află în arhiva pe care o descărcaţi de aici, iar în Dosarul js încărcaţi fişierul din acest arhiv.

Rezultatul:
 
StapanulData: Marţi, 2012-07-03, 6:41 PM | Mesaj # 2
Pasul 1: Panoul de Control - Design - Administrarea design-ului (şabloane) - Mini-chat [Aspectul intrărilor] - schimbăm codul de aici cu:

Code
<div style="text-align:left;background:#ffffff;border:1px solid #CCD3DA;padding:2px;">     
         
     <table width="100%" cellspacing="0" cellpadding="0"><tr><td align="left" valign="top"><div style="font:8pt"><a href="javascript:void('Apply to')" style="color:#000000;" onclick="parent.window.document.getElementById('mchatMsgF').focus();parent.window.document.getElementById('mchatMsgF').value+='[i]$NAME$[/i], ';return false;">$NAME$</a></div></td>     
     <td width="85%" align="right" valign="top"><a href="javascript://" style="font:8pt">$TIME$</a></td></tr></table>     
     <div style="text-align:left;font-size:9pt;">$MESSAGE$</div></fieldset>     

     </div><div style="margin-top: 4px;"></div>


Pasul 2: Panoul de Control - Design - Administrarea design-ului (şabloane) - Mini-chat [Formular pentru adăugarea de mesaje noi] - schimbăm şi aici codurile.

Code
<table width="100%">     
     <tr>     
     <td align="left" valign="top">     
     <textarea name="mcmessage" id="mchatMsgF" title="Mesajul" onkeyup="countMessLength();" onfocus="countMessLength();"></textarea>     
     <div style="float:left;"><div id="chatb" href="$SMILES_URI$"><img src="http://fierbinte.ucoz.ro/Forum/Aspect/mini_chat/buton_jos/zambet.gif"></div>     
     <div id="chatb" href="$RELOAD_URI$"><img src="http://fierbinte.ucoz.ro/Forum/Aspect/mini_chat/buton_jos/reincarcare.png"></div>     
     <div id="chatb" href="$BBCODES_URI$"><img src="http://fierbinte.ucoz.ro/Forum/Aspect/mini_chat/buton_jos/codurile.png"></div>     
     <div id="chatb" href="$MSGCTRL_URI$"><img src="http://fierbinte.ucoz.ro/Forum/Aspect/mini_chat/buton_jos/setari.png"></div></div><div id="reloadSec" style="float:right;"></div>     
     $_SECURITY_CODE$     
     </td>     
     <td width="10%" align="right" valign="top">     
     <div id="buttonsubmit" onclick="$('#mchatBtn').click();">ОК</div>     
     </td>     
     </tr>     
     </table>     
     <style>     
     #mchatMsgF{padding:4px;margin-top:6px;border:1px solid #B5B8C8; background:#ffffff url(http://fierbinte.ucoz.ro/Forum/Aspect/mini_chat/buton_jos/bara.gif) repeat-x 0 0;width:100%;height:42px;font-family:tahoma;font-size:12px;font-weight:bold;}     
     #buttonsubmit{background:#6386d0;border:1px solid #3358a5;padding:13px;margin-top:6px;font-size:12px;color:#FFF;font-weight:bold;cursor:pointer;}     
     #buttonsubmit:hover{background:#7e9fe4;border:1px solid #3358a5;padding:13px;margin-top:6px;font-size:12px;color:#FFF;font-weight:bold;cursor:pointer;text-decoration:underline;}     
     #buttonsubmit:active{background:#4f72bd;border:1px solid #3358a5;padding:13px;margin-top:6px;font-size:12px;color:#FFF;font-weight:bold;cursor:pointer;text-decoration:underline;}     
     #chatb{background:#FFF;border-left:1px solid #B5B8C8;border-right:1px solid #B5B8C8;border-bottom:1px solid #B5B8C8;padding:4px;font-size:12px;color:#FFF;font-weight:bold;cursor:pointer;text-decoration:underline;display:inline-block;}     
     </style>     
     <div style="display:none;"><input type="submit" style="width: 30px;" id="mchatBtn" class="mchat" value="OK"></div>     

     <?if($FLD_SECURE$)?>     
     <table border="0" cellpadding="1" cellspacing="1" width="100%">     
     <tr><td width="50%">$FLD_SECURE$</td><td align="right">$IMG_SECURE$</td></tr>     
     </table>     
     <?endif?>


Rezultatul:


Pomul se cunoaşte după roade, omul după fapte.
 
OmulPaianjenData: Vineri, 2012-08-17, 11:32 AM | Mesaj # 3
Pasul 1: Panoul de Control - Design - Administrarea design-ului (şabloane) - Mini-chat [Aspectul intrărilor] - schimbați codurile din această pagină cu acestea:

Code
<div class="cBlock$PARITY$" style="padding:0 4px 5px 2px;margin-bottom:3px;">
  <div style="float:right;font-size:8px; font-weight:bold;color:#5f7d9d; text-shadow:1px 1px 1px #fff;" title="$DATE$">$TIME$ <a href="javascript:scroll(0,9999);"title="Jos">↓</a> <a href="javascript://" onclick="$('body').scrollTo('0px',800, {axis:'y'})" title="SuS">↑</a></div>
  <div style="text-align:left;">
  <a style="text-decoration:none;font-weight:bold;color:#5f7d9d; text-shadow:1px 1px 1px #fff;" title="Utilizatorul $USERNAME$" href="javascript:void('Apply to')" onclick="parent.window.document.getElementById('mchatMsgF').focus();parent.window.document.getElementById('mchatMsgF').value+='[i]$NAME$[/i], ';return false;"> <font color=red><b>$NAME$</b></font></a>
  <img src="http://fierbinte.ucoz.ro/Forum/Aspect/mini_chat/sageata_jos.png" border="0" style="cursor:pointer" onclick="$('#$NUMBER$').slideToggle('fast')">
  <div id="$NUMBER$" style="background:#fff;border:2px solid #c3ccd3;display:none;position:absolute;margin-left:17px;padding:4px;width:150px;">
  <img src="$AVATAR_URL$" align="left" width="40" border="0" class="web-script_ava"/>
  <a href="$PROFILE_URL$" title="Profilul lui $NAME$'а" target="_blank">Profilul</a><br>
  <a href="/index/14-$USER_ID$-0-1" title="Trimite un mesaj lui $NAME$ " target="_blank">Trimite MP</a>
  </div> <div style="border:2px dashed #dae2e8;"></div></div>
  <div class="cMessage" id="webo4ka_text"><font color="$CUSTOM1$" >$MESSAGE$</font></div>
  </div><link type="text/css" rel="StyleSheet" href="http://fierbinte.ucoz.ro/Forum/Aspect/mini_chat/Chat_3.css"/>


Pasul 2: Panoul de Control - Design - Administrarea design-ului (şabloane) - Mini-chat [Formular pentru adăugarea de mesaje noi] - schimbați și codurile de aici cu cele de mai jos.

Code
<table border="0" cellpadding="1" cellspacing="1" width="100%">
  <tr>
  <td width="70%" align="left">
  <a href="$RELOAD_URI$" title="Reîncarcă"><img alt="" border="0" align="absmiddle" src="http://fierbinte.ucoz.ro/Forum/Aspect/mini_chat/reincarcare_3.png" width="15" height="15"></a>
  <a href="$SMILES_URI$" title="Emoții"><img alt="" border="0" align="absmiddle" src="http://fierbinte.ucoz.ro/Forum/Aspect/mini_chat/emotii_3.png" width="15" height="15"></a>
  <a href="$BBCODES_URI$" title="Codurile BB"><img alt="" border="0" align="absmiddle" src="http://fierbinte.ucoz.ro/Forum/Aspect/mini_chat/Coduri_3.png" width="15" height="15"></a>
  <a href="$MSGCTRL_URI$" title="Administrare mesaje"><img alt="" border="0" align="absmiddle" src="http://fierbinte.ucoz.ro/Forum/Aspect/mini_chat/Editeaza_3.png" width="15" height="15"></a>
  <td>$FLD_AUTOUPD$</td>
  <td align="right" valign="bottom">$SUBMIT$</td></td></tr></table>

  <table border="0" cellpadding="1" cellspacing="1" width="100%">
  <tr><td colspan="2">$FLD_NAME$</td></tr>
  <tr><td width="50%">$FLD_EMAIL$</td><td>$FLD_URL$</td></tr>
  </table>

  <table border="0" cellpadding="1" cellspacing="1" width="100%">
  <tr><td width="50%">$FLD_CUSTOM1$</td><td>$FLD_CUSTOM2$</td></tr>
  </table>

  <table border="0" cellpadding="1" cellspacing="1" width="100%">
  <tr><td width="50%">$FLD_SECURE$</td><td align="right">$IMG_SECURE$</td></tr>
  </table>

  <table border="0" cellpadding="1" cellspacing="1" width="100%">
  <tr><td width="100%" rowspan="2">$FLD_MESSAGE$</td></tr>
  </table>


Rezultatul:
 
OmulPaianjenData: Duminică, 2012-08-19, 6:26 PM | Mesaj # 4
Pasul 1: Panoul de Control - Design - Administrarea design-ului (şabloane) - Mini-chat - [Aspectul intrărilor] - ștergeți tot și adăugați aceste coduri:

Code
<div <?if($USER_ID$='1')?>class="cBlockadmin"<?else?><?if($USER_ID$='594')?>class="cBlockmoder"<?else?><?if($USER_ID$='634')?>class="cBlockzloi"< ?else?>class="cBlock1"<?endif?>class="cBlock1"<?endif?><?endif?> style="padding:10 0 5 0;margin-bottom:5px;">  
<div style="text-align:left;">  
<a href="$PROFILE_URL$">  

<span class="styled_block_s" style="padding:5 5 5 5;opacity:0.5;">  
<?if($AVATAR_URL$)?>  
<img class="avatar" src="$AVATAR_URL$" style="vertical-align:-3px"/>  
<?else?>  
<img class="avatar" src="http://fierbinte.ucoz.ro/Forum/Iconite/Fara_avatar/4.png" width="15" border="0" style="vertical-align:-2px"/>  
<?endif?>  
</span>  
</a>  

<span style="padding:0 0 0 10;">  
<a title="Citează utilizatorul $USERNAME$" href="javascript:void('Apply to')" onclick="parent.window.document.getElementById('mchatMsgF').focus();parent.window.document.getElementById('mchatMsgF').value+='[b]$NAME$[/b], ';return false;" rel="nofollow">  
<b>$NAME$</b></a>  
<b>  
<span class="styled_block_i" style="float:right;padding:7 5 5 7;font-size:10px;" title="$DATE$">  
$TIME$  
<a href="javascript://" onclick="$('body').scrollTo({top:$('body').offset().top, left:0}, 1000);return false;">  
<img width="20" height="10" title="Вверх" src="http://fierbinte.ucoz.ro/Forum/Iconite/Sus/32.png" border="0">  
</a>  
</span>  
</b>  
</span>  

</div>  
<div style="text-align:left;padding:20 10 10 10;font-weight:normal;">$MESSAGE$</div>  
</div>


Pasul 2: Panoul de Control - Design - Administrarea design-ului (şabloane) - Mini-chat - [Formular pentru adăugarea de mesaje noi] - același lucru faceți și aici.

Code
<table style="margin-top:10;" border="0" cellpadding="1" cellspacing="1" width="100%">  
<tr><td>$FLD_AUTOUPD$</td>  
<td width="70%" align="right">  
<a href="$RELOAD_URI$" title="Reîncarcă chat-ul"><img class="mchat_i" width="20" border="0" align="absmiddle" src="http://fierbinte.ucoz.ro/Forum/Aspect/mini_chat/CHAT/Reincarca.png"></a>  
  <?if($SMILES_URI$)?> <a href="javascript://" title="Arată/Ascunde emoțiile" onclick="$('#seesmiles1').slideToggle(500);"><img width="20" class="mchat_i" border="0" align="absmiddle" src="http://fierbinte.ucoz.ro/Forum/Aspect/mini_chat/CHAT/Emotiile.png"></a><?endif?>  
<?if($MSGCTRL_URI$)?> <a href="$MSGCTRL_URI$" title="Administrarea comentariilor"><img class="mchat_i" width="20" border="0" align="absmiddle" src="http://fierbinte.ucoz.ro/Forum/Aspect/mini_chat/CHAT/Administrare.png"></a><?endif?>  
</td></tr></table>  

<?if(!$USER_LOGGED_IN$)?>  
<table border="0" cellpadding="1" cellspacing="1" width="100%">  
<tr><td colspan="2">$FLD_NAME$</td></tr>  
<tr><td width="50%">$FLD_EMAIL$</td><td>$FLD_URL$</td></tr>  
</table>  
<?endif?>  

<?if($FLD_CUSTOM1$ || $FLD_CUSTOM2$)?>  
<table border="0" cellpadding="1" cellspacing="1" width="100%">  
<tr><td width="50%">$FLD_CUSTOM1$</td><td>$FLD_CUSTOM2$</td></tr>  
</table>  
<?endif?>  

<?if($FLD_SECURE$)?>  
<table border="0" cellpadding="1" cellspacing="1" width="100%">  
<tr><td width="50%">$FLD_SECURE$</td><td align="right">$IMG_SECURE$</td></tr>  
</table>  
<?endif?>  

<table border="0" cellpadding="1" cellspacing="1" width="100%">  
<tr><td width="95%" rowspan="2"><span title="Evidențiază textul pentru codurile BB"><textarea name="mcmessage" class="mchat" id="mchatMsgF" onkeyup="countMessLength();" onfocus="countMessLength();" style="height:60px;width:100%;resize:none;"></textarea></span></td>  
<td align="center" valign="top"><div style="font-size:10px;text-shadow: black 1px 1px 2px;">$LENGTH_COUNTER$</div></td>  
</tr><tr><td align="center" valign="bottom">$SUBMIT$</td></tr></table>  

<div style="display:none;" id="seesmiles1" align="center">  
<script type="text/javascript" src="http://fierbinte.ucoz.ro/Forum/Aspect/mini_chat/CHAT/Emotiile.js"></script>  
<br>  
<a style="color:9c9c9c;" href="$SMILES_URI$" title="Arată toate emoțiile"><b>==Celelalte emoții==</b></a>  
<br>  
</div>


Pasul 3: Panoul de Control - Design - Administrarea design-ului (CSS) - adăugați la urmă stilurile:

Code
/* Stilurile Chat-ului */  
.cBlock1 {text-shadow: black 1px 1px 2px;background:url('http://fierbinte.ucoz.ro/Forum/Aspect/mini_chat/CHAT/1.png');padding: 10px 5px 10px 5px;color:ddd;-webkit-border-radius: 5px; -moz-border-radius: 5px; -khtml-border-radius: 5x; border-radius: 5px;border-top: solid 1px #565656; border-left: solid 1px #565656; border-bottom: solid 1px #343434; border-right: solid 1px #343434;}  
.cBlockzloi {text-shadow: black 1px 1px 2px;background:url('http://fierbinte.ucoz.ro/Forum/Aspect/mini_chat/CHAT/2.png');padding: 10px 5px 10px 5px;color:ddd;-webkit-border-radius: 5px; -moz-border-radius: 5px; -khtml-border-radius: 5x; border-radius: 5px;border-top: solid 1px #565656; border-left: solid 1px #565656; border-bottom: solid 1px #343434; border-right: solid 1px #343434;}  
.cBlockadmin {text-shadow: black 1px 1px 2px;background:url('http://fierbinte.ucoz.ro/Forum/Aspect/mini_chat/CHAT/3.png');padding: 10px 5px 10px 5px;color:ddd;-webkit-border-radius: 5px; -moz-border-radius: 5px; -khtml-border-radius: 5x; border-radius: 5px;border-top: solid 1px #565656; border-left: solid 1px #565656; border-bottom: solid 1px #343434; border-right: solid 1px #343434;}  
.cBlockmoder {text-shadow: black 1px 1px 2px;background:url('http://fierbinte.ucoz.ro/Forum/Aspect/mini_chat/CHAT/4.png');padding: 10px 5px 10px 5px;color:ddd;-webkit-border-radius: 5px; -moz-border-radius: 5px; -khtml-border-radius: 5x; border-radius: 5px;border-top: solid 1px #565656; border-left: solid 1px #565656; border-bottom: solid 1px #343434; border-right: solid 1px #343434;}  
.mchat {text-shadow: black 1px 1px 2px;background: #454545;padding: 2px 5px 2px 5px;color:ddd;-webkit-border-radius: 5px; -moz-border-radius: 5px; -khtml-border-radius: 5x; border-radius: 5px;border-top: solid 1px #565656; border-left: solid 1px #565656; border-bottom: solid 1px #343434; border-right: solid 1px #343434;}  
.mchat_i {opacity:1;}  
.styled_block {background:url('http://fierbinte.ucoz.ro/Forum/Aspect/mini_chat/CHAT/1.png');box-shadow: 0px 2px 3px #555;-webkit-box-shadow: 0px 2px 3px #555;-moz-box-shadow: 0px 2px 3px #555;border-radius: 20 20 20 20;-webkit-border-radius: 20 20 20 20;-moz-border-radius: 20 20 20 20;}  
.styled_block_i {background:url('http://fierbinte.ucoz.ro/Forum/Aspect/mini_chat/CHAT/1.png');box-shadow: 0px 2px 3px #555;-webkit-box-shadow: 0px 2px 3px #555;-moz-box-shadow: 0px 2px 3px #555;border-radius: 20 0 0 20;-webkit-border-radius: 20 0 0 20;-moz-border-radius: 20 0 0 20;}  
.styled_block_s {background:url('http://fierbinte.ucoz.ro/Forum/Aspect/mini_chat/CHAT/1.png');box-shadow: 0px 2px 3px #555;-webkit-box-shadow: 0px 2px 3px #555;-moz-box-shadow: 0px 2px 3px #555;border-radius: 0 20 20 0;-webkit-border-radius: 0 20 20 0;-moz-border-radius: 0 20 20 0;}  
.add {background:url('http://fierbinte.ucoz.ro/Forum/Aspect/mini_chat/CHAT/1.png');box-shadow: 0px 2px 3px #555;-webkit-box-shadow: 0px 2px 3px #555;-moz-box-shadow: 0px 2px 3px #555;border-radius: 0 0 10 10;-webkit-border-radius: 0 0 10 10;-moz-border-radius:0 0 10 10x;padding:10;}  
.avatar {width:15;border:0;vertical-align:center;}  
.avatar:hover {width:50;border:0;vertical-align:center;}  
/* Stilurile Chat-ului */


Unde doriți să fie chat-ul, adăugați codul:

Code
<script type="text/javascript" src="http://fierbinte.ucoz.ro/Forum/Aspect/mini_chat/CHAT/jquery.caret.js"></script>  
$CHAT_BOX$


 
OmulPaianjenData: Luni, 2012-08-20, 10:06 PM | Mesaj # 5
Pasul 1: Panoul de Control - Design - Administrarea design-ului (şabloane) - Mini-chat [Aspectul intrărilor] - înlocuiți codurile de aici cu acestea:

Code
<link type="text/css" rel="StyleSheet" href="http://fierbinte.ucoz.ro/Forum/Aspect/mini_chat/Stilurile.txt" />
<?if($USER_ID$='1')?>
<div class="cBlocki$PARITY$" style="padding:0 4px 5px 2px;margin-bottom:3px;">
<div style="float:right;font-size:8px;" title="$DATE$">$TIME$ <a href="javascript:scroll(0,9999);"title="Mergi la sfârșitul paginii">v</a> <a href="javascript://" onclick="$('body').scrollTo('0px',800, {axis:'y'})" title="Mergi la începutul paginii">^</a></div>
<div style="text-align:left;">
<a href="javascript:void('Apply to')" onclick="parent.window.document.getElementById('mchatMsgF').focus();parent.window.document.getElementById('mchatMsgF').value+='[i]$USERNAME$[/i], ';return false;" style="color:#333; text-decoration:none;"><b>$USERNAME$</b></a>

<img src="http://fierbinte.ucoz.ro/Forum/Aspect/mini_chat/sageata_jos.png" border="0" style="cursor:pointer" onclick="$('#$NUMBER$').slideToggle('fast')">    
<div id="$NUMBER$" style="border:1px solid #5d5d5d;background:#e0e0e0;display:none;position:absolute;margin-left:30px;padding:4px 4px 4px 4px;-moz-border-radius:4px;border-radius:4px;-webkit-border-radius:4px; width: 150px;">    
<?if($AVATAR_URL$)?>    
<img src="$AVATAR_URL$" align="left" width="60" border="0" style="vertical-align:-20px; background:#f4f4f4; padding: 2px; border:1px solid #666666;"/>
<?else?>    
<img src=http://fierbinte.ucoz.ro/Forum/Aspect/mini_chat/Fara_ava.png" title="Omul n-are avatar" align="left" width="60" border="0" style="vertical-align:-20px; background:#f4f4f4; padding: 2px; border:1px solid #666666;"/>
<?endif?>
<a href="$PROFILE_URL$" title="Profilul $NAME$'а" target="_blank">Profilul</a><br>
<a href="/index/14-$USER_ID$-0-1" title="Trimite MP $NAME$'у" target="_blank">Trimite MP</a>
</div>    

<?if($EMAIL$)?> <a href="$EMAIL_JS$" title="$STR_EMAIL$">E</a><?endif?>
<?if($SITE$)?> <a rel="nofollow" href="$SITE$" target="_blank" title="$STR_URL$">W</a><?endif?>
</div>
<div style="border-bottom:1px inset #666666;padding-top:6px;"></div>
<div class="cMessage" style="text-align:left;">$MESSAGE$</div>
<?if($CUSTOM1$)?><br>$STR_CUSTOM1$: $CUSTOM1$<?endif?>
<?if($CUSTOM2$)?><br>$STR_CUSTOM2$: $CUSTOM2$<?endif?>
</div>
<?else?>

<div class="cBlock$PARITY$" style="padding:0 4px 5px 2px;margin-bottom:3px;">
<div style="float:right;font-size:8px;" title="$DATE$">$TIME$ <a href="javascript:scroll(0,9999);"title="Mergi la sfârșit">v</a> <a href="javascript://" onclick="$('body').scrollTo('0px',800, {axis:'y'})" title="Mergi sus">^</a></div>
<div style="text-align:left;">
<a href="javascript:void('Apply to')" onclick="parent.window.document.getElementById('mchatMsgF').focus();parent.window.document.getElementById('mchatMsgF').value+='[i]$USERNAME$[/i], ';return false;" style="color:#333; text-decoration:none;"><b>$USERNAME$</b></a>

<img src="http://fierbinte.ucoz.ro/Forum/Aspect/mini_chat/sageata_jos.png" border="0" style="cursor:pointer" onclick="$('#$NUMBER$').slideToggle('fast')">    
<div id="$NUMBER$" style="border:1px solid #5d5d5d;background:#e0e0e0;display:none;position:absolute;margin-left:30px;padding:4px 4px 4px 4px;-moz-border-radius:4px;border-radius:4px;-webkit-border-radius:4px;">    
<?if($AVATAR_URL$)?>    
<img src="$AVATAR_URL$" align="left" width="60" border="0" style="vertical-align:-20px; background:#f4f4f4; padding: 2px; border:1px solid #666666;"/>
<?else?>    
<img src="http://fierbinte.ucoz.ro/Forum/Aspect/mini_chat/Fara_ava.png" title="Omul n-are avatar" align="left" width="60" border="0" style="vertical-align:-20px; background:#f4f4f4; padding: 2px; border:1px solid #666666;"/>
<?endif?>
<a href="$PROFILE_URL$" title="Profilul $NAME$'а" target="_blank">Profilul</a><br>
<a href="/index/14-$USER_ID$-0-1" title="Trimite MP $NAME$'у" target="_blank">Trimite MP</a>
</div>    

<?if($EMAIL$)?> <a href="$EMAIL_JS$" title="$STR_EMAIL$">E</a><?endif?>
<?if($SITE$)?> <a rel="nofollow" href="$SITE$" target="_blank" title="$STR_URL$">W</a><?endif?>
</div>
<div style="border-bottom:1px inset #666666;padding-top:6px;"></div>
<div class="cMessage" style="text-align:left;">$MESSAGE$</div>
<?if($CUSTOM1$)?><br>$STR_CUSTOM1$: $CUSTOM1$<?endif?>
<?if($CUSTOM2$)?><br>$STR_CUSTOM2$: $CUSTOM2$<?endif?>
</div>
<?endif?>


Pasul 2: Panoul de Control - Design - Administrarea design-ului (şabloane) - Mini-chat [Formular pentru adăugarea de mesaje noi] - ștergeți codurile și adăugați-le pe cele de aici.

* Descărcați arhiva. Încărcați fișierele la dvs pe sait. Găsiți în Formular pentru adăugarea de mesaje noi adresele acestor fișiere și înlocuiți-le (în așa fel încât să fie încărcate pe saitul unde e instalat chat-ul). Dacă nici stilurile nu funcționează, deschideți fișierul http://fierbinte.ucoz.ro/Forum/Aspect/mini_chat/Stilurile.txt din Aspectul intrărilor. Copiați textul și adăugați-l la sfârșit în Stilul foii (CSS).

Rezultatul:
 
  • Pagina 1 din 2
  • 1
  • 2
  • »
Căutare:
Copyright © 2019. Toate drepturile rezervate
Politicieni | Acţiunea 2012 | Powered by uCoz