Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Apply "rel=nofollow" attribute to all parsed URLs Details »
Apply "rel=nofollow" attribute to all parsed URLs
Mod Version: 1.10, by kall (Coder) kall is offline
Developer Last Online: Sep 2016 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.5.0 Rating: (8 votes - 5.00 average) Installs: 139
Released: 07 Aug 2005 Last Update: 30 Aug 2005 Downloads: 318
Not Supported Uses Plugins  

In the first cooperative move for nearly ten years, the major search engines have unveiled a new indexing command for web authors that they all recognize, one that they hope will help reduce the link and comment spam that plagues many web sites....due to removing the point of doing it in the first place.

The new "nofollow" attribute that can be associated with links was originated as an idea by Google in late 2004 and MSN and Yahoo, as well as major blogging vendors have jumped onboard.

The Nofollow Attribute

The new attribute is called "nofollow" with rel="nofollow" being the format inserted within an anchor tag.
When added to any link, it will effectively serve as a flag to tell the search engines that the link has not been explictly approved by the site owner, and therefore "not follow" it, or not use the referring page's (on your site) Page Rank in any way.

For example, this is how the HTML markup for an ordinary link might look:

<a href="http://www.somedomain.com/page.html">My forums are the best lol lol lol click here!!</a>
This is how the link would look after the nofollow attribute has been added, with the attribute portion shown in bold

<a href="http://www.somedomain.com/page.html" rel="nofollow">My forums are the best lol lol lol click here!!</a>
Once added, the search engines supporting the attribute will understand that the link has not been approved by the site owner.

Think of it as a way to flag to them, "I didn't post this link -- someone else did, don't associate me with it."

Originally Posted by Alkatraz
If Google sees nofollow as part of a link, it will:

1. NOT follow through to that page.
2. NOT count the link in calculating PageRank link popularity scores.
3. NOT count the anchor text in determining what terms the page being linked to is relevant for.
The site that is being linked to will gain nothing from the link, so the whole point of doing it in the first place is removed.

This will affect URLs in posts, as well as signatures...anything that goes through the bbcodeparse function as far as I can tell/guess, and will work recursively, or whatever the word is that means 'it will affect all existing posts and signatures'...or it did for me anyway.

To change the conditional number of posts, alter
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

to whatever you like.

I can't see how this could be done as a plugin, but if anyone wants to point out how, that would be nicer....YAY Kirby!

Now all you need to do is unzip the attached file, upload the plugin using your Admin CP - Plugin System - Plugin Manager!

Relax, safe in the knowledge that spammers linking from your site are doing so for no reason whatsoever.

To remove the old version:

File to modify: 1

1/ Open your includes/class_bbcode.php file

Find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Replace with:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

2/ Save and Upload.

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
  #91  
Old 17 Apr 2007, 19:00
ThorstenA's Avatar
ThorstenA ThorstenA is offline
 
Join Date: Nov 2004
Originally Posted by Alfa1 View Post
I want rel="nofollow" only applied to all outbound links. No matter who posts them. How can this be done?
Me too !
Reply With Quote
  #92  
Old 17 Apr 2007, 20:14
kall's Avatar
kall kall is offline
 
Join Date: Apr 2004
Real name: Ace
Given that this has been asked for many times, and I have no idea how, I wish you and everyone else the best of luck in working out a method of determining whether a link is internal or external.

Again, for clarity: I have no idea how to achieve this easily.
__________________
vBulletin Styles (All styles compatible with 3.8.4 - Steel Blue 4.0 Available) | vBulletin Hosting
Reply With Quote
  #93  
Old 17 Apr 2007, 20:19
kall's Avatar
kall kall is offline
 
Join Date: Apr 2004
Real name: Ace
No idea sorry.

If anyone can, by all means, please tell me.
__________________
vBulletin Styles (All styles compatible with 3.8.4 - Steel Blue 4.0 Available) | vBulletin Hosting
Reply With Quote
  #94  
Old 17 Apr 2007, 21:42
ThorstenA's Avatar
ThorstenA ThorstenA is offline
 
Join Date: Nov 2004
Originally Posted by kall View Post
Given that this has been asked for many times, and I have no idea how, I wish you and everyone else the best of luck in working out a method of determining whether a link is internal or external.

Again, for clarity: I have no idea how to achieve this easily.
A link which has this string in it:$variable where $variable is http://www.myforum.com/
Reply With Quote
  #95  
Old 19 Apr 2007, 16:50
jimbocook jimbocook is offline
 
Join Date: Sep 2005
Using 3.6+ the plugin works fine until a user reaches 1000 posts and then it starts applying the nofollow to their posts. We've had to create a special group and exempt them as a work around. Is anyone aware of a reason the nofollow would kick back in after 1000 posts?
Reply With Quote
  #96  
Old 24 Apr 2007, 17:31
jimbocook jimbocook is offline
 
Join Date: Sep 2005
At SEOrefugee.com, we had a problem with this plugin inserting the nofollow tags when a user passed the 1,000 post mark. The problem was a comma inserted into the number of posts (e.g. 1,000). We fixed it by changing this line in the plug in:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

to this (which strips the unwanted comma from the post count):

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #97  
Old 11 Jun 2007, 19:48
2 FN LOW 2 FN LOW is offline
 
Join Date: Feb 2007
can anybody tell me if this is working on my forum or not? I am viewing page sources for multiple threads but im not really sure where im suppose to look to see the no follow being used....Actually, i dont see it anywhere really..I want it to be applied to everything posted, dont care if your a mod or have over 367423 posts...So i changed the PHP code to this...Not sure if its right or not..


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

also, my forum is located at www.obsession2speed.com/forums if somebody could take a look at it for me please.
Reply With Quote
  #98  
Old 11 Jun 2007, 20:02
2 FN LOW 2 FN LOW is offline
 
Join Date: Feb 2007
when i view the page source of this thread i dont see the no follow code where i believe it should be...

http://www.obsession2speed.com/forum...read.php?t=598

if you go down a lil bit when viewing the source code you will come to my post....I notice the URL post is not phrased with the no follow code...why is this?
Reply With Quote
  #99  
Old 22 Jul 2007, 14:52
vbl vbl is offline
 
Join Date: Mar 2004
in the nofollow_plugins.zip, there is one & to much:

in this line:
function handle_bbcode_url_relnofollow(&$parser, $text, $link)
Reply With Quote
  #100  
Old 23 Jul 2007, 05:19
Dave Hawley Dave Hawley is offline
 
Join Date: Jun 2004
View Source, Ctrl+F and search for nofollow
__________________
Excel Help! Searchable MS Office Help Forums
Reply With Quote
  #101  
Old 23 Jul 2007, 09:58
vbl vbl is offline
 
Join Date: Mar 2004
unfortunately doesnt work for me @3.6.7PL1
i think there is something wrong with the condition

if (is_member_of($post, 5, 6, 7) OR $post['posts'] > 50)

^^ seems somehow wrong...?? $post[dont_we_need_some_group_entry_here?]
anyone any idea?
Reply With Quote
  #102  
Old 23 Jul 2007, 10:56
vwdforum vwdforum is offline
 
Join Date: Jun 2006
Added this to www.vwdforum.com

works, (when I check "view source code") however also for internal links. Anyone found a solution yet?
__________________
www.vwdforum.com
residual income
Reply With Quote
  #103  
Old 09 Jan 2008, 15:23
Gharibe Gharibe is offline
 
Join Date: Oct 2006
Do Not Work
__________________
Payment Processing Forums
Reply With Quote
  #104  
Old 09 Jan 2008, 20:51
kall's Avatar
kall kall is offline
 
Join Date: Apr 2004
Real name: Ace
That's probably not a good idea, working can be useful to bring food into the house, and keep the house paid for. I work.
__________________
vBulletin Styles (All styles compatible with 3.8.4 - Steel Blue 4.0 Available) | vBulletin Hosting
Reply With Quote
  #105  
Old 09 Jan 2008, 23:11
Dave Hawley Dave Hawley is offline
 
Join Date: Jun 2004
Originally Posted by Gharibe View Post
Do Not Work
Ok, you choose not to, but as stated above, it has its rewards
__________________
Excel Help! Searchable MS Office Help Forums
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 01:03.

Layout Options | Width: Wide Color: