The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Apply "rel=nofollow" attribute to all parsed URLs Details »» | ||||||||||||||||||||||||||||||
Apply "rel=nofollow" attribute to all parsed URLs
Developer Last Online: Aug 2021
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: Quote:
Quote:
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." Quote:
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 PHP Code:
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: PHP Code:
Replace with: PHP Code:
Show Your Support
|
Comments |
#92
|
||||
|
||||
Me too !
|
#93
|
||||
|
||||
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. |
#94
|
||||
|
||||
No idea sorry.
If anyone can, by all means, please tell me. |
#95
|
||||
|
||||
Quote:
|
#96
|
|||
|
|||
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?
|
#97
|
|||
|
|||
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:
Code:
if (is_member_of($post, 5, 6, 7) OR $post['posts'] > 50) Code:
if (!(is_member_of($post, 5, 6, 7)===FALSE) || str_replace(",","",$post['posts']) > 50) |
#98
|
|||
|
|||
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..
Code:
global $post; // Excempt Mods+ and Users with mor then 50 Posts $parsedurl = $parser->handle_bbcode_url($text, $link); if (is_member_of($post, 666) OR $post['posts'] > 5000000) |
#99
|
|||
|
|||
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? |
#100
|
|||
|
|||
in the nofollow_plugins.zip, there is one & to much:
in this line: function handle_bbcode_url_relnofollow(&$parser, $text, $link) |
#101
|
|||
|
|||
View Source, Ctrl+F and search for nofollow
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|