vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Mini Mods - [Mod-Mall] Tynt - Add link to copy/pasted content (for SEO) (https://vborg.vbsupport.ru/showthread.php?t=262944)

nitra1000 04-30-2011 10:00 PM

[Mod-Mall] Tynt - Add link to copy/pasted content (for SEO)
 
1 Attachment(s)
What Tynt Does
In short Tynt adds a link to content copy and pasted from your site, this obviously helps your SEO and also provides a decent link for more visitors.

You can find loads of information at http://www.tynt.com/publisher-tools

Example... Try to copy something from this page (selected at random)....

What This Mod Does
This mod inserts the javascript in your header template, saving you from having to edit or revert your templates every upgrade.

It also has built in conditionals to allow you to configure who the script is active for


Currently supports
  • Exclude Users with Post Counts above X
  • Exclude Usergroups (for example if they have donated)
  • Exclude Guests
  • More coming soon

How to install
  1. Import the xml
  2. Register at tynt.com, and configure your website
  3. It should give you some code that looks like the below to insert into your header
    Code:

    <script type="text/javascript">
    if(document.location.protocol=='http:'){
     var Tynt=Tynt||[];Tynt.push('');Tynt.i={"ap":""};
     (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>

  4. copy and paste this into the script box found in your admincp under Settings>Options>Add Tynt Script
  5. Activate and configure the add on in the same screen


How to Upgrade
  1. Import the xml, rember to check yes for "Allow Overwrite"
  2. Check your configuration on Settings>Options>Add Tynt Script


Releases
V1.0 - Initial Release
V1.1 - Proof of concept for checking user information
V1.2 - Added additional user checks

To Do List
  • [S]Additional user checks (User ID, Usergroup)[/S] - V1.2
  • Additional forum checks (Forum ID)

Please note I have nothing to do with Tynt, I just saw the script and thought it would be a good thing to try for my first modification on vBulletin.

sticky 05-01-2011 01:42 PM

Yes! I have been waiting for something like this.

Only question, will this work for older versions? I'm on 4.0.2

nitra1000 05-01-2011 01:56 PM

Quote:

Originally Posted by sticky (Post 2190669)
Yes! I have been waiting for something like this.

Only question, will this work for older versions? I'm on 4.0.2

Should work on all versions of vb4.0

sticky 05-01-2011 02:08 PM

Quote:

Originally Posted by nitra1000 (Post 2190678)
Should work on all versions of vb4.0

Thank you! Installing.

sticky 05-01-2011 02:10 PM

Quote:

Originally Posted by nitra1000 (Post 2190678)
Should work on all versions of vb4.0

Question, will this work for people running Cerberus? As in, multiple domains?

nitra1000 05-01-2011 02:19 PM

Quote:

Originally Posted by sticky (Post 2190690)
Question, will this work for people running Cerberus? As in, multiple domains?

Should do.. can't see why not.

p.s to all that downloaded the xml before this post, redownload it... left a extra } in the code.

eh69 05-01-2011 02:36 PM

1. Can You make this mod without Tynt or other external website?

2. Can You make that links will be redirect to copied post?
Ex:
Now its looking: http://www.forum.alfaholicy.org/spra...#ixzz1L7DS1Anw

Should be: http://www.forum.alfaholicy.org/spra...#ixzz1L7DS1Anw

Marked as installed. Great mod! :)

nitra1000 05-01-2011 05:06 PM

Quote:

Originally Posted by eh69 (Post 2190698)
1. Can You make this mod without Tynt or other external website?

2. Can You make that links will be redirect to copied post?
Ex:
Now its looking: http://www.forum.alfaholicy.org/spra...#ixzz1L7DS1Anw

Should be: http://www.forum.alfaholicy.org/spra...#ixzz1L7DS1Anw

Marked as installed. Great mod! :)

Suggestions taken on board, thanks for hitting installed!

Hornstar 05-01-2011 09:40 PM

Great mod, any chance you can do one for us 3.8.x users :D

Ljusya 05-02-2011 05:09 AM

Not working in Opera 11.10


All times are GMT. The time now is 07:35 PM.

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.01127 seconds
  • Memory Usage 1,740KB
  • 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_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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