Счетчики и посетители

РокРок 26 июл 2015, 15:35 Сообщение

Здравствуйте!
Есть такой вопросик: форумная статистика показывает около 200 хостов за 24 часа. А вот мои счетчики - мэйл, рамблер и яндекс - 40,50 хостов. Лайвинтернет - около 100. Почему так? Может переустановить счетчики?
  • 0
IN GOD WE TRUST

eska 26 июл 2015, 16:25 Сообщение

В инете много инфы по этому вопросу, но основные ответы:
- чем дальше В коде стоит счетчик, тем хуже показывает
- форум считает каждого, а счетчик уникального, то есть тот кто на форуме пробыл энное кол-во времени, юзайте Гугл.
На мой форуме в футере стоит Яндекс, после лайв интернет, на метрике всегда больше. Делайте выводы.
  • 0

РокРок 26 июл 2015, 17:01 Сообщение

Спасибо за наводку! Немного погуглил, поставил метрику первой, перед остальными счетчиками.
Еще почитал, что счетчики желательно устанавливать на все страницы. А у меня походу они (счетчики) только на главной.
Может быть кто подскажет: как установить счетчики на все страницы? По всей видимости у меня что то не так в овералфутер.
  • 0
IN GOD WE TRUST

eska 26 июл 2015, 18:09 Сообщение

Все правильно, ставьте счетчик в оверал футер. И он будет считать на каждой странице вашего форума. Вот например у меня, я в подпапку форума, то есть forum/podpapka поставил WordPress и он не считал переходы, пользователей и просмотры, пока я не запихнул в нее счетчик. Обращайся - поможем, чем сможем:)
  • 0

РокРок 26 июл 2015, 18:13 Сообщение

Так у меня счетчики и стоят все в овералфутор. Но когда, например, открываешь какую нибудь тему, их нету. А так же нет админки и рекламного баннера, подозреваю что когда-то давно что то не то сделал в овералфутер.
  • 0
IN GOD WE TRUST

eska 26 июл 2015, 18:23 Сообщение

Счетчики должны находится межде :
Шаблон оверал футер:
body
И овервл хидер
/body
Тогда отображаться будет на каждой странице.
а лучше пришлите 2 шаблона для проверки.
  • 0

РокРок 26 июл 2015, 18:46 Сообщение

То есть, для отображения счетчиков на всех страницах, их нужно и в футер, и в хидер?

Вот код хидера:

Код: Выделить всё

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}">
<link rel="shortcut icon" href="http://coinsspb.5nx.ru/images/ranks3/coinsspb_5nx_ru/favicon11.ico" type="image/x-icon"><head>
<script type="text/javascript" src="http://coinsspb.5nx.ru/images/ranks3/coinsspb_5nx_ru/postlink.js"></script>
<script src="https://apis.google.com/js/platform.js" async defer>
  {lang: 'ru'}
</script>
<!-- IF not S_USER_LOGGED_IN and not S_IS_BOT and not S_IN_UCP -->
<!-- ENDIF -->
<!-- IF not S_IS_BOT and S_USER_LOGGED_IN and S_DISPLAY_PM and (S_USER_NEW_PRIVMSG or S_USER_UNREAD_PRIVMSG) -->
<div id="info"><div id="infobar">
<a href="{U_PRIVATEMSGS}"><img style="width:50px; height: 50px; padding-right: 100px; vertical-align:middle;" alt="" src="http://coinsspb.5nx.ru/images/ranks3/coinsspb_5nx_ru/mail.png" />Привет {S_USERNAME}, у вас {PRIVATE_MESSAGE_INFO}<!-- IF PRIVATE_MESSAGE_INFO_UNREAD -->, {PRIVATE_MESSAGE_INFO_UNREAD}<!-- ENDIF --><img style="width: 50px; height: 50px; padding-left:100px; vertical-align:middle;" alt="" src="http://coinsspb.5nx.ru/images/ranks3/coinsspb_5nx_ru/mail.png" /></a>
</div></div>
<!-- ENDIF -->
<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
<meta http-equiv="content-language" content="{S_USER_LANG}" />
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="imagetoolbar" content="no" />
<meta name="resource-type" content="document" />
<meta name="distribution" content="global" />
<meta name="copyright" content="2002-2006 phpBB Group" />
<meta name="keywords" content="монеты спб, нумизматический форум санкт-петербург, нумизматика спб, нумизматика в санкт-петербурге, нумизматы санкт-петербург" />
<meta name="description" content="монеты СПб, монеты современной россии, монеты ссср" />
<meta name='yandex-verification' content='560fe19c1d567f24' />
<meta name="google-site-verification" content="Lf5XpYBMcNKJL9sbrzmPbzbKsqpYeDGyqQ3CqIyXMoA" />
<meta name='wmail-verification' content='79870681f95a2f30' />
{META}
<!-- IF TOPIC_TITLE -->
<title>{TOPIC_TITLE} &bull; {SITENAME} </title>
<!-- ELSE -->
<title>{SITENAME} &bull; <!-- IF S_IN_MCP -->{L_MCP} &bull; <!-- ELSEIF S_IN_UCP -->{L_UCP} &bull; <!-- ENDIF -->{PAGE_TITLE}</title>
<!-- ENDIF -->

<link rel="alternate" type="application/rss+xml" title="{SITENAME}" href="/rss.php" />
<link rel="stylesheet" href="{T_STYLESHEET_LINK}" type="text/css" />

<script type="text/javascript">
// <![CDATA[


function popup(url, width, height, name)
{
   if (!name)
   {
      name = '_popup';
   }

   window.open(url.replace(/&/g, '&'), name, 'height=' + height + ',resizable=yes,scrollbars=yes,width=' + width);
   return false;
}

function jumpto()
{
   var page = prompt('{LA_JUMP_PAGE}:', '{ON_PAGE}');
   var perpage = '{PER_PAGE}';
   var base_url = '{A_BASE_URL}';

   if (page !== null && !isNaN(page) && page > 0)
   {
      document.location.href = base_url.replace(/&/g, '&') + '&start=' + ((page - 1) * perpage);
   }
}

/**
* Find a member
*/
function find_username(url)
{
   popup(url, 760, 570, '_usersearch');
   return false;
}

/**
* Mark/unmark checklist
* id = ID of parent container, name = name prefix, state = state [true/false]
*/
function marklist(id, name, state)
{
   var parent = document.getElementById(id);
   if (!parent)
   {
      eval('parent = document.' + id);
   }

   if (!parent)
   {
      return;
   }

   var rb = parent.getElementsByTagName('input');
   
   for (var r = 0; r < rb.length; r++)
   {
      if (rb[r].name.substr(0, name.length) == name)
      {
         rb[r].checked = state;
      }
   }
}

<!-- IF ._file -->

   /**
   * Play quicktime file by determining it's width/height
   * from the displayed rectangle area
   *
   * Only defined if there is a file block present.
   */
   function play_qt_file(obj)
   {
      var rectangle = obj.GetRectangle();

      if (rectangle)
      {
         rectangle = rectangle.split(',')
         var x1 = parseInt(rectangle[0]);
         var x2 = parseInt(rectangle[2]);
         var y1 = parseInt(rectangle[1]);
         var y2 = parseInt(rectangle[3]);

         var width = (x1 < 0) ? (x1 * -1) + x2 : x2 - x1;
         var height = (y1 < 0) ? (y1 * -1) + y2 : y2 - y1;
      }
      else
      {
         var width = 200;
         var height = 0;
      }

      obj.width = width;
      obj.height = height + 16;

      obj.SetControllerVisible(true);

      obj.Play();
   }
<!-- ENDIF -->

// ]]>
</script>
<link href="/lytebox.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="/lytebox.js"></script>
</head>

<body class="{S_CONTENT_DIRECTION}">

<a name="top"></a>

<div id="wrapheader">

<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
          <td width="295" height="32" style="background:url('http://coinsspb.5nx.ru/images/ranks3/coinsspb_5nx_ru/fonramki14.jpg');">
<div id="toplink">
<!-- IF not S_IS_BOT -->
<!-- IF S_USER_LOGGED_IN -->
<!-- IF S_DISPLAY_PM --><span class="genmedw"><a class="genmedw" href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}<!-- IF PRIVATE_MESSAGE_INFO_UNREAD -->, {PRIVATE_MESSAGE_INFO_UNREAD}<!-- ENDIF --></a></span>
<!-- ENDIF -->
<!-- ENDIF -->
</div></td>

<td style="background:url('http://coinsspb.5nx.ru/images/ranks3/coinsspb_5nx_ru/fonramki14.jpg');">&nbsp;</td>

<td width="458" height="32" align="right" style="background:url('http://coinsspb.5nx.ru/images/ranks3/coinsspb_5nx_ru/fonramki14.jpg');">
<div id="toplink">
<!-- IF not S_USER_LOGGED_IN --><span class="genmedw"><a class="genmedw" href="{U_REGISTER}">{L_REGISTER}</a> &bull; </span><!-- ENDIF -->
<span class="genmedw"><a class="genmedw" href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a></span>
<!-- IF S_USER_LOGGED_IN --><!-- ENDIF -->
<!-- ENDIF -->
</div>
</td>
  </tr>
  </table>

  <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="180" style="background:url('http://coinsspb.5nx.ru/images/ranks3/coinsspb_5nx_ru/shapkanfssneworel11.png')no-repeat center #F3D58C;"><div id="search-box">
<form action="{U_SEARCH}" method="post" id="search">
<fieldset class="nb">
<input name="keywords" style="opacity:0.8;filter:alpha(opacity=80)" onmouseover="this.style.opacity=1;this.filters.alpha.opacity=100" onmouseout="this.style.opacity=0.8;this.filters.alpha.opacity=80" type="text" class="inputbox search" id="keywords" title="{L_SEARCH_KEYWORDS}" onblur="if(this.value=='')this.value='{LA_SEARCH_MINI}';" onclick="if(this.value=='{LA_SEARCH_MINI}')this.value='';" value="<!-- IF SEARCH_WORDS-->{SEARCH_WORDS}<!-- ELSE -->{L_SEARCH_MINI}<!-- ENDIF -->" maxlength="50" />
<input class="nb" style="opacity:0.8;filter:alpha(opacity=80)" name="submit" type="image" src="http://coinsspb.5nx.ru/images/ranks3/coinsspb_5nx_ru/lupa2.png" align="absmiddle" /><br />
{S_SEARCH_HIDDEN_FIELDS}
</fieldset>
</form>
</div>
<div id="midlink"><a href="/index.php"><span class="headw">{SITENAME}</span></a><br />
      <span class="genmedw">{SITE_DESCRIPTION}</span></div></td>


  </tr>
  </table>

  <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
      <td width="228" height="32" align="left" class="genmedw" style="background:url('http://coinsspb.5nx.ru/images/ranks3/coinsspb_5nx_ru/fonramki14.jpg');"><div id="bottomlink">
               <!-- IF S_USER_LOGGED_IN --><a class="genmedw" href="{U_PROFILE}">{L_PROFILE}</a><!-- ENDIF -->
            <!-- IF U_RESTORE_PERMISSIONS --> <a class="genmedw" href="{U_RESTORE_PERMISSIONS}">{L_RESTORE_PERMISSIONS}</a><!-- ENDIF -->
            <!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN --> <span style="color: red;">{L_BOARD_DISABLED}</span><!-- ENDIF -->
                </div>
     </td>

<td style="background:url('http://coinsspb.5nx.ru/images/ranks3/coinsspb_5nx_ru/fonramki14.jpg');">&nbsp;</td>

  <td width="519" align="{S_CONTENT_FLOW_END}" class="genmedw" style="background:url('http://coinsspb.5nx.ru/images/ranks3/coinsspb_5nx_ru/fonramki14.jpg');">
  <div id="bottomlink"><span class="genmedw">
<!-- IF S_CONTACT_ENABLED --><div class="g-plusone" data-size="medium" data-href="http://coinsspb.com/"></div><a class="genmedw" href="{U_CONTACT}"><img src="/styles/subsilver2/theme/images/icon_mini_contact.gif" width="12" height="13" alt="{L_CONTACT_BOARD_ADMIN_SHORT}" /> Связь по e-mail</a><!-- ENDIF --> &bull; <a class="genmedw" href="{U_GALLERY_MOD}" title="{L_GALLERY_EXPLAIN}">{L_GALLERY}</a> &bull;
            <a class="genmedw" href="{U_FAQ}">{L_FAQ}</a> &bull;  <a class="genmedw" href="{U_MEDALS}">{L_MEDALS_VIEW}</a>
<!-- IF not S_IS_BOT --><!-- IF S_DISPLAY_MEMBERLIST --> &bull; <a class="genmedw" href="{U_MEMBERLIST}">{L_MEMBERLIST}</a><!-- ENDIF --><!-- IF S_DISPLAY_SEARCH --> &bull; <a class="genmedw" href="{U_SEARCH}">{L_SEARCH}</a><!-- ENDIF --><!-- ENDIF -->
</span></div>
     </td>
    </tr>
  </table>
</div>

   <div id="datebar">
      <table width="100%" cellspacing="0">
      <tr>
         <td class="gensmall"><!-- IF S_USER_LOGGED_IN --><font color="#FFFFFF">{LAST_VISIT_DATE}</font><!-- ENDIF --></td>
         <td class="gensmall" align="{S_CONTENT_FLOW_END}"><font color="#FFFFFF">{CURRENT_TIME}</font><br /></td>
      </tr>
      </table>
   </div>

<div id="wrapcentre">

   <!-- IF S_DISPLAY_SEARCH -->
   <p class="searchbar">
      <span style="float: {S_CONTENT_FLOW_BEGIN};"><a href="{U_SEARCH_UNANSWERED}"><font color="#FFFFFF">{L_SEARCH_UNANSWERED}</font></a> | <a href="{U_SEARCH_ACTIVE_TOPICS}"><font color="#FFFFFF">{L_SEARCH_ACTIVE_TOPICS}</font></a></span>
      <!-- IF S_USER_LOGGED_IN -->
      <span style="float: {S_CONTENT_FLOW_END};"><a href="{U_SEARCH_NEW}"><font color="#FFFFFF">{L_SEARCH_NEW}</font></a> <font color="#FFFFFF">&bull;</font> <a href="{U_SEARCH_SELF}"><font color="#FFFFFF">{L_SEARCH_SELF}</font></a> <font color="#FFFFFF">&bull;</font> <a href="{U_SEARCH_OWN}"><font color="#FFFFFF">{L_SEARCH_OWN}</font></a></span>
      <!-- ENDIF -->
   </p>
   <!-- ENDIF -->

   <br style="clear: both;" />

  <!-- INCLUDE breadcrumbs.html -->

   <br />

<script type="text/javascript" src="//yandex.st/share/share.js"
charset="utf-8"></script>
<div class="yashare-auto-init" data-yashareL10n="ru"
data-yashareQuickServices="vkontakte,facebook,twitter,odnoklassniki,moimir" data-yashareTheme="counter"

></div>
Вот футер:

Код: Выделить всё

<!-- IF not S_IS_BOT -->{RUN_CRON_TASK}<!-- ENDIF -->
</div>

<!--
	We request you retain the full copyright notice below including the link to www.phpbb.com.
	This not only gives respect to the large amount of time given freely by the developers
	but also helps build interest, traffic and use of phpBB3. If you (honestly) cannot retain
	the full copyright we ask you at least leave in place the "Powered by phpBB" line, with
	"phpBB" linked to www.phpbb.com. If you refuse to include even this then support on our
	forums may be affected.

	The phpBB Group : 2006
//-->

<div id="wrapfooter">
	<!-- IF U_ACP --><span class="gensmall">[ <a href="{U_ACP}">{L_ACP}</a> ]</span><br /><br /><!-- ENDIF -->
        <span class="copyright">Powered by <a href="http://www.phpbb.com/">phpBB</a> &copy; 2000, 2002, 2005, 2007 phpBB Group. <br />
        Вы можете бесплатно <a href="http://getbb.ru">создать форум</a> на GetBB.Ru
   </span><br /></b>
</div>

</body>

<div align="center">
<tr>
<td><!-- Yandex.Metrika informer -->
<a href="https://metrika.yandex.ru/stat/?id=27298901&from=informer"
target="_blank" rel="nofollow"><img src="//bs.yandex.ru/informer/27298901/3_0_FFEC20FF_FFCC00FF_0_pageviews"
style="width:88px; height:31px; border:0;" alt="Яндекс.Метрика" title="Яндекс.Метрика: данные за сегодня (просмотры, визиты и уникальные посетители)" onclick="try{Ya.Metrika.informer({i:this,id:27298901,lang:'ru'});return false}catch(e){}"/></a>
<!-- /Yandex.Metrika informer -->

<!-- Yandex.Metrika counter -->
<script type="text/javascript">
(function (d, w, c) {
    (w[c] = w[c] || []).push(function() {
        try {
            w.yaCounter27298901 = new Ya.Metrika({id:27298901,
                    clickmap:true,
                    trackLinks:true,
                    accurateTrackBounce:true});
        } catch(e) { }
    });

    var n = d.getElementsByTagName("script")[0],
        s = d.createElement("script"),
        f = function () { n.parentNode.insertBefore(s, n); };
    s.type = "text/javascript";
    s.async = true;
    s.src = (d.location.protocol == "https:" ? "https:" : "http:") + "//mc.yandex.ru/metrika/watch.js";

    if (w.opera == "[object Opera]") {
        d.addEventListener("DOMContentLoaded", f, false);
    } else { f(); }
})(document, window, "yandex_metrika_callbacks");
</script>
<noscript><div><img src="//mc.yandex.ru/watch/27298901" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
<!-- /Yandex.Metrika counter --></td>
<!-- Rating@Mail.ru counter -->
<script type="text/javascript">//<![CDATA[
var _tmr = _tmr || [];
_tmr.push({id: "2449024", type: "pageView", start: (new Date()).getTime()});
(function (d, w) {
   var ts = d.createElement("script"); ts.type = "text/javascript"; ts.async = true;
   ts.src = (d.location.protocol == "https:" ? "https:" : "http:") + "//top-fwz1.mail.ru/js/code.js";
   var f = function () {var s = d.getElementsByTagName("script")[0]; s.parentNode.insertBefore(ts, s);};
   if (w.opera == "[object Opera]") { d.addEventListener("DOMContentLoaded", f, false); } else { f(); }
})(document, window);
//]]></script><noscript><div style="position:absolute;left:-10000px;">
<img src="//top-fwz1.mail.ru/counter?id=2449024;js=na" style="border:0;" height="1" width="1" alt="Рейтинг@Mail.ru" />
</div></noscript>
<!-- //Rating@Mail.ru counter -->
</body>
</html>
<td><!-- Rating@Mail.ru logo -->
<a href="http://top.mail.ru/jump?from=2449024">
<img src="//top-fwz1.mail.ru/counter?id=2449024;t=479;l=1" 
style="border:0;" height="31" width="88" alt="Рейтинг@Mail.ru" /></a>
<!-- //Rating@Mail.ru logo --></td>
<td><!--LiveInternet counter--><script type="text/javascript"><!--
document.write("<a href='http://www.liveinternet.ru/click' "+
"target=_blank><img src='//counter.yadro.ru/hit?t12.6;r"+
escape(document.referrer)+((typeof(screen)=="undefined")?"":
";s"+screen.width+"*"+screen.height+"*"+(screen.colorDepth?
screen.colorDepth:screen.pixelDepth))+";u"+escape(document.URL)+
";"+Math.random()+
"' alt='' title='LiveInternet: показано число просмотров за 24"+
" часа, посетителей за 24 часа и за сегодня' "+
"border='0' width='88' height='31'><\/a>")
//--></script><!--/LiveInternet--></td>
<td><!-- begin of Top100 code -->

<script id="top100Counter" type="text/javascript" src="http://counter.rambler.ru/top100.jcn?2984992"></script>
<noscript>
<a href="http://top100.rambler.ru/navi/2984992/">
<img src="http://counter.rambler.ru/top100.cnt?2984992" alt="Rambler's Top100" border="0" />
</a>

</noscript>
<!-- end of Top100 code --></td>
<td><a target="_blank" href="http://yuk.su/">
<img border="0" src="http://yuk.su/banner2.jpg" width="88" height="31" alt="МОНЕТЫ РОССИИ"></a></td>
</tr>
</div>
<div align="center">
<tr>
<td><a href="http://coinsspb.com/"><font color=white>Монеты СПб</font></a></td>
  • 0
IN GOD WE TRUST

CabinetAdmin 26 июл 2015, 20:31 Сообщение

Рок писал(а): Вот футер
Первая ошибка - все данные выводимые на страницу должны содержаться, строго, между тегами <body>. Вот например, у вас в футере два </body>.
Вторая - путаница в тегах. Робот может не так отобразить страницу, что тоже может повлиять на его индексацию. Например:

Код: Выделить всё

<div align="center">
<tr>
<td><!-- Yandex.Metrika informer -->
Открывающий тег должен быть table, тоже самое с закрывающим тегом.
  • 0
Хочешь поблагодарить? Есть способы: заходи на форум, создавай темы, делись опытом и наработками, общайся!

РокРок 26 июл 2015, 20:43 Сообщение

CabinetAdmin писал(а):
Рок писал(а): Вот футер
Первая ошибка - все данные выводимые на страницу должны содержаться, строго, между тегами <body>. Вот например, у вас в футере два </body>.
Вторая - путаница в тегах. Робот может не так отобразить страницу, что тоже может повлиять на его индексацию. Например:

Код: Выделить всё

<div align="center">
<tr>
<td><!-- Yandex.Metrika informer -->
Открывающий тег должен быть table, тоже самое с закрывающим тегом.
1. Второе body, если память не изменяет - это со скрипта мэйл. Что с ним делать?

2.

Код: Выделить всё

[table]
<div align="center">
<tr>
<td><!-- Yandex.Metrika informer -->
</td>
[/table]
Вот так должно быть?
  • 0
IN GOD WE TRUST

CabinetAdmin 26 июл 2015, 20:54 Сообщение

Вот так:

Код: Выделить всё

<!-- IF not S_IS_BOT -->{RUN_CRON_TASK}<!-- ENDIF -->
</div>
 
<!--
	We request you retain the full copyright notice below including the link to www.phpbb.com.
	This not only gives respect to the large amount of time given freely by the developers
	but also helps build interest, traffic and use of phpBB3. If you (honestly) cannot retain
	the full copyright we ask you at least leave in place the "Powered by phpBB" line, with
	"phpBB" linked to www.phpbb.com. If you refuse to include even this then support on our
	forums may be affected.
 
	The phpBB Group : 2006
//-->
 
<div id="wrapfooter">
	<!-- IF U_ACP --><span class="gensmall">[ <a href="{U_ACP}">{L_ACP}</a> ]</span><br /><br /><!-- ENDIF -->
        <span class="copyright">Powered by <a href="http://www.phpbb.com/">phpBB</a> &copy; 2000, 2002, 2005, 2007 phpBB Group. <br />
        Вы можете бесплатно <a href="http://getbb.ru">создать форум</a> на GetBB.Ru
   </span><br /></b>
</div>
 
<table align="center">
<tr>
	<td>

<!-- Yandex.Metrika informer -->
<a href="https://metrika.yandex.ru/stat/?id=27298901&from=informer"
target="_blank" rel="nofollow"><img src="//bs.yandex.ru/informer/27298901/3_0_FFEC20FF_FFCC00FF_0_pageviews"
style="width:88px; height:31px; border:0;" alt="Яндекс.Метрика" title="Яндекс.Метрика: данные за сегодня (просмотры, визиты и уникальные посетители)" onclick="try{Ya.Metrika.informer({i:this,id:27298901,lang:'ru'});return false}catch(e){}"/></a>
<!-- /Yandex.Metrika informer -->
 
<!-- Yandex.Metrika counter -->
<script type="text/javascript">
(function (d, w, c) {
    (w[c] = w[c] || []).push(function() {
        try {
            w.yaCounter27298901 = new Ya.Metrika({id:27298901,
                    clickmap:true,
                    trackLinks:true,
                    accurateTrackBounce:true});
        } catch(e) { }
    });
 
    var n = d.getElementsByTagName("script")[0],
        s = d.createElement("script"),
        f = function () { n.parentNode.insertBefore(s, n); };
    s.type = "text/javascript";
    s.async = true;
    s.src = (d.location.protocol == "https:" ? "https:" : "http:") + "//mc.yandex.ru/metrika/watch.js";
 
    if (w.opera == "[object Opera]") {
        d.addEventListener("DOMContentLoaded", f, false);
    } else { f(); }
})(document, window, "yandex_metrika_callbacks");
</script>
<noscript><div><img src="//mc.yandex.ru/watch/27298901" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
<!-- /Yandex.Metrika counter --></td>
<!-- Rating@Mail.ru counter -->
<script type="text/javascript">//<![CDATA[
var _tmr = _tmr || [];
_tmr.push({id: "2449024", type: "pageView", start: (new Date()).getTime()});
(function (d, w) {
   var ts = d.createElement("script"); ts.type = "text/javascript"; ts.async = true;
   ts.src = (d.location.protocol == "https:" ? "https:" : "http:") + "//top-fwz1.mail.ru/js/code.js";
   var f = function () {var s = d.getElementsByTagName("script")[0]; s.parentNode.insertBefore(ts, s);};
   if (w.opera == "[object Opera]") { d.addEventListener("DOMContentLoaded", f, false); } else { f(); }
})(document, window);
//]]></script><noscript><div style="position:absolute;left:-10000px;">
<img src="//top-fwz1.mail.ru/counter?id=2449024;js=na" style="border:0;" height="1" width="1" alt="Рейтинг@Mail.ru" />
</div></noscript>
<!-- //Rating@Mail.ru counter -->

	</td>
	<td>

<!-- Rating@Mail.ru logo -->
<a href="http://top.mail.ru/jump?from=2449024">
<img src="//top-fwz1.mail.ru/counter?id=2449024;t=479;l=1" 
style="border:0;" height="31" width="88" alt="Рейтинг@Mail.ru" /></a>
<!-- //Rating@Mail.ru logo --></td>
<td><!--LiveInternet counter--><script type="text/javascript"><!--
document.write("<a href='http://www.liveinternet.ru/click' "+
"target=_blank><img src='//counter.yadro.ru/hit?t12.6;r"+
escape(document.referrer)+((typeof(screen)=="undefined")?"":
";s"+screen.width+"*"+screen.height+"*"+(screen.colorDepth?
screen.colorDepth:screen.pixelDepth))+";u"+escape(document.URL)+
";"+Math.random()+
"' alt='' title='LiveInternet: показано число просмотров за 24"+
" часа, посетителей за 24 часа и за сегодня' "+
"border='0' width='88' height='31'><\/a>")
//--></script><!--/LiveInternet-->

	</td>
	<td>

<!-- begin of Top100 code -->
<script id="top100Counter" type="text/javascript" src="http://counter.rambler.ru/top100.jcn?2984992"></script>
<noscript>
<a href="http://top100.rambler.ru/navi/2984992/">
<img src="http://counter.rambler.ru/top100.cnt?2984992" alt="Rambler's Top100" border="0" />
</a>
</noscript>
<!-- end of Top100 code -->

	</td>
	<td>

<a target="_blank" href="http://yuk.su/"><img border="0" src="http://yuk.su/banner2.jpg" width="88" height="31" alt="МОНЕТЫ РОССИИ"></a>

	</td>
</tr>
<tr>
	<td><a href="http://coinsspb.com/" style="color: white;">Монеты СПб</a></td>
</tr>
</table>

</body>
</html>
  • 0
Хочешь поблагодарить? Есть способы: заходи на форум, создавай темы, делись опытом и наработками, общайся!

РокРок 26 июл 2015, 21:00 Сообщение

Сделал. Правда центровка исчезла, все влево завалилось. Странно, хотя <td></td> есть.

И в темы когда захожу, все равно счетчиков нет внизу.
  • 0
IN GOD WE TRUST

CabinetAdmin 26 июл 2015, 21:12 Сообщение

Так:

Код: Выделить всё

<!-- IF not S_IS_BOT -->{RUN_CRON_TASK}<!-- ENDIF -->
</div>
 
<!--
	We request you retain the full copyright notice below including the link to www.phpbb.com.
	This not only gives respect to the large amount of time given freely by the developers
	but also helps build interest, traffic and use of phpBB3. If you (honestly) cannot retain
	the full copyright we ask you at least leave in place the "Powered by phpBB" line, with
	"phpBB" linked to www.phpbb.com. If you refuse to include even this then support on our
	forums may be affected.
 
	The phpBB Group : 2006
//-->
 
<div id="wrapfooter">
	<!-- IF U_ACP --><span class="gensmall">[ <a href="{U_ACP}">{L_ACP}</a> ]</span><br /><br /><!-- ENDIF -->
        <span class="copyright">Powered by <a href="http://www.phpbb.com/">phpBB</a> &copy; 2000, 2002, 2005, 2007 phpBB Group. <br />
        Вы можете бесплатно <a href="http://getbb.ru">создать форум</a> на GetBB.Ru
   </span><br /></b>
</div>
 
<table style="margin: 0 auto;">
<tr>
	<td>
 
<!-- Yandex.Metrika informer -->
<a href="https://metrika.yandex.ru/stat/?id=27298901&from=informer"
target="_blank" rel="nofollow"><img src="//bs.yandex.ru/informer/27298901/3_0_FFEC20FF_FFCC00FF_0_pageviews"
style="width:88px; height:31px; border:0;" alt="Яндекс.Метрика" title="Яндекс.Метрика: данные за сегодня (просмотры, визиты и уникальные посетители)" onclick="try{Ya.Metrika.informer({i:this,id:27298901,lang:'ru'});return false}catch(e){}"/></a>
<!-- /Yandex.Metrika informer -->
 
<!-- Yandex.Metrika counter -->
<script type="text/javascript">
(function (d, w, c) {
    (w[c] = w[c] || []).push(function() {
        try {
            w.yaCounter27298901 = new Ya.Metrika({id:27298901,
                    clickmap:true,
                    trackLinks:true,
                    accurateTrackBounce:true});
        } catch(e) { }
    });
 
    var n = d.getElementsByTagName("script")[0],
        s = d.createElement("script"),
        f = function () { n.parentNode.insertBefore(s, n); };
    s.type = "text/javascript";
    s.async = true;
    s.src = (d.location.protocol == "https:" ? "https:" : "http:") + "//mc.yandex.ru/metrika/watch.js";
 
    if (w.opera == "[object Opera]") {
        d.addEventListener("DOMContentLoaded", f, false);
    } else { f(); }
})(document, window, "yandex_metrika_callbacks");
</script>
<noscript><div><img src="//mc.yandex.ru/watch/27298901" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
<!-- /Yandex.Metrika counter -->

	</td>
	<td>

<!-- Rating@Mail.ru counter -->
<script type="text/javascript">//<![CDATA[
var _tmr = _tmr || [];
_tmr.push({id: "2449024", type: "pageView", start: (new Date()).getTime()});
(function (d, w) {
   var ts = d.createElement("script"); ts.type = "text/javascript"; ts.async = true;
   ts.src = (d.location.protocol == "https:" ? "https:" : "http:") + "//top-fwz1.mail.ru/js/code.js";
   var f = function () {var s = d.getElementsByTagName("script")[0]; s.parentNode.insertBefore(ts, s);};
   if (w.opera == "[object Opera]") { d.addEventListener("DOMContentLoaded", f, false); } else { f(); }
})(document, window);
//]]></script><noscript><div style="position:absolute;left:-10000px;">
<img src="//top-fwz1.mail.ru/counter?id=2449024;js=na" style="border:0;" height="1" width="1" alt="Рейтинг@Mail.ru" />
</div></noscript>
<!-- //Rating@Mail.ru counter -->
 
	</td>
	<td>
 
<!-- Rating@Mail.ru logo -->
<a href="http://top.mail.ru/jump?from=2449024">
<img src="//top-fwz1.mail.ru/counter?id=2449024;t=479;l=1" 
style="border:0;" height="31" width="88" alt="Рейтинг@Mail.ru" /></a>
<!-- //Rating@Mail.ru logo --></td>
<td><!--LiveInternet counter--><script type="text/javascript"><!--
document.write("<a href='http://www.liveinternet.ru/click' "+
"target=_blank><img src='//counter.yadro.ru/hit?t12.6;r"+
escape(document.referrer)+((typeof(screen)=="undefined")?"":
";s"+screen.width+"*"+screen.height+"*"+(screen.colorDepth?
screen.colorDepth:screen.pixelDepth))+";u"+escape(document.URL)+
";"+Math.random()+
"' alt='' title='LiveInternet: показано число просмотров за 24"+
" часа, посетителей за 24 часа и за сегодня' "+
"border='0' width='88' height='31'><\/a>")
//--></script><!--/LiveInternet-->
 
	</td>
	<td>
 
<!-- begin of Top100 code -->
<script id="top100Counter" type="text/javascript" src="http://counter.rambler.ru/top100.jcn?2984992"></script>
<noscript>
<a href="http://top100.rambler.ru/navi/2984992/">
<img src="http://counter.rambler.ru/top100.cnt?2984992" alt="Rambler's Top100" border="0" />
</a>
</noscript>
<!-- end of Top100 code -->
 
	</td>
	<td>
 
<a target="_blank" href="http://yuk.su/"><img border="0" src="http://yuk.su/banner2.jpg" width="88" height="31" alt="МОНЕТЫ РОССИИ"></a>
 
	</td>
</tr>
<tr>
	<td colspan="5" style="text-align: center;"><a href="http://coinsspb.com/" style="color: white;">Монеты СПб</a></td>
</tr>
</table>
 
</body>
</html>
  • 0
Хочешь поблагодарить? Есть способы: заходи на форум, создавай темы, делись опытом и наработками, общайся!

РокРок 26 июл 2015, 21:19 Сообщение

Счетчики отцентровались. Единственно нижняя ссылка Монеты СПб, не по середине стоит, а немного левее. Но поставил заместо

Код: Выделить всё

colspan="5"
-

Код: Выделить всё

colspan="8"
и ссылка выровнилась.

А это нормально, что счетчики отображаются на главной странице, в категориях, а в темах их нет?
  • 0
IN GOD WE TRUST

CabinetAdmin 27 июл 2015, 14:50 Сообщение

Видимо в шаблоне viewtopic_body.html в конце отсутствует:

Код: Выделить всё

<!-- INCLUDE overall_footer.html -->
  • 0
Хочешь поблагодарить? Есть способы: заходи на форум, создавай темы, делись опытом и наработками, общайся!

РокРок 27 июл 2015, 17:04 Сообщение

Спасибо большое за помощь, все получилось :Yahoo!:

P.S. Все равно метрика меньше всех показывает, хотя ее первой поставил...
  • 0
IN GOD WE TRUST