![]() |
Apply "rel=nofollow" attribute to all parsed URLs
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:
|
I will install this on monday.
|
Good job kall, will work great
~Curt |
I'm not going to install this as my forum doesn't need it, microscopic in size compared to the majority - but just thought I would post my support for an excellent effort!
|
Hook bbcode_create
PHP Code:
Hook: bbcode_parse_complete PHP Code:
|
This seems to have conflicts with the "PM group leader on join request" plugin. At least it did with mine. :(
|
would the work with grapping of the newsgroup and from mailinglist? Would the plugin work with the nntp newsgroup pulling.
|
Quote:
|
Quote:
|
Quote:
(Could a Mod move this to the Plugins Forum? Ta.) |
All times are GMT. The time now is 11:37 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|