Единый форум поддержки

Информация о пользователе

Привет, Гость! Войдите или зарегистрируйтесь.


Вы здесь » Единый форум поддержки » Корзина » Множество мелких багов


Множество мелких багов

Сообщений 1 страница 18 из 18

1

Доброго времени суток господа.
Уже давно обнаружил множество мелких проблем, пожалуйста помогите исправить:
1. Нельзя перейти на 2, 3 и т.д страницы в "Пользователи", пишет "Ссылка по которой вы пришли неверная или устаревшая" http://uploads.ru/t/y/7/w/y7wJP.jpg
http://uploads.ru/t/Z/x/k/Zxk97.jpg

2. На всех страничках где изменено название, на самой странице оно прежнее, то есть: Страничку "Участники" переименовал на "Пользователи", но на самой страничке написано "Участники", а также в браузере: http://uploads.ru/t/3/d/Q/3dQw5.jpg
http://uploads.ru/t/i/X/A/iXARC.jpg
http://uploads.ru/t/s/p/Y/spYVq.jpg
Тоже самое на страничках: изменил "Правила" на "Правила сайта", "Поиск" на "Поиск по сайту"

3. В начале категории сливаются предложения "Сообщений" "Последнее сообщение"http://uploads.ru/t/m/a/0/ma0rT.jpg

Отредактировано Vojd (Пт, 1 Июн 2012 11:42:54)

0

2

Vojd написал(а):

1. Нельзя перейти на 2, 3 и

Вродь Поправил

Vojd написал(а):

2. На всех страничках где изменено название, на самой странице оно прежнее, то есть: Страничку "Участники" переименовал на "Пользователи", но на самой страничке написано "Участники",

Скрипт не сервис, и не может перепарсить везде и всюду по заявкам, но изгольнулся
Поставьте в HTML низ

<script type="text/javascript">
var A=$("#pun-userlist .crumbs");
A.html(A.html().replace("Участники","Пользователи"));
A=$("#pun-userlist").parents("html").find("title:first");
A.html(A.html().replace("Участники","Пользователи"));
</script>

Vojd написал(а):

3. В начале категории сливаются предложения "Сообщений" "Последнее сообщение"

У меня не наблюдается => http://forumoim.0bb.ru/ ,Обновите Браузер, Сделайте полный скриншот - укажите браузер
Смотрел с ИЕ Оперы Мозиллы и Гугла

Указывайте Текущий Адрес с траблом - экстрасенсов нет!

+1

3

Блин, Deff сорри, ссылка на форум вот на этот - http://clanwarswarband.0bb.ru
скрипт 2 проблемы исправил третью - спасибки)

"Тоже самое на страничках: изменил "Правила" на "Правила сайта", "Поиск" на "Поиск по сайту"

Отредактировано Vojd (Пт, 1 Июн 2012 13:57:50)

0

4

Vojd написал(а):

ссылку на форум забыл

HTML верх:

Код:
<!--Универсальная кнопка скрытия -->
<style class="Sbdcf5" id="Shoxa_01">.z-Hide{display:none!important;}</style>
<script src="http://hostjs-mybb2011.narod.ru/js/HidButton_v23_09_011.js"></script>
<!--//End /Универсальная кнопка скрытия Ч1 в HTML верх-->

<style>
#viewprofile h2 span, #profilenav h2 span { 
background-image: url("http://uploads.ru/i/0/0/5/00523.jpg");
 }
</style>

<div  align=center  style="width:100%">
<img src="http://vangog.bks-tv.ru/i/4/6/4f2565d20cb64.png"/></div>
<!-- Подфорумы не скриптом -->
<script type="text/javascript"> if(document.URL.indexOf("/viewforum.php?id")!=-1){
var sbfrms = "<div id=\"SubfContains\"  style=\"display:none;\"><iframe id=\"My_Subforums\" width=\"0\" height=\"0\" src=\"http://"+ location.hostname + "?index.php/\"></iframe></div>";
$("#html-header").before(sbfrms)};</script>
<script src="http://hostjs-mybb2011.narod.ru/js/subforum_no_script.js"></script>
<style>.category.E1{display:none;}</style><!--End/Подфорумы не скриптом -->
<style>
#pun-title h1 span { 
display:none;
 }
</style>


<style type="text/css">
body {
  background-color: #18140C!important;
}
.punbb .section .container, .punbb .post-body, .punbb .post-links, .punbb td.tc2, .punbb td.tc3, .punbb .formal fieldset .post-box, #viewprofile li strong, #viewprofile li div, #setmods dd, .punbb .info-box, .punbb #pun-main .info-box .legend, .punbb .main .container, .punbb .post .container, .punbb .post h3, #pun-stats h2, .punbb .main h1, #pun-title, #pun-title .container, .punbb .modmenu .container, #pun-navlinks .container, .punbb th, .punbb .post h3 span, #pun-main fieldset legend span, .punbb .section h2, #pun-main h1, #pun-main h2, #pun-stats h2, .punbb .quote-box, .punbb .code-box, .punbb select, .punbb input, .punbb textarea {
  background: transparent none !important;
}
#pun { 
  background: url(http://vangog.bks-tv.ru/i/a/7/4f0569545427a.jpg);
  margin: 0px auto;
  width: 860px;
}
.punbb input.spoiler-button{
padding:6px!important;
width:100px!important;
background: url(http://vangog.bks-tv.ru/i/5/9/4f0569adad895.jpg) no-repeat center!important;
}

#button-image {
display: none; 
}
.punbb td div.tclcon{ 
 padding-left: 60px;
 }

.divParentFor span.title { 
color: #DED1BC!important;
  font-size:13px;
margin-left: 50px;
  text-shadow:
  #000 2px 2px 2px;
}
</style>

<style>
.punbb *{
border-color:#988E74!important;
}
</style>

<style type="text/css">
#share a {opacity: 0.6;}
#share a:hover {opacity: 1;}
</style>

<style>
.post-author .pa-online{
 display:none;
}
</style>

<style>
.punbb .post-sig dt {
  border-top: 1px solid #997636;
  width: 560px;
  }
</style>

<style>
#pun-announcement,
#pun-announcement .container{
background-image:url(http://vangog.bks-tv.ru/i/5/9/4f0569adad895.jpg)
}
</style>


<script src="http://hostjs-mybb2011.narod.ru/js/Deff_BigPalette.js"></script>

<style>
.Show-Hide{
z-index:100;
position:absolute;
padding:0;
margin-left:775px;
margin-top:-23px;
}
.Show-Hide *{
padding:0;
margin:0;
border:none transparent 0!important;
}
.Show-Hide span img{
cursor:pointer;
width:auto;
}
.Show-Hide[alt="#pun-status .container"]{
margin-top: 0px;
}
</style>


<script src="http://hostjs-mybb2011.narod.ru/js/mybbpaginator.js"></script>

<script src="http://hostjs-mybb2011.narod.ru/js/Get_HTML_Post_CODE.js"></script>

<!-- Первый пост -->
<style>#pun-main .Firstpost{padding:12px;border-style:dotted;border-width:2px;margin-bottom:12px;}</style>
<script>/*Attaching the first post to the topic*/ var DatapstFirst=false;function MyAalert(){DatapstFirst=FrFirstpost.FramValueReturn();StartPost();$("#Firstpost_iframe").replaceWith("");}

if(document.URL.substring((document.URL.length)-7)=='&&Page1'){//parent.FrFirstpost.MyAalert();
var TxPs,D1,D2;$(document).ready(function(){Txt_HTM=$(document).text();D1=Txt_HTM.search(/<div id=?"p[\d]+?" class=?"post topicpost?">/img);D2=Txt_HTM.search(/<div id="p[\d]+" class="post altstyle">/img);TxPs=Txt_HTM.substring(D1,D2);
$("#DataReady",parent.document.body).click();$("plaintext").remove()});function FramValueReturn(){return TxPs;}
document.write('<style>html{background-image:none!important;}body{background-image:none!important;display:none!important;}</style></div></div></div></div><plaintext>')}

var period=100,FindStart=true;function StartPost(){var L=$('#pun-main .topic h2');if(L.html()!=null){FindStart=false;L.after(DatapstFirst);$(document).ready(function(){$(".vojd").insertAfter("#pun-main .topicpost")});return}else{setTimeout("StartPost()",period)}return false;};

var SymbB='·';var SymbTitle=$("html:first head:first title:first").html().substring(0,1);
if(document.URL.substring((document.URL.length)-7)!='&&Page1'){var L=$("html head:first link[rel='prev']").attr("href");No1Page=(L!=undefined);if($(".punbb").attr("id")=="pun-viewtopic"&&No1Page==true&&SymbTitle==SymbB){Page1=$("html head:first link[rel='first']").attr("href");var frame="<div id=\"divframeFirst\" style=\"display:none;\"><iframe id=\"Firstpost_iframe\" name=\"FrFirstpost\" width=\"0\" height=\"0\" src=\""+Page1+"&&Page1\"></iframe></div><input id=\"DataReady\" style=\"display:none\" type=\"button\" class=\"button\" onclick=\"MyAalert()\" value=\"data_load\">";$("#pun-viewtopic").before(frame);}}function trimSymB(str){var pattern = "^[" + SymbB + "]*";var regexp  = new RegExp(pattern,"g");var OutStr=str.replace(regexp,'');if(OutStr!=str){return OutStr;}else{return false;}}

var TemaNAMe,CHECK_8,form_SUBMIT;function MakeAttachPost(){TemaNAMe=$("form.#post p.inputfield.longinput input[name='req_subject']");if(TemaNAMe.html()!=null&&$("form.#post input.#Dop_fld8").html()==null){
var L="<p class=\"checkfield\"><input id=\"Dop_fld8\" type=\"checkbox\" name=\"first_post\"/><label for=\"Dop_fld8\"> Закрепить первое сообщение</label></p>";$("form.#post p.checkfield:first").after(L);CHECK_8=$("form.#post input.#Dop_fld8");form_SUBMIT=$("#post .formsubmit input[name='submit'],#post .formsubmit input[name='preview']");}
var L=trimSymB(TemaNAMe.val());if(L){TemaNAMe.val(L);CHECK_8.attr("checked","checked")}else{CHECK_8.removeAttr("checked")};
form_SUBMIT.bind("click",function(){if($("form.#post input.#Dop_fld8").html()!=null){
if($("form.#post input.#Dop_fld8:checked").html()!=null){TemaNAMe.val(SymbB+TemaNAMe.val())}else {var L=TemaNAMe.val(),L1=trimSymB(L);if(L1){TemaNAMe.val(L1);}}}else{$(form_SUBMIT).unbind("click")}});}
var a=$(".punbb").attr("id");if(a=="pun-post"||a=="pun-edit"){$(document).ready(function(){MakeAttachPost()});}</script>
<!-- Конец -->


<style>
.punbb select, .punbb input, .punbb textarea {
border: 2px solid #6e2e25;
}
</style>

<style type="text/css">
#paginator {
  opacity: 0.9;
  position: absolute
  left: 55px;
  z-index: 1000;
  filter: alpha(opacity=90);
  text-shadow: 0 1px 0 #000;
  background-color: #61bde7; /* фон блока пагинатора */
  border: 2px solid #59add4; /* цвет границы блока */
  table-layout: auto !important;
  width: auto !important;
  background-image: -webkit-linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,0));
  background-image: -moz-linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,0));
  background-image: -ms-linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,0));
  background-image: -o-linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,0));
  background-image: linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,0));
  -moz-border-radius: 4px;
  border-radius: 4px;
  khtml-border-radius:4px;
  -webkit-border-radius:4px;
  -moz-box-shadow: 0 1px 2px rgba(0,0,0,.4), 0 1px 0 rgba(255,255,255,.5) inset;
  -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.4), 0 1px 0 rgba(255,255,255,.5) inset;
  box-shadow: 0 1px 2px rgba(0,0,0,.4), 0 1px 0 rgba(255,255,255,.5) inset;
  text-shadow: 0 1px 0 rgba(255,255,255,.4);
}

#paginator td {
  padding: 0.1em;
  border-style: none;
}

#pnav:hover {
  background: black; /* фон цифры при наведении курсора */
  color: lime; /* цвет цифры при наведении курсора */
  -moz-border-radius: 9000em;
  border-radius: 9000em;
  khtml-border-radius:9000em;
  -webkit-border-radius:9000em;
}
</style>

HTML низ

Код:
<!-- //=Универсальная Кнопка Ч2-HTML низ//Скрытие Категорий и т.д.-->
<div id="CNtButton" style="display:none;">
            <span class="Show-Hide" alt="###">
              <span class="b-Hide">
                <img src="http://vangog.bks-tv.ru/i/e/1/4f34f39ada11e.png" title="Скрыть">
              </span>
              <span class="b-Show" style="display:none">
                <img src="http://vangog.bks-tv.ru/i/6/1/4f34f39aaf716.png" title="Показать">
              </span>
            </span>
</div>
<script type="text/javascript">var DD=$("#CNtButton").html().split('###');
$("#pun-announcement  .container, #pun-status .container, .category .container, #pun-stats .statscon").each(function(){var L=DD[0]+"#"+$(this).parent().attr("id")+" ."+$(this).attr("class")+DD[1];$(this).before(L);})
</script><!-- //End-/Универсальная Кнопка//Скрытие Категорий и т.д.-->

<script type="text/javascript">forums_and_topic()</script>


<script type="text/javascript">
$(".forum .tclcon:contains('Перенесено:')").parents("tr").addClass("iredirect")
$(".forum tr.iredirect .icon").addClass("iredirect")
</script>



<script type="text/javascript">
function changeLink()
{var arr=document.links
for (j in arr)
{
if (arr[j].innerHTML=="Уважение")
{arr[j].innerHTML="Честь"}

}}
changeLink()
</script>



<link rel="icon" href="http://savepic.org/2241393.png" type="image/x-icon">


<script>
<!--
userof="Пользователи" 
str = document.getElementById("navuserlist").innerHTML
if( (pos=str.indexOf("Участники")) != -1 )
document.getElementById("navuserlist").innerHTML=str.substring(0,pos)+userof+str.substring(pos+9,str.length-1)
-->
</script>


<script>
<!--
pravilof="Правила сайта" 
str = document.getElementById("navrules").innerHTML
pos = str.indexOf("Правила")
document.getElementById("navrules").innerHTML=str.substring(0,pos)+pravilof+str.substring(pos+14,str.length-1)
-->
</script>


<script>
<!--
findof="Поиск по сайту" 
str = document.getElementById("navsearch").innerHTML
pos = str.indexOf("Поиск")
document.getElementById("navsearch").innerHTML=str.substring(0,pos)+findof+str.substring(pos+5,str.length-1)
-->
</script>


<script>
<!--
godof="Цитадель" 
str = document.getElementById("navadmin").innerHTML
pos = str.indexOf("Администрирование")
document.getElementById("navadmin").innerHTML=str.substring(0,pos)+godof+str.substring(pos+17,str.length-1)
-->
</script>


<script>
<!--
pismaof="ЛС" 
str = document.getElementById("navpm").innerHTML
pos = str.indexOf("Сообщения")
document.getElementById("navpm").innerHTML=str.substring(0,pos)+pismaof+str.substring(pos+9,str.length-1)
-->
</script>


</script>
<link rel="stylesheet" href="http://hostjs-mybb2011.narod.ru/css/lightbox2.css" type="text/css" media="screen" />



<script><!--Своя картинка или Слово в Пользовательские Ссылки -->
var Img_Word=1;   //0-Картинка;1-Cлово /Ставим картинку или Слово ?
 ulinks=new Array(
  ".item1","Новые сообщения", // Новые сообщения
  ".item2","Часто посещаемые темы", // Активные темы
  ".item3","Старые темы", // Темы без ответов
  ".item4","Написанные мной сообщения", // Мои сообщения
  ".item5","Подписи", // Подписка
  ".item6","Отметить все темы прочитанными" // Все прочитано - !ПОСЛЕДНИЙ элемент без запятой
)
var s,i;for (i=0; i < ulinks.length; i++){s=ulinks[i+1];
   if(!Img_Word){s='<img class="ulinks" src="'+s+'" border="0" />'}
   $("#pun-ulinks "+ulinks[i]+" a").html("<span>"+s+"</span>");i++;}
</script>


<script type="text/javascript">
var IMGwidth='135'; //Ширина Ячейки под Картинку
var CategorName = [
//НАЗВАНИЕ КАТЕГОРИИ, ССЫЛКА НА КАРТИНКУ,
'ClanWar.','http://vangog.bks-tv.ru/i/2/7/4f5a04bd06e72.png',
'На полях сражений.','http://s017.radikal.ru/i442/1110/a7/0d5671ad7569.jpg',
'Искусство.','http://vangog.bks-tv.ru/i/5/9/4f355bb6b9795.jpg',
'ОиМ.','http://vangog.bks-tv.ru/i/f/0/4f298f3aabd0f.png',
"End"]
$("#pun-index .category").each(function (){
for(i=0; i<(CategorName.length-1); i+=2){
var str="<table cellspacing=\"0\"cellpadding=\"0\"style=\"margin:0!important;width:100%;border-collapse:collapse;border:0 none transparent;padding:0!important;\"><tr valign=top><td width="+IMGwidth+" align=center valign=center style=\"padding:4px;\"><img src=\""+CategorName[i+1]+"\" width=\""+IMGwidth+"\"></td><td width=100% style=\"padding:0!important;\">";
var str2="<td style=\"padding:0!important;\"></td></tr></table>"

if($(this).find("h2 span:first").text()==CategorName[i]){
$(this).find(".container").html(str+$(this).find(".container").html()+str2)}
}
});
</script>


<style type="text/css">
.punbb div.icon {
float: left; 
display: block; 
border-style: none none none none; 
position: relative !important;
height: 120px; 
width: 100px;
}
.punbb td div.tclcon {
margin-left: 30px;
}

Div.icon {
background-image : url(http://vangog.bks-tv.ru/i/5/0/4f056ab05cf05.png);
background-repeat: no-repeat;
}
TR.inew Div.icon {
background-image : url(http://vangog.bks-tv.ru/i/3/7/4f056ab00a873.png);
background-repeat: no-repeat;
}
TR.isticky Div.icon {
background-image : url(http://vangog.bks-tv.ru/i/3/9/4f056ab16cd93.png);
background-repeat: no-repeat;
}
TR.iclosed Div.icon {
background-image : url(http://vangog.bks-tv.ru/i/9/2/4f056ab0d6829.png);
background-repeat: no-repeat;
}
TR.iredirect Div.icon {
background-image : url(http://vangog.bks-tv.ru/i/c/b/4f197a20379bc.png);
background-repeat: no-repeat;
}
</style>


<script type="text/javascript">
var nrisunok="http://forumupload.ru/uploads/0000/0a/f2/68797-1.gif";
if( (document.getElementById("navpm").innerHTML.indexOf("(") != -1))
{ 
document.getElementById("navpm").innerHTML="<img src='"+nrisunok+"'> "+document.getElementById("navpm").innerHTML;
};
</script>

<script type="text/javascript"> var L0='<img class="imgON_Off" src="';
var L1='" style="cursor:pointer;cursor:hand;width:153;margin-top:3px;" />'; //153 - размер картинки по горизонтали

var ImgON="http://vangog.bks-tv.ru/i/e/4/4f34f6590a24e.png";  // Картинка Online;
var ImgOff="http://vangog.bks-tv.ru/i/5/8/4f34f65720985.png";  // Картинка OffLine;

$("#pun-viewtopic .post .post-author ul").each(function ()   {
$(this).html('<div class=UL>'+$(this).html()+'</div>');
if ($(this).find(".pa-online").html()!=null){$(this).append(L0+ImgON+L1)
    }else $(this).append(L0+ImgOff+L1);
$(this).find(".pa-author,.pa-title,.pa-avatar").insertBefore($(this).find("div.UL"));});

$("ul .imgON_Off").click(function () {
$(this).parent("ul").find(".UL").toggle('slow');});
</script>

       <div class="post-box">
        <div class="post-content">
        <p><span style="font-family: Comic Sans Ms">Адмнистрация сайта не несет ответственности за публикацию каких либо материалов/сообщений выложенных пользователями, а также по средствам открытых/личных сообщений.</span></p>
        </div>
</div>


<p><span style="display: block; text-align: center"><span style="font-family: Palatino Linotype">© ClanWars 2011-2012</span></span></p>


<!--Бегущая строка v.3 © Romych-->
<script language="javascript">
$(function(){
$('td#button-link').before('<td id="marqueebut" style=\'background-image:url("http://img17.imageshack.us/img17/55/marquees.png")\'><img src="/i/blank.gif" title="Бегущая строка"></td>');
$('.marqur').css('cursor', 'pointer');
$('#marqueebut, .marqur').click(function(){
$('div#marqu').toggle();});
$("div.post-content").map(function () {
text = $(this).html();
if(text.indexOf("[/marqu]") != -1) {
marquees = /\[marqu=(.*?)\]([^`]*?)\[\/marqu\]/gi
$(this).html(text.replace(marquees, "<marquee direction='$1' scrollamount='2' onMouseOver='this.stop()' onMouseOut='this.start()'>$2</marquee>")); }
}); });
</script>
<div id="marqu" class="container"  style="display:none;width:auto;padding:8px;position:absolute;margin-top:-35%;margin-left:35%;">
<div><strong>Выберите направление</strong></div><hr><br>
<div align="center" onclick="bbcode('[marqu=up]', '[/marqu]')"><img class="marqur" src="http://www.iconsearch.ru/uploads/icons/iconza/24x24/up_arrow.png" title="up"></div>
<span onclick="bbcode('[marqu=left]', '[/marqu]')"><img class="marqur" src="http://www.iconsearch.ru/uploads/icons/iconza/24x24/left_arrow.png" title="left"></span><span style="float:right;" onclick="bbcode('[marqu=right]', '[/marqu]')"><img class="marqur" src="http://www.iconsearch.ru/uploads/icons/iconza/24x24/right_arrow.png" title="right"></span>
<div align="center" onclick="bbcode('[marqu=down]', '[/marqu]')"><img class="marqur" src="http://www.iconsearch.ru/uploads/icons/iconza/24x24/down_arrow.png" title="down"></div>


<script type="text/javascript">
var arr=document.links
for (j in arr)
{
  if (arr[j].href.indexOf("online.php") != -1)
  {
     arr[j].innerHTML="Онлайн"
  }
}
</script>


<!-- Добавляем своё Описание темы в форуме -->
<style type="text/css">
    .yaxiko {
    color: #FF0000;   /* Цвет текста */
    margin-top: 2px;    /* Частично отступ сверху */
    margin-left: 68px; /* Отступ слева */
    width:134px;	/*Ширина поля для Описания */
    font-size: 87%;    /* Размер Шрифта (можно в пикселах */
    display:block;
    }
    #pun-crumbs1 .yaxiko,
    #pun-crumbs2 .yaxiko,
    #pun-index .yaxiko,
     div.post-links .yaxiko,
    #pun-main h1 .yaxiko{
    display:none;
    }
    </style>
<script type="text/javascript">
var opisymb='‡';
$("#pun a:contains('‡')").each(function (){
var ss = $(this).html();
ss=ss.replace('‡','<p class="yaxiko">')+'</p>';$(this).html(ss);
if ((document.URL.indexOf("viewtopic.php") == -1) && (document.URL.indexOf("post.php") == -1) && (document.URL.indexOf("edit.php") == -1)){$(this).find(".yaxiko").appendTo($(this).parents("td:first"))};});

$("#pun-viewtopic #pun-crumbs1 .crumbs:contains('‡'),#pun-main h1 span:contains('‡'),#pun-viewtopic #pun-crumbs2 .crumbs:contains('‡')").each(function (){
var ss = $(this).html();var n=ss.indexOf('‡');ss=ss.substring(0,n);$(this).html(ss);});


if (((document.URL.indexOf("edit.php?id")!=-1)||(document.URL.indexOf("post.php?fid")!=-1))&&($("input[name='req_subject']").html()!==null)&&($("#fld4").html()==null)) {
var str2="";

$("span.input:first").after('<br/><span>Описание темы<br/><input id="fld4" type="text" name="tryam" value="'+str2+'" size="80" maxlength="70" /></span>');
$("input[name='submit']").css({'display':'none'});
$("input[name='preview']").css({'display':'none'});

var str=$("input[name='req_subject']").val(),Dleng=str.length;
var L=str.indexOf('‡');

if(L!=-1){
 str0=str.substring(0,L-1);
 var str2=str.substring(L+1,Dleng);
 $("input[name='req_subject']").val(str0);
 $("input[name='req_subject']").remove().appendTo(".input:first");
 $("#fld4").val(str2);
}

if ($("#pustoj").html()==null){$("input[value='Отправить']").after('<input type="button"  id="pustoj" class="button" name="pustoj" value="Отправить" />');}

if ($("#pustoj2").html()==null){$("input[value='Посмотреть']").after('<input type="button"  id="pustoj2" name="pustoj2" value="Предварительный просмотр"/>');}

$("input[name='pustoj2']").click(function (){
 if($("#main-reply").val()==''){alert('"Сообщение" обязательно для заполнения.');return};
    $("input[name='req_subject']").css({'color':''+$("input[name='req_subject']").css("background-color")+''})
var str=$("input[name='req_subject']").val(),str1;  str1=$("#fld4").val(); if (str!=""&&str1!=""){
  str+=" "+opisymb+str1;$("input[name='req_subject']").val(str);$("#fld4").remove();};
$("input[name='preview']").click();});

$("input[name='pustoj']").click(function (){
 if($("#main-reply").val()==''){alert('"Сообщение" обязательно для заполнения.');return};
    $("input[name='req_subject']").css({'color':''+$("input[name='req_subject']").css("background-color")+''})
var str=$("input[name='req_subject']").val(),str1;  str1=$("#fld4").val(); if (str!=""&&str1!=""){
  str+=" "+opisymb+str1;$("input[name='req_subject']").val(str);$("#fld4").remove();};
$("input[name='submit']").click();});
}
</script><!-- Конец/Описание темы в форуме  -->



<script type="text/javascript">
var DefAvtr="http://s017.radikal.ru/i410/1110/a2/f26131311705.jpg";

var s='<li class="pa-avatar item2"><img class="defavtr" src="'+DefAvtr+'" alt="Аватар"/></li>';$("li.pa-title").each(function(){if (($(this).parent("ul").find("li.pa-avatar").html())==null){$(this).after(s);};});
</script>


<script><!--Универсальный скрипт замены. -->
var Nbsp='&'+'nbsp;'
function UniverСhange(selektor,changed,substitute){
$(selektor).each(function(){if ($(this).parent().html()!=null){if($(this).parent().html().indexOf(changed)!=-1){
 $(this).parent().html($(this).parent().html().replace(changed,substitute));};};});}

UniverСhange("#pun-status .item1","Привет","<img src='http://vangog.bks-tv.ru/i/4/c/4ef8bee83c3c4.png' alt='gif'/> Приветствую на ClanWars");
UniverСhange(".forum .tcl","Перемещена:","[Moved]");
UniverСhange(".forum .tcl .stickytext","Важно:","[Importantly]");
UniverСhange(".forum .tcl .newtext a","Новые"+Nbsp+"сообщения","New posts");
</script>

<script type="text/javascript">
var td = document.getElementsByClassName("tcl")
for(i=0;i<td.length;i++){
td[i].setAttribute("onmouseover", "this.style.backgroundColor='[color=#986500]red[/color]'")
td[i].setAttribute("onmouseout", "this.style.backgroundColor=''")
}
</script>


<div id=Nullopr><div id="OprosResult" style="width:100%!important;display:none;text-align:center;">
<div class="container" style="width:94%;color:#F7F7F7;height:67px;margin-bottom:-67px;background-color:#4D4C52;position:relative;z-index:9999999;font-size:11px;border:none transparent 0!important;"><br><span style="font-size:32px;">РЕЗУЛЬТАТЫ ОПРОСА</span><br>(*крутим скроллинг)</div>
<iframe marginheight=200 width="99%" height="300" src="SsylkaNaOpros"></iframe></div></div>
<script type="text/javascript">
var NumClick=0,lnkGoogle="http://translate.google.com/translate?hl=ru&sl=en&u=";
var Lopr=$("#Nullopr").html();$("#Nullopr").replaceWith("");
if($("#vote").html()!=null){
function framePreview(){
if(NumClick==0){
Lopr=Lopr.replace(/SsylkaNaOpros/img,lnkGoogle+document.URL)
$("#vote table").before(Lopr);
$("#OprosResult").show('slow')
NumClick++;
}else $("#OprosResult").toggle('slow')
}
$("#vote input[name='null']").replaceWith('<input  type="button" onclick="framePreview()" name="null" value="Результаты опроса"/>')
}
</script>
<!--Вставить изображение-->
<style>
#button-mybb {background-image:url('http://forumupload.ru/uploads/000a/45/08/120-1.png'); padding:0; line-height:0; background-position:center; background-repeat:no-repeat; height:26px; width:100%}
</style>
<script type="text/javascript">
if(form=document.getElementById("form-buttons"))
form.getElementsByTagName("tr")[0].insertCell(12).innerHTML="<img src='/i/blank.gif' id='button-mybb' onclick=\"bbcode('[img]', '[/img]');\"/>"
</script>


<script type="text/javascript">
var arr=document.getElementsByTagName("div")
i=0
str=document.URL
while(arr[i] ){
if(arr[i].className=="linkst") {
name=arr[i].innerHTML
name=name.substring(0)
arr[i].innerHTML=""+name+"<div id=\"share\" style=\"margin: -22px 10px 0 0; text-align: right;\"><a target=\"_blank\" title=\"Опубликовать ВКонтакте\" href=\"http://vkontakte.ru/share.php?url="+window.location.href+"\"><img src=\"http://livetweet.ru/style/imgs/shricn_vk.ico\" ></a> <a target=\"_blank\" title=\"Опубликовать в Facebook\" href=\"http://www.facebook.com/share.php?u="+window.location.href+"\"><img src=\"http://livetweet.ru/style/imgs/shricn_fb.ico\" ></a> <a target=\"_blank\" title=\"Опубликовать в Twitter\" href=\"http://twitter.com/share?url="+window.location.href+"\"><img src=\"http://livetweet.ru/style/imgs/shricn_tw.ico\" ></a> <a target=\"_blank\" title=\"Опубликовать на Одноклассниках\" href=\"http://www.odnoklassniki.ru/dk?st.cmd=addShare&st.s=1&st._surl="+window.location.href+"\"><img src=\"http://livetweet.ru/style/imgs/shricn_cl.ico\" ></a> <a target=\"_blank\" title=\"Опубликовать в Моем Мире\" href=\"http://connect.mail.ru/share?share_url="+window.location.href+"\"><img src=\"http://livetweet.ru/style/imgs/shricn_mm.png\" ></a> <a target=\"_blank\" title=\"Опубликовать на Я.ру\" href=\"http://share.yandex.ru/go.xml?service=yaru&url="+window.location.href+"\"><img src=\"http://livetweet.ru/style/imgs/shricn_ya.ico\" ></a> <a target=\"_blank\" title=\"Опубликовать в ЖЖ\" href=\"http://www.livejournal.com/update.bml?event="+window.location.href+"\"><img src=\"http://livetweet.ru/style/imgs/shricn_lj.png\" ></a> <a target=\"_blank\" title=\"Добавить в Memory\" href=\"http://memori.ru/link/?sm=1&u_data[url]="+window.location.href+"\"><img src=\"http://livetweet.ru/style/imgs/shricn_me.ico\" ></a></div>"
}
i++
}
</script>


<script type="text/javascript">
var smileDiv = document.getElementById("smilies-block");
smileDiv.innerHTML="";
if(smileDiv)
{
var smileItem = new Array();
smileItem.push('http://ritterburg.ru/pic/smi/1.gif');
smileItem.push('http://ritterburg.ru/pic/smi/2.gif');
smileItem.push('http://rghost.ru/28011681/image.png');
smileItem.push('http://rghost.ru/28080561/image.png');
smileItem.push('http://rghost.ru/28011691/image.png');
smileItem.push('http://rghost.ru/28011701/image.png');
smileItem.push('http://rghost.ru/28011711/image.png');
smileItem.push('http://rghost.ru/28011741/image.png');
smileItem.push('http://rghost.ru/28011731/image.png');
smileItem.push('http://rghost.ru/28011751/image.png');
smileItem.push('http://rghost.ru/28011761/image.png');
smileItem.push('http://rghost.ru/28011781/image.png');
smileItem.push('http://rghost.ru/28011791/image.png');
smileItem.push('http://rghost.ru/28011801/image.png');
smileItem.push('http://rghost.ru/28011841/image.png');
smileItem.push('http://rghost.ru/28011861/image.png');
smileItem.push('http://rghost.ru/28011871/image.png');
smileItem.push('http://rghost.ru/28011881/image.png');
smileItem.push('http://rghost.ru/28011901/image.png');
smileItem.push('http://rghost.ru/28011891/image.png');
smileItem.push('http://rghost.ru/28011911/image.png');
smileItem.push('http://rghost.ru/28011921/image.png');
smileItem.push('http://rghost.ru/28011941/image.png');
for (i=0; i<smileItem.length; i++){
smileDiv.innerHTML+='<img src="'+smileItem[i]+'" alt=":rusff:" onclick="smile(\'[img]'+smileItem[i]+'[/img]\')" />';
}
}
</script>

<!-- Поисковые боты (расширенный список)-->
<div class=botlist style='display:none'>
<p>Yandex,#9E8DA7,95.108.,77.88.,93.158.</p> 
<p>Google,#9E8DA7,66.249.</p> 
<p>Mail,#9E8DA7,94.100.,217.69.134.,217.69.136.</p>
<p>Rambler,#9E8DA7,81.19.</p>
<p>Yahoo!,#9E8DA7,67.195.,72.30.,74.6.,202.160.</p>
<p>Bing,#9E8DA7,207.46.,65.52.,65.55.,157.55.</p>
<p>Baidu,#9E8DA7,119.63.,123.125.,220.181.</p>
<p>Ask,#9E8DA7,66.235.</p>
<p>Ezooms,#9E8DA7,208.115.111.</p>
<p>Aport,#9E8DA7,194.67.</p>
</div>

<script>var L0=$("#navlogout").html(),L=$(".punbb").attr("id");if((L0!=null)&&(GroupID<3)&&(L=="pun-index"||L=="pun-online")){var Botlist={},L=[];$(".botlist p").each(function(j){L[j]=$(this).text().split(",");Botlist[L[j][0]]=L[j]});$.ajax({type:'GET',url:'online.php',success:function(data){$(data).find('div#pun-online td.tcl:first-child').map(function(){var OnlineIP=$(this).find('a').attr('title');Str='<a href="/online.php" class="bot" title="';for(var key in Botlist){for(i=2;i<Botlist[key].length;i++){var pattern="^"+Botlist[key][i],regexp=new RegExp(pattern,"ig");if(OnlineIP.search(regexp)!=-1){var L=Str+OnlineIP+'"><span style="color:'+Botlist[key][1]+';" >&nbsp;, '+Botlist[key][0]+'[bot]</span></a>';$('li#onlinelist.item5 span:first').append(L);}}}})}});$('div#pun-online td.tcl a:contains("Гость")').map(function(){OnIP=$(this).attr('title');for(var key in Botlist){for(i=2;i<Botlist[key].length;i++){var pattern="^"+Botlist[key][i],regexp=new RegExp(pattern,"ig");if(OnIP.search(regexp)!=-1){$(this).html(Botlist[key][0]+'[bot]').css({'color':Botlist[key][1]})}}}})}</script>

<script type="text/javascript">
if (document.URL.indexOf("viewtopic") != -1) {
var key; var i; var key_b; var j = "";
key = document.getElementById("keyboard-span");

key_b = new Array();
key_b.push('¢');
key_b.push('£ ');
key_b.push('€ ');
key_b.push('¤');
key_b.push('¥ ');
key_b.push('¦');
key_b.push('§');
key_b.push('©');
key_b.push(' ª ');
key_b.push(' º ');
key_b.push('«');
key_b.push('» ');
key_b.push('¬ ');
key_b.push('®');
key_b.push('‰');
key_b.push(' µ '); 
key_b.push('¶');
key_b.push('•');
key_b.push('¹');
key_b.push('¿');
key_b.push('←');
key_b.push('↑');
key_b.push('→');
key_b.push('↓');
key_b.push('↔');
key_b.push('⇒');
key_b.push('⇐');
key_b.push('⇔');
key_b.push('⇑');
key_b.push('⇓');
key_b.push('↵');
key_b.push('♠');
key_b.push('♣');
key_b.push('♥');
key_b.push('♦');
key_b.push('◊');
key_b.push('○');
key_b.push('●');
key_b.push('◄');
key_b.push('▼');
key_b.push('►');
key_b.push('▲');
key_b.push('■');
key_b.push('▪');
key_b.push('▫');
key_b.push('♀');
key_b.push('♂');
key_b.push('™');
key_b.push('≤');
key_b.push('≥');
key_b.push('≈ ');
key_b.push('≠');
key_b.push('≡');
key_b.push('±');
key_b.push('²');
key_b.push('³');
key_b.push('∀');
key_b.push('∃');
key_b.push('∅');
key_b.push('∴');
key_b.push('≅');
key_b.push('⊕');
key_b.push('⊗');
key_b.push('₪');

for (i in key_b) {
j = "<input onclick=\"keyboard_code('" + key_b[i] + "')\" type='button' value='" + key_b[i] + "'>";
key.innerHTML += j;
}}
</script>


<script><!--Своё Слово вместо:Новая тема;Новый опрос;Ответить;Профиль;ЛС;и т.д. -->
   pstlnk=new Array(".pl-email","ЛС","Отправить ЛС", ".pl-email","E-mail",""// !ПОСЛЕДНИЙ элемент без запятой
 )
function find_and_replace(value){for (var i=0; i < pstlnk.length; i=i+3){
  var str=$(value).find(pstlnk[i]+":contains('"+pstlnk[i+1]+"')").html();
  if (str!=null) {str=str.replace(pstlnk[i+1],pstlnk[i+2]);
$(value).find(pstlnk[i]+":contains('"+pstlnk[i+1]+"')").html(str);};};}
$("#pun-viewforum .linkst,#pun-viewforum .linksb,#pun-viewtopic .linkst,#pun-viewtopic .linksb,#pun-viewtopic .post .post-links").each(function(){find_and_replace(this);;});
</script>

<!-- Стиль Профиля в Топике-->
<style>
.punbb .post-author ul li {
//font-weight:bold;
font-size:13px!important;
color:#000000;
font-style:italic;
font-weight:bold;
text-shadow:#C0BCA8 1px 1px 0px;
padding:3px;
margin:2px;
border:ridge 3px #AAA58B!important;
    border-radius:5px;
    -webkit-border-radius:5px;
    -khtml-border-radius:5px;
    -moz-border-radius:5px;
    -o-border-radius:5px;
 }
.punbb .post-author ul .pa-avatar{
/**/border:none transparent 0!important;
}
</style>.forum .tcl .newtext a,


<!--Spoiler v.2.3-->
<script type="text/javascript">
function tag_spolier()
{var FoundErrors = '';
var enterTITLE = prompt("Введите описание скрытого текста", 'Спойлер');
bbcode('[spoiler]',('|'+enterTITLE+'[/spoiler]'));}
$(function(){
$("div.quote-box > cite > input.spoiler-button").click(function(){
$(this).parents("div.quote-box").find("blockquote.quote-box").toggle("normal");
var a = $(this).attr('value');$(this).attr('value',$(this).attr('id'));$(this).attr('id',a);
   }); });
$('td#button-code').before('<td style=\'background-image:url("http://img706.imageshack.us/img706/1943/spoiler.gif")\' onclick="tag_spolier()"><img src="/i/blank.gif" alt="Спойлер"></td>');
$("div.post-content").map(function () {
text = $(this).html();
if(text.indexOf("[/spoiler]" ) != -1) {
spoilerr = /\[spoiler\]([^`]*?)\|(.*?)\[\/spoiler\]/gi
$(this).html(text.replace(spoilerr, "<div class='quote-box' style='padding:1px;background: none;border: 0;'><cite style='width:100%;margin:0;'><input id='close' class='spoiler-button' style='width:140px;font-size:10px; margin:0; cursor: pointer; font-weight:bold' type='button' value='$2'></cite><blockquote class='quote-box' style='display:none; width:100%;border: 1px solid black;margin:0;'>$1</blockquote></div>")) 
} }); 
</script>

<!-- Paginator Mybb 2011-->
<script type="text/javascript">
$('.linkst .pagelink a:not(.next):last').map(function () {
text = $(this).html();
text2 = $(this).attr('href');
ssylk = /(.*?)\/viewtopic\.php\?id=(\d+)\&p=(\d+)/g;
pId=(text2.replace(ssylk, '$2'));
Max=text;
var paginator='<div id="pagenav" style="display:none"><table id="paginator"><tr>';
for (p=1; p<=Max; p++) {
paginator += '<td><a id="pnav" style="text-decoration:none;" href="/viewtopic.php?id='+pId+'&p='+p+'">&nbsp;'+p+'&nbsp;</a></td>'; 
if (p%10 == 0) paginator += '</tr><tr>';
 } 
paginator += '</tr></table></div>';
$('#pun-viewtopic .pagelink').append(paginator);
}); 
$('div.pagelink').hover(function(){
$(this).find('#pagenav').toggle();
});
</script>


<script type="text/javascript">
var A=$("#pun-userlist .crumbs");
A.html(A.html().replace("Участники","Пользователи"));
A=$("#pun-userlist").parents("html").find("title:first");
A.html(A.html().replace("Участники","Пользователи"));
</script>

<script type="text/javascript">
var A=$("#pun-userlist .crumbs");
A.html(A.html().replace("Правила","Правила сайта"));
A=$("#pun-userlist").parents("html").find("title:first");
A.html(A.html().replace("Правила","Правила сайта"));
</script>

+1

5

Vojd написал(а):

"Тоже самое на страничках: изменил "Правила" на "Правила сайта", "Поиск" на "Поиск по сайту"

Это не буду делать, и сложно и каждому делать  под свои требования - к платным скриптёрам

0

6

Deff, Благодарю, но кнопочки сворчачивания отошли - http://uploads.ru/t/U/y/J/UyJzd.jpg

Два последних бага: 1. При создании новой темы две возможности "закрепления первого поста" http://uploads.ru/t/k/5/3/k53SQ.jpg и ни одной при редактировании уже созданной темы
2. Картинка перенесенных тем не отображается - http://uploads.ru/t/7/4/q/74q9p.jpg
Скрипт:

Код:
<style type="text/css">
.punbb div.icon {
float: left; 
display: block; 
border-style: none none none none; 
position: relative !important;
height: 120px; 
width: 100px;
}
.punbb td div.tclcon {
margin-left: 30px;
}

Div.icon {
background-image : url(http://vangog.bks-tv.ru/i/5/0/4f056ab05cf05.png);
background-repeat: no-repeat;
}
TR.inew Div.icon {
background-image : url(http://vangog.bks-tv.ru/i/3/7/4f056ab00a873.png);
background-repeat: no-repeat;
}
TR.isticky Div.icon {
background-image : url(http://vangog.bks-tv.ru/i/3/9/4f056ab16cd93.png);
background-repeat: no-repeat;
}
TR.iclosed Div.icon {
background-image : url(http://vangog.bks-tv.ru/i/9/2/4f056ab0d6829.png);
background-repeat: no-repeat;
}
TR.iredirect Div.icon {
background-image : url(http://vangog.bks-tv.ru/i/c/b/4f197a20379bc.png);
background-repeat: no-repeat;
}
</style>

Не баг, нечто странное, если есть время помогите: Подфорумов не видно, например около форума "Таверна" нету подфорума "Сайт ClanWars" http://uploads.ru/t/s/W/P/sWP2K.jpg

P.S. Не могу найти скрипт шапки форума - http://uploads.ru/t/o/8/M/o8MZd.jpg

HTML верх

Код:
<!--Универсальная кнопка скрытия -->
<style class="Sbdcf5" id="Shoxa_01">.z-Hide{display:none!important;}</style>
<script src="http://hostjs-mybb2011.narod.ru/js/HidButton_v23_09_011.js"></script>
<!--//End /Универсальная кнопка скрытия Ч1 в HTML верх-->

<style>
#viewprofile h2 span, #profilenav h2 span { 
background-image: url("http://uploads.ru/i/0/0/5/00523.jpg");
 }
</style>

<div  align=center  style="width:100%">
<img src="http://vangog.bks-tv.ru/i/4/6/4f2565d20cb64.png"/></div>
<!-- Подфорумы не скриптом -->
<script type="text/javascript"> if(document.URL.indexOf("/viewforum.php?id")!=-1){
var sbfrms = "<div id=\"SubfContains\"  style=\"display:none;\"><iframe id=\"My_Subforums\" width=\"0\" height=\"0\" src=\"http://"+ location.hostname + "?index.php/\"></iframe></div>";
$("#html-header").before(sbfrms)};</script>
<script src="http://hostjs-mybb2011.narod.ru/js/subforum_no_script.js"></script>
<style>.category.E1{display:none;}</style><!--End/Подфорумы не скриптом -->
<style>
#pun-title h1 span { 
display:none;
 }
</style>


<style type="text/css">
body {
  background-color: #18140C!important;
}
.punbb .section .container, .punbb .post-body, .punbb .post-links, .punbb td.tc2, .punbb td.tc3, .punbb .formal fieldset .post-box, #viewprofile li strong, #viewprofile li div, #setmods dd, .punbb .info-box, .punbb #pun-main .info-box .legend, .punbb .main .container, .punbb .post .container, .punbb .post h3, #pun-stats h2, .punbb .main h1, #pun-title, #pun-title .container, .punbb .modmenu .container, #pun-navlinks .container, .punbb th, .punbb .post h3 span, #pun-main fieldset legend span, .punbb .section h2, #pun-main h1, #pun-main h2, #pun-stats h2, .punbb .quote-box, .punbb .code-box, .punbb select, .punbb input, .punbb textarea {
  background: transparent none !important;
}
#pun { 
  background: url(http://vangog.bks-tv.ru/i/a/7/4f0569545427a.jpg);
  margin: 0px auto;
  width: 860px;
}
.punbb input.spoiler-button{
padding:6px!important;
width:100px!important;
background: url(http://vangog.bks-tv.ru/i/5/9/4f0569adad895.jpg) no-repeat center!important;
}

#button-image {
display: none; 
}
.punbb td div.tclcon{ 
 padding-left: 60px;
 }

.divParentFor span.title { 
color: #DED1BC!important;
  font-size:13px;
margin-left: 50px;
  text-shadow:
  #000 2px 2px 2px;
}
</style>

<style>
.punbb *{
border-color:#988E74!important;
}
</style>

<style type="text/css">
#share a {opacity: 0.6;}
#share a:hover {opacity: 1;}
</style>

<style>
.post-author .pa-online{
 display:none;
}
</style>

<style>
.punbb .post-sig dt {
  border-top: 1px solid #997636;
  width: 560px;
  }
</style>

<style>
#pun-announcement,
#pun-announcement .container{
background-image:url(http://vangog.bks-tv.ru/i/5/9/4f0569adad895.jpg)
}
</style>


<script src="http://hostjs-mybb2011.narod.ru/js/Deff_BigPalette.js"></script>

<style>
.Show-Hide{
z-index:100;
position:absolute;
padding:0;
margin-left:775px;
margin-top:-23px;
}
.Show-Hide *{
padding:0;
margin:0;
border:none transparent 0!important;
}
.Show-Hide span img{
cursor:pointer;
width:auto;
}
.Show-Hide[alt="#pun-status .container"]{
margin-top: 0px;
}
</style>


<script src="http://hostjs-mybb2011.narod.ru/js/mybbpaginator.js"></script>

<script src="http://hostjs-mybb2011.narod.ru/js/Get_HTML_Post_CODE.js"></script>

<!-- Первый пост -->
<style>#pun-main .Firstpost{padding:12px;border-style:dotted;border-width:2px;margin-bottom:12px;}</style>
<script>/*Attaching the first post to the topic*/ var DatapstFirst=false;function MyAalert(){DatapstFirst=FrFirstpost.FramValueReturn();StartPost();$("#Firstpost_iframe").replaceWith("");}

if(document.URL.substring((document.URL.length)-7)=='&&Page1'){//parent.FrFirstpost.MyAalert();
var TxPs,D1,D2;$(document).ready(function(){Txt_HTM=$(document).text();D1=Txt_HTM.search(/<div id=?"p[\d]+?" class=?"post topicpost?">/img);D2=Txt_HTM.search(/<div id="p[\d]+" class="post altstyle">/img);TxPs=Txt_HTM.substring(D1,D2);
$("#DataReady",parent.document.body).click();$("plaintext").remove()});function FramValueReturn(){return TxPs;}
document.write('<style>html{background-image:none!important;}body{background-image:none!important;display:none!important;}</style></div></div></div></div><plaintext>')}

var period=100,FindStart=true;function StartPost(){var L=$('#pun-main .topic h2');if(L.html()!=null){FindStart=false;L.after(DatapstFirst);$(document).ready(function(){$(".vojd").insertAfter("#pun-main .topicpost")});return}else{setTimeout("StartPost()",period)}return false;};

var SymbB='·';var SymbTitle=$("html:first head:first title:first").html().substring(0,1);
if(document.URL.substring((document.URL.length)-7)!='&&Page1'){var L=$("html head:first link[rel='prev']").attr("href");No1Page=(L!=undefined);if($(".punbb").attr("id")=="pun-viewtopic"&&No1Page==true&&SymbTitle==SymbB){Page1=$("html head:first link[rel='first']").attr("href");var frame="<div id=\"divframeFirst\" style=\"display:none;\"><iframe id=\"Firstpost_iframe\" name=\"FrFirstpost\" width=\"0\" height=\"0\" src=\""+Page1+"&&Page1\"></iframe></div><input id=\"DataReady\" style=\"display:none\" type=\"button\" class=\"button\" onclick=\"MyAalert()\" value=\"data_load\">";$("#pun-viewtopic").before(frame);}}function trimSymB(str){var pattern = "^[" + SymbB + "]*";var regexp  = new RegExp(pattern,"g");var OutStr=str.replace(regexp,'');if(OutStr!=str){return OutStr;}else{return false;}}

var TemaNAMe,CHECK_8,form_SUBMIT;function MakeAttachPost(){TemaNAMe=$("form.#post p.inputfield.longinput input[name='req_subject']");if(TemaNAMe.html()!=null&&$("form.#post input.#Dop_fld8").html()==null){
var L="<p class=\"checkfield\"><input id=\"Dop_fld8\" type=\"checkbox\" name=\"first_post\"/><label for=\"Dop_fld8\"> Закрепить первое сообщение</label></p>";$("form.#post p.checkfield:first").after(L);CHECK_8=$("form.#post input.#Dop_fld8");form_SUBMIT=$("#post .formsubmit input[name='submit'],#post .formsubmit input[name='preview']");}
var L=trimSymB(TemaNAMe.val());if(L){TemaNAMe.val(L);CHECK_8.attr("checked","checked")}else{CHECK_8.removeAttr("checked")};
form_SUBMIT.bind("click",function(){if($("form.#post input.#Dop_fld8").html()!=null){
if($("form.#post input.#Dop_fld8:checked").html()!=null){TemaNAMe.val(SymbB+TemaNAMe.val())}else {var L=TemaNAMe.val(),L1=trimSymB(L);if(L1){TemaNAMe.val(L1);}}}else{$(form_SUBMIT).unbind("click")}});}
var a=$(".punbb").attr("id");if(a=="pun-post"||a=="pun-edit"){$(document).ready(function(){MakeAttachPost()});}</script>
<!-- Конец -->


<style>
.punbb select, .punbb input, .punbb textarea {
border: 2px solid #6e2e25;
}
</style>

<style type="text/css">
#paginator {
  opacity: 0.9;
  position: absolute
  left: 55px;
  z-index: 1000;
  filter: alpha(opacity=90);
  text-shadow: 0 1px 0 #000;
  background-color: #61bde7; /* фон блока пагинатора */
  border: 2px solid #59add4; /* цвет границы блока */
  table-layout: auto !important;
  width: auto !important;
  background-image: -webkit-linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,0));
  background-image: -moz-linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,0));
  background-image: -ms-linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,0));
  background-image: -o-linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,0));
  background-image: linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,0));
  -moz-border-radius: 4px;
  border-radius: 4px;
  khtml-border-radius:4px;
  -webkit-border-radius:4px;
  -moz-box-shadow: 0 1px 2px rgba(0,0,0,.4), 0 1px 0 rgba(255,255,255,.5) inset;
  -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.4), 0 1px 0 rgba(255,255,255,.5) inset;
  box-shadow: 0 1px 2px rgba(0,0,0,.4), 0 1px 0 rgba(255,255,255,.5) inset;
  text-shadow: 0 1px 0 rgba(255,255,255,.4);
}

#paginator td {
  padding: 0.1em;
  border-style: none;
}

#pnav:hover {
  background: black; /* фон цифры при наведении курсора */
  color: lime; /* цвет цифры при наведении курсора */
  -moz-border-radius: 9000em;
  border-radius: 9000em;
  khtml-border-radius:9000em;
  -webkit-border-radius:9000em;
}
</style>

0

7

Vojd написал(а):

Два последних бага: 1. При создании новой темы две возможности "закрепления первого поста"

Удалите Скрипт из HTML верх

Код:
<!-- Первый пост -->
<style>#pun-main .Firstpost{padding:12px;border-style:dotted;border-width:2px;margin-bottom:12px;}</style>
<script>/*Attaching the first post to the topic*/ var DatapstFirst=false;function MyAalert(){DatapstFirst=FrFirstpost.FramValueReturn();StartPost();$("#Firstpost_iframe").replaceWith("");}

if(document.URL.substring((document.URL.length)-7)=='&&Page1'){//parent.FrFirstpost.MyAalert();
var TxPs,D1,D2;$(document).ready(function(){Txt_HTM=$(document).text();D1=Txt_HTM.search(/<div id=?"p[\d]+?" class=?"post topicpost?">/img);D2=Txt_HTM.search(/<div id="p[\d]+" class="post altstyle">/img);TxPs=Txt_HTM.substring(D1,D2);
$("#DataReady",parent.document.body).click();$("plaintext").remove()});function FramValueReturn(){return TxPs;}
document.write('<style>html{background-image:none!important;}body{background-image:none!important;display:none!important;}</style></div></div></div></div><plaintext>')}

var period=100,FindStart=true;function StartPost(){var L=$('#pun-main .topic h2');if(L.html()!=null){FindStart=false;L.after(DatapstFirst);$(document).ready(function(){$(".vojd").insertAfter("#pun-main .topicpost")});return}else{setTimeout("StartPost()",period)}return false;};

var SymbB='·';var SymbTitle=$("html:first head:first title:first").html().substring(0,1);
if(document.URL.substring((document.URL.length)-7)!='&&Page1'){var L=$("html head:first link[rel='prev']").attr("href");No1Page=(L!=undefined);if($(".punbb").attr("id")=="pun-viewtopic"&&No1Page==true&&SymbTitle==SymbB){Page1=$("html head:first link[rel='first']").attr("href");var frame="<div id=\"divframeFirst\" style=\"display:none;\"><iframe id=\"Firstpost_iframe\" name=\"FrFirstpost\" width=\"0\" height=\"0\" src=\""+Page1+"&&Page1\"></iframe></div><input id=\"DataReady\" style=\"display:none\" type=\"button\" class=\"button\" onclick=\"MyAalert()\" value=\"data_load\">";$("#pun-viewtopic").before(frame);}}function trimSymB(str){var pattern = "^[" + SymbB + "]*";var regexp  = new RegExp(pattern,"g");var OutStr=str.replace(regexp,'');if(OutStr!=str){return OutStr;}else{return false;}}

var TemaNAMe,CHECK_8,form_SUBMIT;function MakeAttachPost(){TemaNAMe=$("form.#post p.inputfield.longinput input[name='req_subject']");if(TemaNAMe.html()!=null&&$("form.#post input.#Dop_fld8").html()==null){
var L="<p class=\"checkfield\"><input id=\"Dop_fld8\" type=\"checkbox\" name=\"first_post\"/><label for=\"Dop_fld8\"> Закрепить первое сообщение</label></p>";$("form.#post p.checkfield:first").after(L);CHECK_8=$("form.#post input.#Dop_fld8");form_SUBMIT=$("#post .formsubmit input[name='submit'],#post .formsubmit input[name='preview']");}
var L=trimSymB(TemaNAMe.val());if(L){TemaNAMe.val(L);CHECK_8.attr("checked","checked")}else{CHECK_8.removeAttr("checked")};
form_SUBMIT.bind("click",function(){if($("form.#post input.#Dop_fld8").html()!=null){
if($("form.#post input.#Dop_fld8:checked").html()!=null){TemaNAMe.val(SymbB+TemaNAMe.val())}else {var L=TemaNAMe.val(),L1=trimSymB(L);if(L1){TemaNAMe.val(L1);}}}else{$(form_SUBMIT).unbind("click")}});}
var a=$(".punbb").attr("id");if(a=="pun-post"||a=="pun-edit"){$(document).ready(function(){MakeAttachPost()});}</script>
<!-- Конец -->

0

8

Vojd написал(а):

2. Картинка перенесенных тем не отображается -

Нет спец иконок, для перенесенных тем, был где то скрипт (по моему в Передущих скриптахз от пользователей)

Vojd написал(а):

P.S. Не могу найти скрипт шапки форума -

Ищите в HTML верх

<div  align=center  style="width:100%">
<img src="http://vangog.bks-tv.ru/i/4/6/4f2565d20cb64.png"/></div>

0

9

Vojd написал(а):

Не баг, нечто странное, если есть время помогите: Подфорумов не видно, например около форума

Cкрипт подфорумов, (Часть идущая в HTML верх) изменена,
Смотрите в Теме => Прошу Помощи по созданию Подфорумов

+1

10

Deff, ОГРОМНЕЙШИЙ вам респект, спасибо!

0

11

Vojd написал(а):

Deff, ОГРОМНЕЙШИЙ вам

:glasses: Ты новый Вариант Подфорумов Поставил - А старый то ты Убрал????

0

12

Deff написал(а):

Ты новый Вариант Подфорумов Поставил - А старый то ты Убрал????

Ну эм, старое в HTML верх убрал, но вот это вот выскакивает
http://uploads.ru/t/7/3/w/73w1h.jpg
Нет, ну я точно заменил скрипты или..

Код:
<!-- Подфорумы не скриптом -->
<script src="http://hostjs-mybb2011.narod.ru/js/subforum_no_script_V2.js"></script>
<style>.category.E1{display:none;}</style><!--End/Подфорумы не скриптом -->

<!--Универсальная кнопка скрытия -->
<style class="Sbdcf5" id="Shoxa_01">.z-Hide{display:none!important;}</style>
<script src="http://hostjs-mybb2011.narod.ru/js/HidButton_v23_09_011.js"></script>
<!--//End /Универсальная кнопка скрытия Ч1 в HTML верх-->

<style>
#viewprofile h2 span, #profilenav h2 span { 
background-image: url("http://uploads.ru/i/0/0/5/00523.jpg");
 }
</style>

<div  align=center  style="width:100%">
<img src="http://vangog.bks-tv.ru/i/8/1/4fc8bdede0f18.png"/></div>

<script type="text/javascript"> if(document.URL.indexOf("/viewforum.php?id")!=-1){
var sbfrms = "<div id=\"SubfContains\"  style=\"display:none;\"><iframe id=\"My_Subforums\" width=\"0\" height=\"0\" src=\"http://"+ location.hostname + "?index.php/\"></iframe></div>";
$("#html-header").before(sbfrms)};</script>
<script src="http://hostjs-mybb2011.narod.ru/js/subforum_no_script.js"></script>
<style>.category.E1{display:none;}</style>

<style>
#pun-title h1 span { 
display:none;
 }
</style>


<style type="text/css">
body {
  background-color: #18140C!important;
}
.punbb .section .container, .punbb .post-body, .punbb .post-links, .punbb td.tc2, .punbb td.tc3, .punbb .formal fieldset .post-box, #viewprofile li strong, #viewprofile li div, #setmods dd, .punbb .info-box, .punbb #pun-main .info-box .legend, .punbb .main .container, .punbb .post .container, .punbb .post h3, #pun-stats h2, .punbb .main h1, #pun-title, #pun-title .container, .punbb .modmenu .container, #pun-navlinks .container, .punbb th, .punbb .post h3 span, #pun-main fieldset legend span, .punbb .section h2, #pun-main h1, #pun-main h2, #pun-stats h2, .punbb .quote-box, .punbb .code-box, .punbb select, .punbb input, .punbb textarea {
  background: transparent none !important;
}
#pun { 
  background: url(http://vangog.bks-tv.ru/i/a/7/4f0569545427a.jpg);
  margin: 0px auto;
  width: 860px;
}
.punbb input.spoiler-button{
padding:6px!important;
width:100px!important;
background: url(http://vangog.bks-tv.ru/i/5/9/4f0569adad895.jpg) no-repeat center!important;
}

#button-image {
display: none; 
}
.punbb td div.tclcon{ 
 padding-left: 60px;
 }

.divParentFor span.title { 
color: #DED1BC!important;
  font-size:13px;
margin-left: 50px;
  text-shadow:
  #000 2px 2px 2px;
}
</style>

<style>
.punbb *{
border-color:#988E74!important;
}
</style>

<style type="text/css">
#share a {opacity: 0.6;}
#share a:hover {opacity: 1;}
</style>

<style>
.post-author .pa-online{
 display:none;
}
</style>

<style>
.punbb .post-sig dt {
  border-top: 1px solid #997636;
  width: 560px;
  }
</style>

<style>
#pun-announcement,
#pun-announcement .container{
background-image:url(http://vangog.bks-tv.ru/i/5/9/4f0569adad895.jpg)
}
</style>


<script src="http://hostjs-mybb2011.narod.ru/js/Deff_BigPalette.js"></script>

<style>
.Show-Hide{
z-index:100;
position:absolute;
padding:0;
margin-left:775px;
margin-top:-23px;
}
.Show-Hide *{
padding:0;
margin:0;
border:none transparent 0!important;
}
.Show-Hide span img{
cursor:pointer;
width:auto;
}
.Show-Hide[alt="#pun-status .container"]{
margin-top: 0px;
}
</style>


<script src="http://hostjs-mybb2011.narod.ru/js/mybbpaginator.js"></script>

<script src="http://hostjs-mybb2011.narod.ru/js/Get_HTML_Post_CODE.js"></script>


<style>
.punbb select, .punbb input, .punbb textarea {
border: 2px solid #6e2e25;
}
</style>

<style type="text/css">
#paginator {
  opacity: 0.9;
  position: absolute
  left: 55px;
  z-index: 1000;
  filter: alpha(opacity=90);
  text-shadow: 0 1px 0 #000;
  background-color: #61bde7; /* фон блока пагинатора */
  border: 2px solid #59add4; /* цвет границы блока */
  table-layout: auto !important;
  width: auto !important;
  background-image: -webkit-linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,0));
  background-image: -moz-linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,0));
  background-image: -ms-linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,0));
  background-image: -o-linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,0));
  background-image: linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,0));
  -moz-border-radius: 4px;
  border-radius: 4px;
  khtml-border-radius:4px;
  -webkit-border-radius:4px;
  -moz-box-shadow: 0 1px 2px rgba(0,0,0,.4), 0 1px 0 rgba(255,255,255,.5) inset;
  -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.4), 0 1px 0 rgba(255,255,255,.5) inset;
  box-shadow: 0 1px 2px rgba(0,0,0,.4), 0 1px 0 rgba(255,255,255,.5) inset;
  text-shadow: 0 1px 0 rgba(255,255,255,.4);
}

#paginator td {
  padding: 0.1em;
  border-style: none;
}

#pnav:hover {
  background: black; /* фон цифры при наведении курсора */
  color: lime; /* цвет цифры при наведении курсора */
  -moz-border-radius: 9000em;
  border-radius: 9000em;
  khtml-border-radius:9000em;
  -webkit-border-radius:9000em;
}
</style>


<div id=alertMess style="display:none;width:291px; height:100px;/* border:red 1px solid;*/ top:42%;margin-left:-105px;position:fixed;z-index:100;"><img id=CloSandHid src="http://uploads.ru/i/y/6/E/y6E2J.png" style="position:absolute;z-index:100;"/><img class=MyMessag src="http://uploads.ru/i/6/a/r/6arC7.png"/></div><script>function MiguN1(){$("#alertMess .MyMessag").fadeTo(1600,0.03,function(){$(this).fadeTo(1500,1,function(){return false});return false});return false}function setcookie(a,b,c){if(c){var d=new Date();d.setTime(d.getTime());d=new Date(d.getTime()+c*1000*60)}if(a&&b)document.cookie=a+'='+b+(c?'; expires='+d.toGMTString():'');else return false}function getcookie(a){var b=new RegExp(a+'=([^;]){1,}');var c=b.exec(document.cookie);if(c){c=c[0].split('=')}else{return false}return c[1]?c[1]:false}function timerZap(){timerID=setTimeout("MiguN1();timerZap();",3200);return}$("#CloSandHid").click(function(){setcookie("CloSandHid",true,15);if(getcookie("CloSandHid")){$("#alertMess").hide()}});if(!getcookie("CloSandHid")){$(document).ready(function(){if($("#navpm").text().indexOf("(")!=-1){timerID=setTimeout("$('#alertMess').fadeIn(2300);timerZap()",2300)}})}</script>

0

13

Vojd написал(а):

Ну эм, старое в HTML верх убрал, но вот это вот выскакивает

:mad:  Это что ?

<script type="text/javascript"> if(document.URL.indexOf("/viewforum.php?id")!=-1){
var sbfrms = "<div id=\"SubfContains\"  style=\"display:none;\"><iframe id=\"My_Subforums\" width=\"0\" height=\"0\" src=\"http://"+ location.hostname + "?index.php/\"></iframe></div>";
$("#html-header").before(sbfrms)};</script>
<script src="http://hostjs-mybb2011.narod.ru/js/subforum_no_script.js"></script>
<style>.category.E1{display:none;}</style>

0

14

Deff, да действительно)  но все равно выскакивает ошибка :( (мой предыдущий пост)

0

15

Vojd
Киньте Админ - Ник пароль в личку, не оч ясны причины блокировки

0

16

Кинул)
P.S. со вторым багом

Vojd написал(а):

2. Картинка перенесенных тем не отображается -

Скрипта нету в этой теме, я где-то 4-5 раз/а посмотрел, не пойму куда его запостили :huh:
P.S. Когда на форуме обновляешь картинки они со временем начинают все худше грузиться, а через недели две или больше они грузятся на ура, как они вцепляются в HTML?

Отредактировано Vojd (Вс, 3 Июн 2012 11:03:48)

0

17

Vojd
:mad: В названии Категории  END - Подфорумы  Подфорумы были прописаны Большими буквами

0

18

Deff, спасибо)

0


Вы здесь » Единый форум поддержки » Корзина » Множество мелких багов