vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Stop Spammers with rel=nofollow in URLs! (https://vborg.vbsupport.ru/showthread.php?t=74703)

wirewolf 04-15-2005 07:25 PM

This is a great little hack!
First, you are only excluding new members, with under a certain post count, from having a link that they put in a post, or in a signature, from being indexed by a search engine. It does not affect any other links in your forum, only those. If you have spammers dropping urls in posts, then the urls they drop, will not be indexed.

I recently had a user join my forum, and I could tell right away that he was nothing more than a "link dropper" (or, you could call, a "name dropper"). He posted short, little one sentence messages and reply's in all of my sub-forums with little meaning to the related subject matter. In other words, he was trying to 'fake' it. The one thing that he did manage to include was a link to his website, or other sites (commercial sites, loosely related to our forum) in both his posts, and in his signature. He only made about ten posts and was never heard from again. Little does he know that, with this hack installed, it was all for nothing.

After installing this hack, I check the source code of various posts made by members that are under the post thresh-hold and those that are over the thresh-hold. I only found the "nofollow" in posted urls that were under the thresh-hold.

My forum deals with ship/boat modeling. A some what limited subject to most Internet users. I and my fellow hobbyists can tell pretty quickly if a new member like the one above knows what the hell they are talking about or not. I set my new poster thresh-hold to 25 for now. So any llegitimate link that a legitimate member puts in a post will be indexed soon enough.

This hack, for me any way, takes care of those links that are in that 'gray' area. Ones that are kind of related to our site, but until the new member has "proven himself", his posted links won't be indexed.

Great hack kall, :) , John 'clicks install'

kall 04-15-2005 07:31 PM

*salutes*

Thank you John. Your story illustrates EXACTLY what the point of this hack was to achieve.

I'm feeling all warm and fuzzy now.

wirewolf 04-15-2005 07:44 PM

Quote:

Originally Posted by kall
*salutes*

Thank you John. Your story illustrates EXACTLY what the point of this hack was to achieve.

I'm feeling all warm and fuzzy now.

Your quite welcome kall. This hack is exactly what I've been looking for.

BTW, I was looking at this part of the code:
PHP Code:

// standard URL hyperlink
    
return "<a href=\"$rightlink\" target=\"_blank\">$text</a>";
    }
    else
    {
     return 
"<a href=\"$rightlink\" rel=\"nofollow\" target=\"_blank\">$text</a>";
    } 

, and was wondering if it could be edited with some conditionals related to my post here.
I'll have to play around with it, and see if something can work.
John

PS; I forgot to add, I have V-3.0.7 and this hack works fine.

Caveman2k2 04-15-2005 11:11 PM

Very nice hack.
/me clicks install

kall 04-17-2005 06:41 AM

Quote:

Originally Posted by wirewolf
Your quite welcome kall. This hack is exactly what I've been looking for.

BTW, I was looking at this part of the code:
PHP Code:

// standard URL hyperlink
    
return "<a href=\"$rightlink\" target=\"_blank\">$text</a>";
    }
    else
    {
     return 
"<a href=\"$rightlink\" rel=\"nofollow\" target=\"_blank\">$text</a>";
    } 

, and was wondering if it could be edited with some conditionals related to my post here.
I'll have to play around with it, and see if something can work.
John

PS; I forgot to add, I have V-3.0.7 and this hack works fine.

I think that would involve some way of defining a link as being internal or external...

Something that is outside my scope I am afraid. If someone else could give us some pointers? :)

Lexserv 05-04-2005 08:12 AM

Has anyone noticed an increase in their site's PageRank after installing the mod???

Zero Tolerance 05-04-2005 08:28 AM

Just a little question, but does this extra attribute added to the anchor tag show up as invalid on XHTML validators?

- Zero Tolerance

kall 05-04-2005 10:36 AM

Quote:

Originally Posted by Zero Tolerance
Just a little question, but does this extra attribute added to the anchor tag show up as invalid on XHTML validators?

- Zero Tolerance

Nope, the validator doesn't choke on it at all.

David_R 06-06-2005 08:58 AM

Questions:
1. Can I only add this addon to my forums posts ? as well archive posts ?
2. Will this help anyway in SEO ?
3. I have some paid sponsorers on forums footers and archive footers, will this hack ignore those links if only added for forums posts ?
4. Can I exclude some urls from getting ignored ?

Thanks.

kall 06-06-2005 10:42 AM

Quote:

Originally Posted by David_R
Questions:
1. Can I only add this addon to my forums posts ? as well archive posts ?
2. Will this help anyway in SEO ?
3. I have some paid sponsorers on forums footers and archive footers, will this hack ignore those links if only added for forums posts ?
4. Can I exclude some urls from getting ignored ?
Thanks.

1.
Quote:

Originally Posted by me
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.

2. If you subscribe to the theory that PR is wasted if spread out to unwanted pages, using this hack will help focus your PR to wanted pages by stopping the robots from applying it to those links that are affected. (see Answer 1.)

3. See Answer 1.

4. That should be doable, but is a little complicated for me this time of night. Would involve an extra conditional under OR $posts=50..but I dunno what. OR $rightlink=='excludedlink' is the basic psuedocode I think.

zylstra 11-07-2005 07:21 PM

kall,
Regarding "recursively", I think you're looking for retroactively. :-)
z

clasione 02-01-2006 02:47 PM

What about the member info page? Now I have people signing up for accounts only to crerate a homepage link in their member page... The no follow seems to be working only oon the posts....

olivercookson 02-23-2006 10:02 AM

Quote:

Originally Posted by clasione
What about the member info page? Now I have people signing up for accounts only to crerate a homepage link in their member page... The no follow seems to be working only oon the posts....

Does this hack work for 3.5.x?

lisa@TrainSigna 06-30-2008 03:40 PM

What if I don't have a includes/functions_bbcodeparse.php file?

Alfa1 06-30-2008 11:07 PM

I have a rel=nofollow hack installed for a long time now, but that surely doesn't stop spam bots from posting links.

jmke 07-24-2008 05:51 AM

works on vB 3.6+ too, thanks!

@Alfa1: it does help your search page ranking as your site it no longer pointing to "bad" sites.

fireflyz 01-17-2009 03:02 AM

Quote:

Originally Posted by clasione (Post 887703)
What about the member info page? Now I have people signing up for accounts only to crerate a homepage link in their member page... The no follow seems to be working only oon the posts....

I'm looking for the same thing. How about completely removing the "hompage" link from contact info?


All times are GMT. The time now is 04:21 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.01315 seconds
  • Memory Usage 1,766KB
  • 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
  • (2)bbcode_php_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (17)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