Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
NuHIT URLs: Add rel=nofollow and control where links are opened Details »»
NuHIT URLs: Add rel=nofollow and control where links are opened
Version: 1.00, by ElfMage ElfMage is offline
Developer Last Online: Aug 2010 Show Printable Version Email this Page

Category: Board Optimization - Version: 3.6.5 Rating:
Released: 04-20-2007 Last Update: 04-20-2007 Installs: 167
Uses Plugins
 
No support by the author.

/*================================================= =====================*\
|| NuHIT URLs: Add rel=nofollow and control where links are opened
|| ================================================== =====
|| Brought to you by:
|| nuHIT.com
|| Professional add-ons for vBulletin
\*================================================ ======================*/


Description

This small mod let's you control how URLs should be processed in your forum.

Adding rel="nofollow" to links in your forum will help improve your sites overall pagerank by reducing pagerank leak due to link to external sites added by your members.

This mod lets you do this for all URLs posted by your members.

In addition, you can control whether URLs should open in a new window, or should open in the same window the user is on.

Installation
  • Download and extract .zip
  • Upload product xml ( Admin CP > Plugins & Products > Manage Products > Import Product )
  • Configure your internal domains from vBulletin Options > NuHIT URL Settings
  • Click Mark as Installed, and you get this cool image for your signature



Features
  • No vBulletin core files modified.
  • No new files to add.
  • Add rel=nofollow only to external links.
  • Allow internal URLs to open in current window.
  • Support multiple domains for internal URLs (e.g. forums.vbulletin.org,wiki.vbulletin.org)
  • Easy to use and manage from vBulletin's Admin CP

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
kmplex

Comments
  #2  
Old 04-21-2007, 04:40 AM
ElfMage ElfMage is offline
 
Join Date: Jul 2006
Location: Miami
Posts: 206
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

FAQ

Are there any vBulletin core files modified?
No. NuHIT URLs uses vBulletin hooks to extend vBulletin's BBCode parser.

Hasn't this being implemented before?
I have seen posts where you need to modify files, or are limited in functionality. I may be mistaken..

Will this change my existing posts?
To rebuild the links in your existing posts, you need to go to AdminCP > Maintenance > Update Counters > Rebuild Post Cache.

This is from vBulletin's documentation:
Quote:
Rebuild Post Cache:
vBulletin doesn't parse vB code in posts every time they are displayed. Instead the parsed posts are saved in the "postparsed" table. In this way vBulletin reduces the processing time needed to display a post. Update this counter to rebuild the parsed posts. This needs to be done after changing vB codes, posting allowances (like HTML code), etc.
Reply With Quote
  #3  
Old 04-21-2007, 05:23 AM
kall's Avatar
kall kall is offline
 
Join Date: Apr 2004
Location: New Zealand
Posts: 2,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ElfMage View Post
FAQ

Are there any vBulletin core files modified?
No. NuHIT URLs uses vBulletin hooks to extend vBulletin's BBCode parser.

Hasn't this being implemented before?
I have seen posts where you need to modify files, or are limited in functionality. I may be mistaken..
You are totally mistaken on the file edits part.

Mine (the original you sarcastically refer to) has been a plugin since about a week after it was released.

*edit* Grats on the internal domains part. How much extra overhead does that add?
Reply With Quote
  #4  
Old 04-21-2007, 07:22 AM
rjmjr69's Avatar
rjmjr69 rjmjr69 is offline
 
Join Date: Jan 2007
Location: Southie
Posts: 876
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've never really caught on to what the whole parse the url is for and when why to use it. I'll wait for some more comments lol. Or if you could explain a bit more about it.

Thanks
Reserved until I learn a bit more
Reply With Quote
  #5  
Old 04-21-2007, 07:52 AM
MaestroX MaestroX is offline
 
Join Date: Aug 2006
Location: UK
Posts: 249
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great stuff Elfmage. I'm sure alot of non-vbseo users will enjoy the added feature

Quote:
Allow internal URLs to open in current window.
Also a neat feature
Reply With Quote
  #6  
Old 04-21-2007, 08:38 AM
projectego's Avatar
projectego projectego is offline
 
Join Date: Feb 2006
Location: UK
Posts: 724
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome! Just what I was looking for! Thank you.
Reply With Quote
  #7  
Old 04-21-2007, 02:14 PM
ElfMage ElfMage is offline
 
Join Date: Jul 2006
Location: Miami
Posts: 206
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kall View Post
You are totally mistaken on the file edits part.

Mine (the original you sarcastically refer to) has been a plugin since about a week after it was released.
Well, I did say that I could be mistaken... The 'totally' was added by you

I actually referred to some posts that programmers make from time time with instructions on changing class_bbcode.php.

I just saw your mod linked in the 'Similar Threads'. If it is the one listed here: https://vborg.vbsupport.ru/showthread.php?t=93780, it seems to require editing class_bbcode.php. Again, I may be partially mistaken... I'll check it out later.

Quote:
Originally Posted by kall View Post
*edit* Grats on the internal domains part. How much extra overhead does that add?
Thanks. Not much overhead added, it uses the same logic as the rel=nofollow. The extra overhead is just a call to strpos for each URL that gets parsed (this usually happens only after a thread or post is added or edited, since vBulletin caches the parsed HTML).
Reply With Quote
  #8  
Old 04-21-2007, 03:45 PM
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Posts: 2,601
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Adding rel="nofollow" to links in your forum will help improve your sites overall pagerank by reducing pagerank leak due to link to external sites added by your members.
There may be some good reasons for using "nofollow". "PageRank leak" is NOT one of them. In fact, "PageRank leak" doesn't exist. It is a myth, a very persistent myth despite the fact that it was long ago and repeatedly debunked.
Reply With Quote
  #9  
Old 04-21-2007, 04:02 PM
ElfMage ElfMage is offline
 
Join Date: Jul 2006
Location: Miami
Posts: 206
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by djbaxter View Post
There may be some good reasons for using "nofollow". "PageRank leak" is NOT one of them. In fact, "PageRank leak" doesn't exist. It is a myth, a very persistent myth despite the fact that it was long ago and repeatedly debunked.
Hi djbaxter, you may know about this more than I do...

I have read many articles and debates about Pagerank leak. Some say it doesn't exist, others swear by it.

It is a documented fact that incoming links will boost your pagerank. The reverse, pagerank leak due to outbound links, has been speculated ad nauseam, and no proof has been established on either side.

Again, that's my understanding. The initial purpose of rel=nofollow was to fight spamdexing.

Let's say that pagerank leak doesn't exist, and search engines ignore this entirely, you don't loose anything adding the rel=nofollow to your external links. On the other hand, if rel=nofollow does in fact help boost your pagerank, you may lose significant traffic due to having a pagerank "lower than your site deserves".

On one hand, if wrong, you don't lose anything, on the other, if right, you gain a lot. I think it is an easy choice.
Reply With Quote
  #10  
Old 04-21-2007, 04:12 PM
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Posts: 2,601
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ElfMage View Post
Hi djbaxter, you may know about this more than I do...

I have read many articles and debates about Pagerank leak. Some say it doesn't exist, others swear by it.

It is a documented fact that incoming links will boost your pagerank. The reverse, pagerank leak due to outbound links, has been speculated ad nauseam, and no proof has been established on either side.
Actually, there's an abundance of evidence that it's a myth and no evidence whatsoever that it exists. The value of any one of your outgoing links is a function of the PageRank of that page divided by the number of outgoing links. That means that the more outgpoing links you have, the less PR value each of the recipients gets from their single link.

But the original page containing all those outgoing links loses nothing. It will still retain the same PageRank it always had. PageRank is a measure of INCOMING links - links pointing to that page - NOT outgoing links.
Reply With Quote
Reply


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 12:35 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.05420 seconds
  • Memory Usage 2,318KB
  • Queries Executed 25 (?)
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
  • (8)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (10)post_thanks_box
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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_postinfo_query
  • fetch_postinfo
  • 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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete