Dzięki temu skryptowi możemy ustawić posty w danym temacie.
▼Ustawienia
Informacja - kod pozwala na dodanie boxa nad lub pod pierwszym postem [SS]
[class=informacja]1[/class]
[class=infotitle]Nazwa belki[/class]
[class=infobox]Treść Box[/class]
1- nad postem 2- pod postem
Układ - możemy usunąć lewą stronę posta i zostawić aby treść [SS]
Status - pozwala na ukrycie statusu usera (on/off) [SS]
1-usuwa status tylko z 1 posta 2- usuwa status z każdego posta
Sygnaturka - usuwa sygnaturkę z pierwszego lub z wszystkich postów [SS]
[class=sygnaturka]1[/class]
1-usuwa sygnaturkę tylko z 1 posta 2- usuwa sygnaturkę z każdego posta
BY KOD DZIAŁAŁ NA KAŻDEJ STRONIE TEMATU TRZEBA ZAZNACZYĆ "Wyświetlaj tą wiadomość na wszystkich stronach tego wątku" [SS]
▼Ogłoszenie
<script>
jQuery(document).ready(function() {
// SKRYPT USTAWIEŃ POSTÓW NAPISAŁ PRO14AB
/// box przed postem 1-nad postem 2- pod postem
jQuery(".firstpost .postmsg .informacja:first:contains('1')").val(function() {
jQuery('.firstpost').before('<div id="postinfobox" class="block"><h2><span></span></h2><div class="box"><div class="inbox"><span></span></div></div></div>');
});
jQuery(".firstpost .postmsg .informacja:first:contains('2')").val(function() {
jQuery('.firstpost').after('<div id="postinfobox" class="block"><h2><span></span></h2><div class="box"><div class="inbox"><span></span></div></div></div>');
});
jQuery(".firstpost .postmsg .infotitle:first").clone().prependTo( "#postinfobox H2 span:first" );
jQuery(".firstpost .postmsg .infobox:first").clone().prependTo( "#postinfobox .inbox span:first" );
jQuery(".firstpost .postmsg .informacja:first").css('display','none');
jQuery(".firstpost .postmsg .infotitle:first").css('display','none');
jQuery(".firstpost .postmsg .infobox:first").css('display','none');
/// usuniecie lewej strony posta 1- usuwa
jQuery(".firstpost .postmsg .uklad:first:contains('1')").val(function() {
jQuery('.firstpost .postleft').remove();
jQuery('.firstpost .postright').css('border-left-width','0px');
jQuery(".firstpost .postmsg .uklad:first").css('display','none');
});
///status (online/offline) 1- usuwa tylko w pierwszym poście 2-usuwa w każdym poście
jQuery(".firstpost .postmsg .status:first:contains('1')").val(function() {
jQuery('.firstpost .postfootleft').remove();
jQuery(".firstpost .postmsg .status:first").css('display','none');
});
jQuery(".firstpost .postmsg .status:first:contains('2')").val(function() {
jQuery('.postfootleft').remove();
jQuery(".firstpost .postmsg .status:first").css('display','none');
});
///sygnaturka 1- usuwa tylko w pierwszym poście 2-usuwa w każdym poście
jQuery(".firstpost .postmsg .sygnaturka:first:contains('1')").val(function() {
jQuery('.firstpost .postsignature').remove();
jQuery(".firstpost .postmsg .sygnaturka:first").css('display','none');
});
jQuery(".firstpost .postmsg .sygnaturka:first:contains('2')").val(function() {
jQuery('.postsignature').remove();
jQuery(".firstpost .postmsg .sygnaturka:first").css('display','none');
});
});
</script>
Jeżeli masz jakieś pomysł na dodanie/zmienienie czegoś w tym skrypcie to pisz
Discord: pro14ab#3318
>> GitHub <<
Polecam