Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons

Reply
 
Thread Tools
Two-Step External Links for Link Weight Retention Details »»
Two-Step External Links for Link Weight Retention
Version: 1.05, by aspen0 aspen0 is offline
Developer Last Online: Jun 2015 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.8.x Rating:
Released: 07-01-2009 Last Update: 01-25-2011 Installs: 52
Uses Plugins
Code Changes Additional Files Translations  
No support by the author.

Two-Step External Links
Thought up by Chris Beasley, coded by Chris Bowyer, copyright Jalic Inc. 2009.

Compatibility
Tested on 3.7.x and 3.8.x, may work on older versions as well.

Description
With Google's recent change to nofollow calculations using nofollow on your user submitted external links will still harm your site by depriving your internal links of PageRank. (See here.)

Forums that had installed nofollow on signature or other such user contributed links thinking they were controlling this are in fact no longer doing so.

One solution is a two-step linking process presenting a disclaimer on a redirect page (filled
with your internal links) to mitigate link weight loss. For a full explanation of benefits and the math behind them see the official page (a wordpress plugin is also available there).

Two-Step External Linking

This method is also useful for sites needing a disclaimer before sending people to third party user contributed websites for legal or liability reasons.

Using this plugin can reduce the amount of pagerank sent through user contributed signature and other links by over 90%, for every post or thread on your forum. It also allows you to keep using nofollow to indicate to search engines that if the link is to a bad neighborhood you are not at fault, while not wasting link weight on the nofollow link.

Settings
The settings are located in vBulletin Options -> vBulletin Options -> All the way at the bottom. You can do the following:

1. Create a white list of domains or urls exempt from redirecting.
2. Decide to apply "nofollow" to the external link that shows on the redirect page or not.
3. Turn on two-step linking for signature links.
4. Turn on two-step linking for post/profile visitor message/blog links.
5. Turn on two-step linking for user profile/memberlist links.
6. Define your redirect warning disclaimer paragraph.
7. Decide to use an additional automated meta-redirect or not, and the second delay.


Statistics

New Files: 1
File Edits: 2
Products to Install: 1
Readme included

Additional Uses
Because the actual redirect page is fairly independent of vbulletin and easy to access, you can run any other external links from any software on your site through it simply with the format of example.com/forums/externalredirect.php?url=http://www.externalexample.com. So if you're able to edit your CMS or otherwise manually format your links as such, they will be run through the redirect as well.

Support

I'll do my best to provide support in this thread only for people who have it installed.

Version History

1.00 - Initial Release
1.01 - bug fixes
1.02 - bug fixes, added admin toggle to allow you to choose to only show redirects to guests.
1.03 - bug fixes
1.04 - bug fixes, non-www urls & sigpic problems fixed.
1.05 - Jan 25th 2011, small xss flaw fixed

Download Now

File Type: zip two-step-external-link.zip (4.7 KB, 242 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #62  
Old 07-04-2009, 05:10 AM
TWTCommish's Avatar
TWTCommish TWTCommish is offline
 
Join Date: Oct 2001
Location: Pittsburgh, PA, USA
Posts: 783
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nothing in this hack causes links to open in a new window, save for the one on the EXTERNAL_LINK template, which I believe has already been updated, and is easily modified. But it doesn't cause any of the links in signatures, posts, visitor comments, or anything else, to open in a new window/tab. That is vB's default behavior when parsing links in posts, etc.

Regarding differences between this hack and the other: I'm not familiar with the other one, so I couldn't tell you, but I notice you're asking for differences other than the redirect page. The redirect page may be the only major difference, but as aspen0 has explained, it's the entire point. I won't repeat his descriptions of how link weight is distributed, as they're still there for anyone to see and he explains it better than I can, but it bears mentioning.

I'd be glad to help you debug this hack if you'd like to contact me privately and give me some level of access. Suffice to say this has been tested on several different versions and the code itself is pretty straightforward, so I should be able to determine rather quickly if perhaps something went wrong during installation, or if some other mod is in conflict.

I am still somewhat curious about your reference to the whitelist, though. The whitelist exists to stop links from being run through the redirection page. Are you saying you added your URL to the whitelist even though this wasn't happening?
Reply With Quote
  #63  
Old 07-04-2009, 07:53 AM
Saviour's Avatar
Saviour Saviour is offline
 
Join Date: Apr 2007
Posts: 743
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

TWTCommish...

I appreciate the offer...and hope my posting hasn't had an ill affect on others who may want to download it. However, I've just decided to stay with what I have.

If I do change my mind...I'll be back to ask for assistance. Thanks, again, for your offer to help.

All my best...
Reply With Quote
  #64  
Old 07-04-2009, 12:02 PM
aspen0 aspen0 is offline
 
Join Date: Apr 2003
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Saviour View Post
Okay guys...

I'll try to describe the problem again...hopefully, this time, I won't lose you.

When your mod is installed...and a user clicks an external link, it's supposed to redirect them with a message that they are leaving the current site...correct? Your mod does not do this for me.

Your mod also opens internal links (from my site) in a new window or tab. I'm using Firefox 3.5. I included glitchpc.com in the whitelist. I had set "rel=nofollow" to off. All other settings were set to "yes".

Those are the issues I'm having with your mod. For the life of me, though, I don't see the difference between your mod and NuHit's mod. How is your mod any different than NuHit's...other than the fact there's supposed to be a redirect message that does not seem to be working for me...along with the fact that internal links are opened in a new window...which shouldn't be happening.

When I installed your mod...I made sure NuHit's mod was uninstalled, first. I tried several times to get your mod to work, but was unsuccessful. It's not that I had given up...I just decided to return to the previous mod I was using that worked fine. The only reason I wanted to try your mod was due to the fact a message was supposed to be displayed notifying the person who clicks an external link that they are being redirected to another site.

Again...I gave this mod every opportunity and it failed on every attempt to get the redirect message to display or to prevent internal links from opening in a new window...even after rebuilding the post cache. If it matters...I'm running vb 3.8.3, vba CMPS 3.2.0 and vba Links Directory 3.2.0. I use quite a few mods...so...I'm not sure if any of them are conflicting with your mod...but that could be a possibility. However...like I said...NuHit's mod is working flawlessly.

Also...aspen0 stated this:



How? NuHit's mod gives you the ability to turn "rel=nofollow" on/off. It opens external links in a new window and you can choose whether to open internal links in the same (or a new) window. It also uses a whitelist. So tell me...how can using their mod technically have me at a disadvantage? Other than the fact if I'm using their mod, I'm not using yours.

Well...that's it...in a nutshell. I look forward to your replies.
Our mod has nothing to do with links being opened in a new window, as the other Chris said. VB by default opens user posted links, anything generated by bbcode, in a new window. In fact, in the post I'm quoting you quote me where I post a link to another vb.org page, go click on that link. Notice the new window. VB default behavior.

It sounds to me like Nuhit's mod is malfunctioning for you actually. If Nuhit's mod is supposed to allow you to stop internal links from opening in a new window, it is malfunctioning.

Now, how is it hurting you? Hurting is perhaps the wrong word to use. It isn't helping you. It isn't helping you a lick with Google. It is doing nothing for your Google rankings. That was my point, if that is not why you use it, if you use it to stop VB's default behavior of opening links in new windows, then I misunderstood. I thought you were using it with the idea to help your search engine rankings.

As for why our mod doesn't work, I'm guess it was either installed incorrectly, or there is a conflict with one of your other mods, like nuhit's not being uninstalled fully or something.

I don't know how many forums the other chris runs, I've got about 10, and at least 9 other people have installed it so far too, so that is a lot of variation, in which it works, your forum might just be an oddity.
Reply With Quote
  #65  
Old 07-04-2009, 06:36 PM
aspen0 aspen0 is offline
 
Join Date: Apr 2003
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

updated with bug fixes and a toggle to allow you to set to only show it to unregistered users. No file changes are needed, just reinstall the new xml file.
Reply With Quote
  #66  
Old 07-04-2009, 07:46 PM
smirkley smirkley is offline
 
Join Date: Apr 2008
Posts: 627
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by aspen0 View Post
..., I've got about 10, and at least 9 other people have installed it so far too, so that is a lot of variation, in which it works, ....
I know it is probably too soon to tell yet, but when you can, is it possible to provide some statistics based on your experience, of the net improvements that this mod has provided, based on actual data?
Reply With Quote
  #67  
Old 07-04-2009, 10:11 PM
aspen0 aspen0 is offline
 
Join Date: Apr 2003
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Unfortunately that is very hard to do. Google purposefully obfusicates the link weight reporting they provide to webmasters, we never know the actual score, and as well they only always show data thats usually 4 months out of date.
Reply With Quote
  #68  
Old 07-04-2009, 10:51 PM
dont.net dont.net is offline
 
Join Date: Jul 2009
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed

Thanks
Reply With Quote
  #69  
Old 07-05-2009, 01:41 AM
NLP-er's Avatar
NLP-er NLP-er is offline
 
Join Date: Aug 2008
Location: Wrocław
Posts: 1,353
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed and after link clicking on my forum I got:
Code:
1||1246761650||88.199.62.36||url=http://www.wp.pl||http://www.forum.simple-nlp.pl/informacje/887-kolejny-test.html||Opera/9.61 (Windows NT 5.1; U; pl) Presto/2.1.1Access Denied, you have been logged.
Reply With Quote
  #70  
Old 07-05-2009, 02:02 AM
NLP-er's Avatar
NLP-er NLP-er is offline
 
Join Date: Aug 2008
Location: Wrocław
Posts: 1,353
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Also going to externalredirect.php without url param generates normal page with message about invalid url.

So this error exists only when url is set - I have white page whit that communicate and nothing else.
Reply With Quote
  #71  
Old 07-05-2009, 02:19 AM
aspen0 aspen0 is offline
 
Join Date: Apr 2003
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm sorry NLP'er, I'm not understanding your issue.
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 05:08 AM.


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.04784 seconds
  • Memory Usage 2,341KB
  • Queries Executed 27 (?)
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_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete