TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,970
  • Latest: bynw
Stats
  • Total Posts: 196,041
  • Total Topics: 21,335
  • Online today: 268
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 165
  • Total: 165

On some pages disappear site meters

Started by gz06, April 18, 2013, 03:29:40 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

gz06

Guys, the problem before was fixed successful

http://www.tinyportal.net/index.php?topic=35148.msg280719;topicseen#new


and thanks once again.


But now, I have another issue:


http://forumkavkaz.com/index.php


we see at the end of page site meters.
as well on the page we see some successful add senses at the top.

But here on forum main page:


http://forumkavkaz.com/forum/


and inside of tp articles pages:

http://forumkavkaz.com/index.php?page=10
 

site meters and add senses lost.

Possible to fix it?

Thanks.

IchBin

Not really a tinyportal problem, more of a problem that you have with the modification you are using to display those things.

Need to see the code that you have where it adds your metrics and ad sense.

gz06

#2
Quote from: IchBin™ on April 19, 2013, 08:03:57 PM
Not really a tinyportal problem, more of a problem that you have with the modification you are using to display those things.

Need to see the code that you have where it adds your metrics and ad sense.

This mod:

http://custom.simplemachines.org/mods/index.php?mod=2557


and this code for site meters:


<center><!-- Yandex.Metrika informer -->
<a href="http://metrika.yandex.ru/stat/?id=18298483&amp;from=informer"
target="_blank" rel="nofollow"><img src="//bs.yandex.ru/informer/18298483/2_1_FFFFFFFF_EFEFEFFF_0_visits"
style="width:80px; height:31px; border:0;" alt="Яндекс.Метрика" title="Яндекс.Метрика: данные за сегодня (визиты)" onclick="try{Ya.Metrika.informer({i:this,id:18298483,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.yaCounter100257 = new Ya.Metrika({id:100257,
                    clickmap:true,
                    trackLinks:true,type:1});
        } 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/100257?cnt-class=1" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
<!-- /Yandex.Metrika counter --><!--cy-pr.com--><a href="http://www.cy-pr.com/" target="_blank"><img src="http://www.cy-pr.com/e/forumkavkaz.com_1_107.138.206.gif" border="0" width="88" height="31" alt="Проверка PR и ТИЦ"/></a><!--cy-pr.com--></center>


This for adds^

<!-- Яндекс.Директ --><div id="yandex_ad"></div><script type="text/javascript">(function(w, d, n, s, t) {w[n] = w[n] || [];w[n].push(function() {Ya.Direct.insertInto(100257, "yandex_ad", {site_charset: "utf-8",ad_format: "direct",font_size: 1,type: "horizontal",limit: 4,title_font_size: 2,site_bg_color: "FFFFFF",header_bg_color: "E5CCFF",title_color: "CC0000",url_color: "006600",text_color: "000000",hover_color: "0066FF",favicon: true});});t = d.documentElement.firstChild;s = d.createElement("script");s.type = "text/javascript";s.src = "http://an.yandex.ru/system/context.js";s.setAttribute("async", "true");t.insertBefore(s, t.firstChild);})(window, document, "yandex_context_callbacks");</script>


All was ok on forum index page. TP moved this index to itself.

Just updating info:

Solved with site metters. Manually. Directly to index.template.php. By disabling the mod.
Will try to do same for adds.
But it's not good way. May be you know any better mod for adds?

Thanks. 

IchBin


This website is proudly hosted on Crocweb Cloud Website Hosting.