vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Apply "rel=nofollow" attribute to all parsed URLs (https://vborg.vbsupport.ru/showthread.php?t=93780)

ThorstenA 04-17-2007 06:00 PM

Quote:

Originally Posted by Alfa1 (Post 1229857)
I want rel="nofollow" only applied to all outbound links. No matter who posts them. How can this be done?

Me too !

kall 04-17-2007 07:14 PM

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.

kall 04-17-2007 07:19 PM

No idea sorry.

If anyone can, by all means, please tell me.

ThorstenA 04-17-2007 08:42 PM

Quote:

Originally Posted by kall (Post 1229910)
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/

jimbocook 04-19-2007 03:50 PM

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?

jimbocook 04-24-2007 04:31 PM

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)
to this (which strips the unwanted comma from the post count):
Code:

        if (!(is_member_of($post, 5, 6, 7)===FALSE) || str_replace(",","",$post['posts']) > 50)

2 FN LOW 06-11-2007 06:48 PM

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)

also, my forum is located at www.obsession2speed.com/forums if somebody could take a look at it for me please.

2 FN LOW 06-11-2007 07:02 PM

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?

vbl 07-22-2007 01:52 PM

in the nofollow_plugins.zip, there is one & to much:

in this line:
function handle_bbcode_url_relnofollow(&$parser, $text, $link)

Dave Hawley 07-23-2007 04:19 AM

View Source, Ctrl+F and search for nofollow


All times are GMT. The time now is 03:22 PM.

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.01479 seconds
  • Memory Usage 1,739KB
  • 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
  • (3)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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