MaxRom | Scripturi uCoz Romania

Bannerul tau aici
[ Mesaje noi · Membrii · Regulamentul forumului · RSS ]
Pagina 1 din 11
Forum » uCoz system » Forum » Contenturi (Info, waring, e.t.c....)
Contenturi (Info, waring, e.t.c....)
Muşatinu Date: Luni, 2011-05-30, 16:03 | Message # 1
Mesaje: 1799
Awards: 202
« 52 »



Codul dat il postati dupa tegul $BODY$ din
General appearance of forum pages

Code
<style>     
#texterror1{background:#f6dede;border:1px solid #c27e7e;padding:10px;}     
#texterror2{background:#f1f1f1;border:1px solid #cfcfcf;padding:10px;}     
#texterror3{background:#bce1f9;border:1px solid #70c4fa;padding:10px;}     
#texterror4{background:#86E9A7;border:1px solid #409E6A;padding:10px;}     
#grb{background:#fbefef;padding:4px;border-top:1px solid #c27e7e;border-left:1px solid #c27e7e;border-right:1px solid #c27e7e;font-size:12px;}     
#rkb{background:#f8f8f8;padding:4px;border-top:1px solid #cfcfcf;border-left:1px solid #cfcfcf;border-right:1px solid #cfcfcf;font-size:12px;}     
#svb{background:#daf0fe;padding:4px;border-top:1px solid #70c4fa;border-left:1px solid #70c4fa;border-right:1px solid #70c4fa;font-size:12px;}     
#surs{background:#AFF1C5;padding:4px;border-top:1px solid #409E6A;border-left:1px solid #70c4fa;border-right:1px solid #70c4fa;font-size:12px;}     
</style>     
<script type="text/javascript">     
<?if(($GROUP_ID$='4'))?>$('#spoiler').after('<input title="get" id="warningmess" style="background:#fbefef;border:1px solid #c27e7e;margin-left:4px;" value="Adauga un content" style="margin-left:4px;" class="codeButtons" type="button">');<?endif?>     

$('.bbtag').each(function() {     
messforum = $(this).html();     
rm = messforum.replace(/\[texterror1\]/gi,'<div id="grb"><b>Atentie!!!</b></div><div id="texterror1">').replace(/\[\/texterror1\]/gi,"</div>")
.replace(/\[texterror2\]/gi,'<div id="rkb"><b>Useri</b></div><div id="texterror2">').replace(/\[\/texterror2\]/gi,"</div>")
.replace(/\[texterror3\]/gi,'<div id="svb"><b>Info</b></div><div id="texterror3">').replace(/\[\/texterror3\]/gi,"</div>")
.replace(/\[texterror4\]/gi,'<div id="surs"><b>Sursa si modificatii</b></div><div id="texterror4">').replace(/\[\/texterror4\]/gi,"</div>")
$(this).html(rm);     
});     
$('#warningmess').click(function() {     
new _uWnd('warmess','Content nou',500,500,{align:0,shadow:0,close:1,autosize:1,maxh:800,minh:300,resize:0}, '<fieldset><select id="tw"><option value="texterror1">Atentionare la script</option><option value="texterror2">Useri</option><option value="texterror3">Info</option><option value="texterror4">Sursa si modificatii</option></select></fieldset><fieldset><legend>Continutul butonului<span style="margin-top:5px;" id="ertxt"></span></legend><textarea id="warningtext" style="width:100%"></textarea></fieldset><fieldset><div style="float:left"><table border="0" cellpadding="0" cellspacing="0" onmousedown="this.className=\'downBtn\'" onmouseover="this.className=\'overBtn\'" onmouseout="this.className=\'outBtn\'"><tr><td class="myBtnLeft"><img alt="" border="0" src="http://s1.ucoz.net/img/1px.gif"/></td><td class="myBtnCenter"><div class="myBtnCont x-unselectable" unselectable="on"><a href="javascript://" onclick="lp()">Adauga</a> </div> </td><td class="myBtnRight"><img alt="" border="0" src="http://s1.ucoz.net/img/1px.gif"/></td></tr></table></div></fieldset>' )     
});     
function lp() {     
if($('#warningtext').val().length <= '5'){$('#ertxt').html(' - <font color="red">nu ati adaugat continut</font>')}     
else{gettxt();_uWnd.close('warmess');$('#ertxt').html('')}     
}     
function gettxt() {     
var textmesswarning = $('#warningtext').val();var texttypewarning = $('#str').val();$('#tw option:selected').each(function() {var polemtext = $(this).val();document.getElementById('message').value+='['+polemtext+']'+textmesswarning+'[/'+polemtext+']';});     
if($("#privtxt").attr('checked')){$('#frF16').click()}     
}     
</script>


In Appearance of entries cautati tegul $MESSAGE$ si inlocuiti cu:
Code
<?if($GROUP_ID$='4' or $GROUP_ID$='3')?><div class="bbtag">$MESSAGE$</div><?else?>$MESSAGE$<?endif?>


[texterror3]Puteti adauga propriile boxe cate vreti si ce culori vreti.[/texterror3]

[texterror4]Sursa: webo4ka
Traducere: MaxRom
[/texterror4]
Attachments: 5602404.png(39Kb)



 
Markus3 Date: Luni, 2011-05-30, 18:54 | Message # 2
Mesaje: 134
Awards: 3
« 2 »

[texterror3]Ceva chiar interesant. [/texterror3]

 
Devil Date: Luni, 2011-05-30, 20:54 | Message # 3
Mesaje: 425
Awards: 15
« 29 »

[texterror2]Va rog nu faceti abuz de contenturi , acestea se folosesc doar in scopuri utile [/texterror2]

 
Muşatinu Date: Luni, 2011-05-30, 20:58 | Message # 4
Mesaje: 1799
Awards: 202
« 52 »

Devil, da si tu nu fa :P cu atat mai mult ca ca trebuia sa folosesti Boxa cu Titlu Atentie :D



 
Devil Date: Luni, 2011-05-30, 21:05 | Message # 5
Mesaje: 425
Awards: 15
« 29 »

Muşatinu, ma refeream la toti useri si de aia am folosit aia , si nu o sa fac abuz de comanda :) nu iti fa grija >:)

 
DarkLight Date: Duminică, 2012-06-10, 19:26 | Message # 6
Mesaje: 2
Awards: 2
« 0 »

de ce imi apare eroarea asta ?

 
Muşatinu Date: Duminică, 2012-06-10, 19:45 | Message # 7
Mesaje: 1799
Awards: 202
« 52 »

DarkLight, am incercat pe alt site, functioneaza pefect. in Aspectul materialului dvs nu ati inlocuit tegul
$MESSAGE$ cu
Code
<?if($GROUP_ID$='4' or $GROUP_ID$='3')?><div class="bbtag">$MESSAGE$</div><?else?>$MESSAGE$<?endif?>
, ci l-ati pus alaturi.



 
DarkLight Date: Duminică, 2012-06-10, 19:52 | Message # 8
Mesaje: 2
Awards: 2
« 0 »

hmmm da am inteles eu gresit,ms

 
Forum » uCoz system » Forum » Contenturi (Info, waring, e.t.c....)
Pagina 1 din 11
Căutare: