Форум по программам и оборудованию > >

Изменения на сервере (часть вторая)

19.10.2019 9:04


06.09.2019 13:09
OlegON
 
[IMPORTANT] удален, выяснилось, что народ его тыкал вообще от балды и в большинстве случаев пустым
<div class="note-important"><b>Пример</b></div>

[NOTE] удален в силу малого использования и глючности на мобильниках, существующие заменены на QUOTE
<div class="note-classic"><b>Пример</b></div>

[TIP] удален в силу малого использования и глючности на мобильниках
<div class="note-tip"><b>Пример</b></div>

[WARNING] удален в силу малого использования и глючности на мобильниках
<div class="note-warning">

.note-classic, .note-important, .note-warning, .note-tip {
margin:2em;
margin-left:auto;
margin-right:auto;
width:50%!important;
min-height:20px;
clear:both;
text-align:justify;
vertical-align:middle;
border-collapse:collapse;
padding:13px 13px 13px 90px;
background-position:20px 50%;
background-repeat:no-repeat;
-moz-border-radius:20px;
-khtml-border-radius:20px;
-webkit-border-radius:20px;
border-radius:20px; }

.note-classic {
background-color:#eef;
background-image:url(../../images/bbcodes/note.png);
}
.note-important {
background-color:#FCC;
background-image:url(../../images/bbcodes/important.png);border: 1px solid #F66;
}
.note-warning {
background-color:#fdd;background-image:url(../../images/bbcodes/warning.png);
}
.note-tip {
background-color:#dfd;background-image:url(../../images/bbcodes/tip.png);
}

заготовки рекламные

window.matchMedia("only screen and (max-device-width:970px)").matches

<div style="text-align:center;margin:0 auto;padding:2px;width:100%"><div id="yandex_rtb_R-A-19006-43"></div></div>

<if condition="is_member_of($vbulletin->userinfo, 48)">
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: "ca-pub-8894202013852067",
enable_page_level_ads: true
});
</script>
</if>

<div style="text-align:center;margin:0 auto;padding:2px;width:100%" id="yandex_rtb2"></div>
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
(function(w, d, n, s, t) {
if(window.innerWidth >= 768) { var rtbBlockID = "R-A-19006-40"; }
else { var rtbBlockID = "R-A-19006-45"; }
w[n] = w[n] || [];
w[n].push(function() {
Ya.Context.AdvManager.render({
blockId: rtbBlockID,
renderTo: "yandex_rtb2",
async: true,
}, function() {
var g = document.createElement("ins");
g.className = "adsbygoogle";
g.style.display = "block";
g.setAttribute("data-ad-client", "ca-pub-8894202013852067");
g.setAttribute("data-ad-slot", "3529193074");
g.setAttribute("data-ad-format", "auto");
g.setAttribute("data-full-width-responsive", "true");
document.getElementById("yandex_rtb").appendChild(g);
(adsbygoogle = window.adsbygoogle || []).push({});
});
});
t = d.getElementsByTagName("script")[0];
s = d.createElement("script");
s.type = "text/javascript";
s.src = "//an.yandex.ru/system/context.js";
s.async = true;
t.parentNode.insertBefore(s, t);
})(this, this.document, "yandexContextAsyncCallbacks");
</script>

<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- Медийный форума -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-8894202013852067"
data-ad-slot="3529193074"
data-ad-format="auto"
data-full-width-responsive="true"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>


<script>
(function(w, d, n, s, t) {
if (window.matchMedia("only screen and (max-device-width:970px)").matches){var m="R-A-19006-24";}else{var m="R-A-19006-26";}
w[n] = w[n] || [];
w[n].push(function() {
Ya.Context.AdvManager.render({
blockId: m,
statId: 78,
renderTo: "yartb1",
async: true
});
});
t = d.getElementsByTagName("script")[0];
s = d.createElement("script");
s.type = "text/javascript";
s.src = "//an.yandex.ru/system/context.js";
s.async = true;
t.parentNode.insertBefore(s, t);
})(this, this.document, "yandexContextAsyncCallbacks");
</script>

********** first_post

<if condition="is_member_of($vbulletin->userinfo, 48)">
<ins class="adsbygoogle"
style="display:block; text-align:center;"
data-ad-layout="in-article"
data-ad-format="fluid"
data-ad-client="ca-pub-8894202013852067"
data-ad-slot="5598605606"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</if>

********** navbar_below

<if condition="is_member_of($vbulletin->userinfo, 48)">
<div style="text-align:center;margin:0 auto;padding:2px;width:100%" id="yandex_rtb"></div>
<script>
(function(w, d, n, s, t) {
if(window.matchMedia("only screen and (max-device-width:970px)").matches) { var rtbBlockID = "R-A-19006-44"; }
else { var rtbBlockID = "R-A-19006-43"; }
w[n] = w[n] || [];
w[n].push(function() {
Ya.Context.AdvManager.render({
blockId: rtbBlockID,
renderTo: "yandex_rtb",
async: true,
}, function() {
var g = document.createElement("ins");
g.className = "adsbygoogle";
g.style.display = "block";
g.setAttribute("data-ad-client", "ca-pub-8894202013852067");
g.setAttribute("data-ad-slot", "3529193074");
g.setAttribute("data-ad-format", "auto");
g.setAttribute("data-full-width-responsive", "true");
document.getElementById("yandex_rtb").appendChild(g);
(adsbygoogle = window.adsbygoogle || []).push({});
});
});
t = d.getElementsByTagName("script")[0];
s = d.createElement("script");
s.type = "text/javascript";
s.src = "//an.yandex.ru/system/context.js";
s.async = true;
t.parentNode.insertBefore(s, t);
})(this, this.document, "yandexContextAsyncCallbacks");
</script>
</if>

********** footer_start

<!--noindex-->
<div style="text-align:center;margin:0 auto;padding:2px;width:100%" id="yandex_rtb2"></div>
<script>
(function(w, d, n, s, t) {
if(window.matchMedia("only screen and (max-device-width:970px)").matches) { var rtbBlockID = "R-A-19006-45"; }
else { var rtbBlockID = "R-A-19006-40"; }
w[n] = w[n] || [];
w[n].push(function() {
Ya.Context.AdvManager.render({
blockId: rtbBlockID,
renderTo: "yandex_rtb2",
async: true,
}, function() {
var g = document.createElement("ins");
g.className = "adsbygoogle";
g.style.display = "block";
g.setAttribute("data-ad-client", "ca-pub-8894202013852067");
g.setAttribute("data-ad-slot", "3529193074");
g.setAttribute("data-ad-format", "auto");
g.setAttribute("data-full-width-responsive", "true");
document.getElementById("yandex_rtb").appendChild(g);
(adsbygoogle = window.adsbygoogle || []).push({});
});
});
t = d.getElementsByTagName("script")[0];
s = d.createElement("script");
s.type = "text/javascript";
s.src = "//an.yandex.ru/system/context.js";
s.async = true;
t.parentNode.insertBefore(s, t);
})(this, this.document, "yandexContextAsyncCallbacks");
</script>

<!--/noindex-->

--------------------------------------------------------------- ad_navbar_below
<if condition="$show['guest'] OR is_member_of($vbulletin->userinfo, 48)">
<div style="text-align:center;margin:0 auto;padding:2px;width:90%" id="yandex_rtb"></div>
<script>
(function(w, d, n, s, t) {
if(window.matchMedia("only screen and (max-device-width:970px)").matches) { var rtbBlockID = "R-A-19006-44"; }
else { var rtbBlockID = "R-A-19006-43"; }
w[n] = w[n] || [];
w[n].push(function() {
Ya.Context.AdvManager.render({
blockId: rtbBlockID,
renderTo: "yandex_rtb",
async: true,
}, function() {
var g = document.createElement("ins");
g.className = "adsbygoogle";
g.style.display = "block";
g.style.textAlign = "center";
g.setAttribute("data-ad-layout", "in-article");
g.setAttribute("data-ad-format", "fluid");
g.setAttribute("data-ad-client", "ca-pub-8894202013852067");
g.setAttribute("data-ad-slot", "5598605606");
document.getElementById("yandex_rtb").appendChild(g);
(adsbygoogle = window.adsbygoogle || []).push({});
});
});
t = d.getElementsByTagName("script")[0];
s = d.createElement("script");
s.type = "text/javascript";
s.src = "//an.yandex.ru/system/context.js";
s.async = true;
t.parentNode.insertBefore(s, t);
})(this, this.document, "yandexContextAsyncCallbacks");
</script>
</if>

--------------------------------------------------------------- ad_footer_start

<if condition="THIS_SCRIPT != 'search'">
<div style="text-align:center;margin:0 auto;padding:2px;width:100%" id="yandex_rtb2"></div>
<script>
(function(w, d, n, s, t) {
if(window.matchMedia("only screen and (max-device-width:970px)").matches) { var rtbBlockID = "R-A-19006-45"; }
else { var rtbBlockID = "R-A-19006-40"; }
w[n] = w[n] || [];
w[n].push(function() {
Ya.Context.AdvManager.render({
blockId: rtbBlockID,
renderTo: "yandex_rtb2",
async: true,
}, function() {
var g = document.createElement("ins");
g.className = "adsbygoogle";
g.style.display = "block";
g.style.textAlign = "center";
g.setAttribute("data-ad-layout", "in-article");
g.setAttribute("data-ad-format", "fluid");
g.setAttribute("data-ad-client", "ca-pub-8894202013852067");
g.setAttribute("data-ad-slot", "5598605606");
document.getElementById("yandex_rtb").appendChild(g);
(adsbygoogle = window.adsbygoogle || []).push({});
});
});
t = d.getElementsByTagName("script")[0];
s = d.createElement("script");
s.type = "text/javascript";
s.src = "//an.yandex.ru/system/context.js";
s.async = true;
t.parentNode.insertBefore(s, t);
})(this, this.document, "yandexContextAsyncCallbacks");
</script></if>

--------------------------------------------------------------- ad_showthread_firstpost
<if condition="$show['guest'] OR is_member_of($vbulletin->userinfo, 48)">
<div style="text-align:center;margin:0 auto;padding:2px;width:90%" id="yandex_rtb2"></div>
<script>
(function(w, d, n, s, t) {
if (window.matchMedia("only screen and (max-device-width:970px)").matches){var rtbBlockID="R-A-19006-46";} else {var rtbBlockID="R-A-19006-42";}
w[n] = w[n] || [];
w[n].push(function() {
Ya.Context.AdvManager.render({
blockId: rtbBlockID,
renderTo: "yandex_rtb2",
async: true,
}, function() {
var g = document.createElement("ins");
g.className = "adsbygoogle";
g.style.display = "block";
g.style.textAlign = "center";
g.setAttribute("data-ad-layout", "in-article");
g.setAttribute("data-ad-format", "fluid");
g.setAttribute("data-ad-client", "ca-pub-8894202013852067");
g.setAttribute("data-ad-slot", "5598605606");
document.getElementById("yandex_rtb2").appendChild(g);
(adsbygoogle = window.adsbygoogle || []).push({});
});
});
t = d.getElementsByTagName("script")[0];
s = d.createElement("script");
s.type = "text/javascript";
s.src = "//an.yandex.ru/system/context.js";
s.async = true;
t.parentNode.insertBefore(s, t);
})(this, this.document, "yandexContextAsyncCallbacks");
</script>
</if>
03.10.2019 16:16
OlegON
 
Поправил отображение заголовка в поиске и отключил цензор.
05.10.2019 22:10
OlegON
 
сегодня умелец вытащил половину хранилища... аж канал сел на час ночью... пришлось ввести капчу...

Форум на базе vBulletin®
Copyright © Jelsoft Enterprises Ltd.
В случае заимствования информации гипертекстовая индексируемая ссылка на Форум обязательна.