Go Back   vb.org Archive > vBulletin Article Depository > Read An Article > Programming Articles

Reply
 
Thread Tools
Tynt - Leverage the benefit of copy/paste on your forum
AcidX's Avatar
AcidX
Join Date: Jan 2006
Posts: 137

 

Macedonia
Show Printable Version Email this Page Subscription
AcidX AcidX is offline 12-20-2010, 10:00 PM

NOTE:
This modification works for all versions of vBulletin.

DESCRIPTION:
Imagine if you could monitor every time someone copies and pastes something off your site. To make it even better, what if you can insert a backlink when you text is pasted somewhere else. It?s a great way for attribution, tracking what content is popular, and gaining some inbound links.

Tynt Insight allows you to do this. It?s a free service and there is even a slick reporting dashboard. You simply signup, generate your unique bit of JavaScript and insert it into your site.

Each time a user pastes content from your forum into an email, blog or website, Tynt automatically adds an URL link back to your site?s original content. When someone clicks that URL, they are directed back to your site and see the original content.

This drives incremental traffic to your site when your content is shared without your knowledge while maintaining a consistent user experience. Make link-backs to your content effortless for readers and gain new insight into user engagement with Tynt Insight. With this modification, you can bring up to 40% more visitors to ceratin pages on your forum.

INSTALLATION GUIDE:

1) Register your domain;
2) Go to "Link setup" and customize your attribution link;
3) Click on "Get your script" to get the code;
4) Go to your forum admin panel > Open Styles & templates > Edit header > paste the code on top of everything > Save.

Optionally, you can test the code here, or try it out yourself!

VIDEO DEMO:
You can find the video demo here.
Reply With Quote
  #32  
Old 12-22-2010, 10:25 AM
Gn_Snake Gn_Snake is offline
 
Join Date: Feb 2006
Location: Italy
Posts: 358
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by extreme-gaming View Post
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?
Reply With Quote
  #33  
Old 12-22-2010, 10:41 AM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Gn_Snake View Post
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
Reply With Quote
  #34  
Old 12-22-2010, 07:50 PM
Gn_Snake Gn_Snake is offline
 
Join Date: Feb 2006
Location: Italy
Posts: 358
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I inserted the code into all my templates in the header.
The test always says failed
Any idea?
Reply With Quote
  #35  
Old 12-23-2010, 07:20 AM
GamerPerfection's Avatar
GamerPerfection GamerPerfection is offline
 
Join Date: Feb 2006
Posts: 389
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Gn_Snake View Post
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.
Reply With Quote
  #36  
Old 12-23-2010, 10:29 AM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?

See attached pic..

Regards,
Doug
Attached Images
File Type: png Screen shot 2010-12-23 at 7.27.17 AM.png (73.5 KB, 0 views)
Reply With Quote
  #37  
Old 12-23-2010, 10:40 AM
GamerPerfection's Avatar
GamerPerfection GamerPerfection is offline
 
Join Date: Feb 2006
Posts: 389
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Gn_Snake View Post
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.
Reply With Quote
  #38  
Old 12-23-2010, 07:33 PM
Gn_Snake Gn_Snake is offline
 
Join Date: Feb 2006
Location: Italy
Posts: 358
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

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?
Reply With Quote
  #39  
Old 12-24-2010, 03:57 AM
GamerPerfection's Avatar
GamerPerfection GamerPerfection is offline
 
Join Date: Feb 2006
Posts: 389
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Gn_Snake View Post
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.
Reply With Quote
  #40  
Old 12-26-2010, 05:24 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #41  
Old 01-04-2011, 12:16 PM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:01 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04757 seconds
  • Memory Usage 2,389KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_php
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_article
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete