vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Programming Articles (https://vborg.vbsupport.ru/forumdisplay.php?f=188)
-   -   Tynt - Leverage the benefit of copy/paste on your forum (https://vborg.vbsupport.ru/showthread.php?t=255638)

Gn_Snake 12-22-2010 10:25 AM

Quote:

Originally Posted by extreme-gaming (Post 2137363)
I just looked at your source and the code appears waaaaaaay at the bottom. I'm pretty sure you put it in the footer by accident.

PHP Code:

<script type="text/javascript">
if(
document.location.protocol=='http:'){
 var 
Tynt=Tynt||[];Tynt.push('a2WvsCdvar4jEradbi-bpO');Tynt.i={"ap":"Leggi tutto: ","as":"Articolo su Hardwaregame.it","t":true};
 (function(){var 
s=document.createElement('script');s.async="async";s.type="text/javascript";s.src='http://tcr.tynt.com/ti.js';var h=document.getElementsByTagName('script')[0];h.parentNode.insertBefore(s,h);})();
}
</
script> <div class="google_adsense_footer" style="width:728px; margin:0 auto; padding-top:1em"> <script type="text/javascript"><!--
google_ad_client "pub-----------------------------";
google_ad_host "pub--------------------------------";
google_ad_width 728;
google_ad_height 90;
google_ad_format "728x90_as";
google_ad_type "text_image";
google_ad_channel "";
google_color_border "";
google_color_bg "";
google_color_link "";
google_color_text "";
google_color_url "";
google_ui_features "rc:6";
//--> </script> <script type="text/javascript"
  
src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> </div> <div id="footer" class="floatcontainer footer"> <form action="http://www.hardwaregame.it/forum/forum.php" method="get" id="footer_select" class="footer_select"> <select name="styleid" onchange="switch_id(this, 'style')"> <optgroup label="Scelta Rapida Stile"> <option value="20" class="" selected="selected">-- HardwareGame 2.0</option> <option value="21" class="" >-- Dark Style HG</option> <option value="22" class="" >-- Red Style HG</option> <option value="18" class="" >-- Blue Style HG</option> <option value="23" class="" >-- Purple Style HG</option> <option value="12" class="" >-- Default Style</option> </optgroup> </select> <select name="langid" onchange="switch_id(this, 'lang')"> <optgroup label="Scelta Rapida Lingua"> <option value="1" class="" >-- English (US)</option> <option value="8" class="" selected="selected">-- Italiano [IT]</option> </optgroup> </select> </form> <ul id="footer_links" class="footer_links"> <li><a href="http://www.hardwaregame.it/forum/sendmessage.php" rel="nofollow" accesskey="9">Contattaci</a></li> <li><a href="http://www.hardwaregame.it">HardwareGame The Next Generation</a></li> <li><a href="http://www.hardwaregame.it/forum/archive/index.php/">Archivio</a></li> <li><a href="http://www.hardwaregame.it/forum/content/#top" onclick="document.location.hash='top'; return false;">Su</a></li> </ul> <script type="text/javascript"> <!--
        
// Main vBulletin Javascript Initialization
        
vBulletin_init();
    
//--> </script> </div> </div>  <div class="below_body"> <div id="footer_time" class="shade footer_time">Tutti gli orari sono GMT +2. Adesso sono le <span class="time">00:27</span>.</div> <div id="footer_copyright" class="shade footer_copyright"> 
    
Powered by <a onclick="_gaq.push(['_trackEvent', 'Outgoing', 'www.vbulletin.com', '']);" href="http://www.vbulletin.com" id="vbulletinlink">vBulletin&trade;</aVersion 4.0.7 <br />Copyright &copy2010 vBulletin SolutionsIncAll rights reserved
    

<
br />Search Engine Friendly URLs by <a onclick="_gaq.push(['_trackEvent', 'Outgoing', 'www.crawlability.com', '/vbseo/']);" rel="nofollow" href="http://www.crawlability.com/vbseo/">vBSEO</a3.5.2 </div> <div id="footer_morecopyright" class="shade footer_morecopyright">  
    ?
2006 Hardwaregame.it All rights reserved. ? Network Ltd.
</
div> <script type="text/javascript" src="http://www.hardwaregame.it/forum/clientscript/vbulletin_facebook.js?v=407"></script> <script type="text/javascript" src="http://connect.facebook.net/en_US/all.js"></script> <script type="text/javascript"> <!--
YAHOO.util.Event.onDOMReady(
    function()
    {
        
vBfb = new vB_Facebook({
            
appid "10150243155930001",
            
connected 0,
            
active 0,
            
autoreg 0,
            
feed_newthread 1,
            
feed_postreply 1,
            
feed_blogentry 1,
            
feed_blogcomment 1,
            
feed_newarticle 1,
            
feed_articlecomment 1
        
});
    }
);
--> </
script> <div id="fb-root"></div> </div> <script type="text/javascript" src="http://www.hardwaregame.it/forum/mobiquo/tapatalkdetect.js"></script

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

var vbseo_jshtml = new Array();
vbseo_jshtml[0] = "<ol> <li class=\"restore\" id=\"navbar_notice_1\">        Se questa &egrave; la tua prima visita sii sicuro di aver letto le <a href=\"http://www.hardwaregame.it/forum/faq.php\" target=\"_blank\"><b>FAQ</b></a>. Puoi  <a href=\"http://www.hardwaregame.it/forum/register.php\" target=\"_blank\"><b>registrarti</b></a> a questo link. Per iniziare a visualizzare i messaggi seleziona il forum in cui vuoi farlo qu? sotto. </li> </ol>";

for(var 
vi=0;vi<vbseo_jshtml.length;vi++)
if(
fetch_object("vbseo_vhtml_"+vi))fetch_object("vbseo_vhtml_"+vi).innerHTML vbseo_jshtml[vi];

//]]>
</script>
</
body> </html


Hello,
I put the code in the header and the test said I failed. I put the code in the footer perhaps thinking that had to be put there, but again failed.
I own 4 templates, I put the code only in the default one to try, perhaps I have them all for the positive test?

BadgerDog 12-22-2010 10:41 AM

Quote:

Originally Posted by Gn_Snake (Post 2137579)
I own 4 templates, I put the code only in the default one to try, perhaps I have them all for the positive test?

I had to do that and it passed the test fine....

Regards,
Doug

Gn_Snake 12-22-2010 07:50 PM

I inserted the code into all my templates in the header.
The test always says failed
Any idea?

GamerPerfection 12-23-2010 07:20 AM

Quote:

Originally Posted by Gn_Snake (Post 2137773)
I inserted the code into all my templates in the header.
The test always says failed
Any idea?

First piece of advice.... remove the animated snow.... it makes your site incredibly slow and I nearly couldn't be bothered to look at you problem.

However, I had a look at your source code but couldn't se anything wrong straight off. Would you be able to enable the template labels so that when we look at your source code it shows what templates each section are?

Like mine: http://www.gamerperfection.com - view my source code and search for 'tynt' and you will see that it shows that it is in the header template.

If you do that then it will make reading your source code a lot easier.

BadgerDog 12-23-2010 10:29 AM

1 Attachment(s)
I just noticed that their site install instructions for vBulletin differ from what is posted here, including the use of <vb:literal> and saying to put the code into the footer? :confused:

See attached pic..

Regards,
Doug

GamerPerfection 12-23-2010 10:40 AM

Quote:

Originally Posted by Gn_Snake (Post 2137773)
I inserted the code into all my templates in the header.
The test always says failed
Any idea?

Maybe it's something to do with vBSEO, because I don't have vBSEO.

Gn_Snake 12-23-2010 07:33 PM

You're right, the snow is annoying ... but it's Christmas! :rolleyes:

Quote BadgerDog on the site instructions say to put it in the footer.
However, I also tried in footer (only one template) and does not work


I use vBSEO, so I can not activate it?

GamerPerfection 12-24-2010 03:57 AM

Quote:

Originally Posted by Gn_Snake (Post 2138266)
I use vBSEO, so I can not activate it?

I don't know for sure, i'm just saying that it could be related to vBSEO.

BirdOPrey5 12-26-2010 05:24 PM

With all do respect to extreme-gaming and Acidx the first person to mention this service on vBulletin.org was DieselMinded back in November 2009 - https://vborg.vbsupport.ru/showpost....4&postcount=64

For what it's worth I also put it in my footer because I didn't want the whole page to wait for it to load.

BadgerDog 01-04-2011 12:16 PM

Can some explain to me the benefit (pro or con) of additionally checking (turning ON) the second option below?

Quote:

Tynt Insight allows you to track how many visitors are coming to your site by monitoring links copied from the address bar.

1. Enable Address Bar Tracking

2. Exclude Tracking Homepage
We use an add-on which works really well, even under 4.04, that converts ..

External Link Titles, retrieve descriptive titles for URLs
https://vborg.vbsupport.ru/showthread.php?t=146679

I think Tynt's ## hash stuff is getting in the way of that when links are copied internally from one place to another on our site.

By the way, how can we STOP Tynt from doing any tracking on copies that stay just on our site? We're not interested in tracking data on those, just external copying.

Thanks for any feedback .. :)

Regards,
Doug


All times are GMT. The time now is 01:07 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01188 seconds
  • Memory Usage 1,808KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete