vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Board Optimization - NuHIT URLs: Add rel=nofollow and control where links are opened (https://vborg.vbsupport.ru/showthread.php?t=145402)

ElfMage 04-20-2007 10:00 PM

NuHIT URLs: Add rel=nofollow and control where links are opened
 
/*================================================= =====================*\
|| 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 :D

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

ElfMage 04-21-2007 04:40 AM

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.. :rolleyes:

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.

kall 04-21-2007 05:23 AM

Quote:

Originally Posted by ElfMage (Post 1232443)
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.. :rolleyes:

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?

rjmjr69 04-21-2007 07:22 AM

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

MaestroX 04-21-2007 07:52 AM

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

projectego 04-21-2007 08:38 AM

Awesome! Just what I was looking for! Thank you. :)

ElfMage 04-21-2007 02:14 PM

Quote:

Originally Posted by kall (Post 1232451)
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... :rolleyes: The 'totally' was added by you :D

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... :D I'll check it out later.

Quote:

Originally Posted by kall (Post 1232451)
*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).

djbaxter 04-21-2007 03:45 PM

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.

ElfMage 04-21-2007 04:02 PM

Quote:

Originally Posted by djbaxter (Post 1232696)
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... :cool:

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.

djbaxter 04-21-2007 04:12 PM

Quote:

Originally Posted by ElfMage (Post 1232709)
Hi djbaxter, you may know about this more than I do... :cool:

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.

ElfMage 04-21-2007 04:21 PM

I think that the evidence you mention is nothing more than what is documented on how pagerank works for incoming links, which is described in the Wikipedia link I included above.

It is not evidence that pagerank leak does not exist.

Again, this is a simple mod that was requested by some of our members because NuWiki was doing this for wiki articles that were not created.

The name of the game is choice. You can download and install this mod, or you can choose not to install it.

Even if you choose not to install it, please click the 'Mark as Installed' above. It will increase my vBulletin.org Pagerank.. :D

djbaxter 04-21-2007 04:24 PM

My comments are NOT a criticism of your add-on. There arf some reasons for or circumstances where using nofollow is a good strategy.

But if you understand what PageRank is, and how it is calculated, you'll also understand that PR leak is as mythical as the unicorn.

That was my sole point. Congratulations to you for creating this add-on. My only concern is that it not be marketed as an antidote for unicorns.

ElfMage 04-21-2007 04:31 PM

:D, nah. I welcome debate, feedback and criticism.

Quote:

That was my sole point. Congratulations to you for creating this add-on. My only concern is that it not be marketed as an antidote for unicorns.
Thanks. I wrote this add-on per the request of some members.

Besides the rel=nofollow, I always find it annoying that vBulletin opens all links in a new page. Over at nuhit.com we have multiple packages running: Joomla (although I may drop this soon), vBulletin, Wiki, etc. And whenever there was a link from a forum post to the other parts, it always opened on a new page.

Lionel 04-21-2007 04:47 PM

after installing and setting up, my internal pages still open in a new window. Not a vbulletin page, but still part of domain

ElfMage 04-21-2007 04:53 PM

Are these new posts or previously existing posts? If the latter, please read the FAQ on how to re-parse existing posts.

arabsdesign 04-21-2007 04:55 PM

thanks sir....

i install it...

and when i see view source of my page ...i did not see rel=nofollow beside the link ??

Lionel 04-21-2007 05:03 PM

I just rebuilt the post cache and nothing changed

Lionel 04-21-2007 05:07 PM

not even for new posts

Lionel 04-21-2007 05:10 PM

sory, I had forgotten to reenable the plugin how ever rebuilding the post gave me

Fatal error: Using $this when not in object context in /var/www/forums/includes/class_bbcode.php(2339) : eval()'d code on line 37

Tulsa 04-21-2007 05:17 PM

An enjoyable mini-debate to read to be sure. After reading it, it's clear to me a disclaimer should be added to the initial posting.

**Warning - This modification, either by way of direct use or osmosis acts in any manner as to allow the individual user(s) protection from or as an antidote to Unicorns.**

:D

ElfMage 04-21-2007 05:18 PM

Quote:

Originally Posted by Lionel (Post 1232753)
sory, I had forgotten to reenable the plugin how ever rebuilding the post gave me

Fatal error: Using $this when not in object context in /var/www/forums/includes/class_bbcode.php(2339) : eval()'d code on line 37


Oops .. :rolleyes:. There was a bug with long URLs. Redownload and import. Let me know if there are any issues. Thanks.

ElfMage 04-21-2007 05:19 PM

Quote:

Originally Posted by Tulsa (Post 1232758)
An enjoyable mini-debate to read to be sure. After reading it, it's clear to me a disclaimer should be added to the initial posting.

**Warning - This modification, either by way of direct use or osmosis acts in any manner as to allow the individual user(s) protection from or as an antidote to Unicorns.**

:D

:D I'll add it later.

ElfMage 04-21-2007 05:20 PM

Quote:

Originally Posted by arabsdesign (Post 1232738)
thanks sir....

i install it...

and when i see view source of my page ...i did not see rel=nofollow beside the link ??

Hi, did you enter your internal domains in the Admin CP > vBulletin Options > NuHIT URL Settings?

Also, are you testing with new posts, or with existing posts. Read the FAQ on existing posts.

Thanks.

Lionel 04-21-2007 05:27 PM

Quote:

Originally Posted by ElfMage (Post 1232759)
Oops .. :rolleyes:. There was a bug with long URLs. Redownload and import. Let me know if there is any issues. Thanks.

That fixed everything. Thanks. I've always wanted to open internal URL in same browser. Nice work!

ElfMage 04-21-2007 05:31 PM

Quote:

Originally Posted by Lionel (Post 1232766)
That fixed everything. Thanks. I've always wanted to open internal URL in same browser. Nice work!

Thanks. Glad to hear it worked.

mystery07 04-22-2007 06:25 AM

Guys,

In the universe of pages the page-rank average is a constant: 1, 100 or K....
Incoming links increase your page-rank and all agree... but since average of all page-ranks is a constant, clearly outgoing links will decrease your page-rank.

djbaxter 04-22-2007 01:40 PM

Quote:

Originally Posted by mystery07 (Post 1233174)
Guys,

In the universe of pages the page-rank average is a constant: 1, 100 or K....
Incoming links increase your page-rank and all agree... but since average of all page-ranks is a constant, clearly outgoing links will decrease your page-rank.

That may be true in theory. However, in the real world:

1. how many billions upon billions of pages and links go into that universe of pages?

2. how much influence is 1 link, 100 links, 1000 links, or even 10,000 links going to have on that average?

3. can you point me to a single page, just one, anywhere, where you can discern even a miniscule negative effect of outgoing links?

Hint: The answer to question 3 is "No", just to save you the trouble.

As I said, PR bleed/leakage is a myth. Period.

Smitty 04-22-2007 03:52 PM

Quote:

Originally Posted by djbaxter (Post 1233354)
3. can you point me to a single page, just one, anywhere, where you can discern even a miniscule negative effect of outgoing links?

Hint: The answer to question 3 is "No", just to save you the trouble.

As I said, PR bleed/leakage is a myth. Period.

nofollow was a Google creation from early 2005 that was supported by both MSN and Yahoo. It was designed to stop the search bots from following links that weren?t necessarily endorsed by the owner of the site it was on. It had a mixed welcome, but was incorporated by many of the major players in blogging. Google implies this is a link spamming issue mostly relevant to blogs. http://googleblog.blogspot.com/2005/...ment-spam.html

Whether or not having lots of outgoing links to sites with unrelated subject matter is a factor in search results is unknown (for years I have heard links to sites with unrelated subject matter was 'bad'), but from reading around a bit most sites are abandoning the tag. Then again, Wikipedia now uses the rel="nofollow" tags on all outgoing links.

We all have our own SEO theories, but since none of us know the actual algorithms used, no matter what we do we're guessing.

Personally I don't use the tag, but that's just my position.

djbaxter 04-22-2007 04:07 PM

The rel="nofollow" tag was designed to reduce link spamming, especially blog comment spamming.

It really hasn't been successful in achieving that goal. It never had "reducing PR leak" as a goal because "PR leak" doesn't exist.

I don't have to know the details of Google's algorithms to know that it's a myth. Neither does anyone else.

But all of this is off-topic. My intent was not to initiate a multi-page debate but just to alert the author to the error in the claim he was making for a mod that otherwise may be useful for many forum owners.

ThorstenA 04-24-2007 04:06 PM

Installed but it's not working for me. What should I enter in Internal Domains? Which format is right?
http://www.vbulletin.com
www.vbulletin.com
www.vbulletin.com/
vbulletin.com

ElfMage 04-24-2007 04:09 PM

I would recommend:
Code:

vbulletin.com
This way all the others are matched as well.

Did you test this in a new post, or in an existing post?

ThorstenA 04-24-2007 04:25 PM

I have set settings to vbulletin.com - format. It's not working at new posts. I even had rebuild posts cache. I have vbulletin 3.6.4. What should I do?

ThorstenA 04-24-2007 04:28 PM

Solved problem. I deinstalled another product "Amazon Affiliate URL" which interferes with this product.

ElfMage 04-24-2007 04:29 PM

Quote:

Originally Posted by ThorstenA (Post 1234777)
Solved problem. I deinstalled another product "Amazon Affiliate URL" which interferes with this product.

Interesting.

Glad you figured it out.

I'll take a look at that product, to see the source of the conflict.

Thanks.

ninjashoes 04-25-2007 07:10 AM

there is alot of speculation whether linking to penalized sites could hurt you

I dont know why you think linking to bad sites being a bad thing is a myth, what do we really know about googles algorythms?

Alfa1 04-26-2007 07:32 PM

If I understand it correctly, he was only referring to Google's Page Rank, not to linking in general.

da420 05-16-2007 10:44 PM

Doesn't seem to work with my board on 3.6.7.

Tulsa 05-16-2007 11:12 PM

It's working just fine on 3.6.7..

da420 05-17-2007 12:18 AM

Well, looking at it it adds the rel="nofollow".

With the external urls it's opening it in the same window when I have it set to open in a new window. Internal urls seem to be working as I have it set to open in the same page, and it's opening in the same window.

So, everything of this hack works for me with the excetion of opening the external urls in a new window.

da420 05-17-2007 12:31 AM

Actually, scratch that. One of my FireFox plug-ins is conflicting with it. It works in IE, and when I have Tab Mix Plus disabled in FireFox. So, it works, thanks.


All times are GMT. The time now is 05:15 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.01899 seconds
  • Memory Usage 1,842KB
  • 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
  • (17)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
  • (40)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