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)

BamaStangGuy 02-15-2005 04:20 AM

Quote:

Originally Posted by nintendo
Now that's a MUCH better version. With the way it is by default, this is one STUPID hack, punishing the 99% that arn't spammers! At this rate it won't be long before a STUPID signiture version of the hack is created!

Calm down dude it is not like you have to install it. They put their time into making this hack. Show some respect to the author

kall 02-15-2005 04:48 AM

Quote:

Originally Posted by BrentWilson
Calm down dude it is not like you have to install it. They put their time into making this hack. Show some respect to the author

Stoopid is as stoopid does. :)

Michael Morris 02-15-2005 09:03 AM

Quote:

Originally Posted by kall
Stoopid is as stoopid does. :)

Ignore the little troll kall.

:clicks ignore:

Now, might I recommend the following. Your conditional references $bbuserinfo. That will only affect the viewing user - so spiders still see no links in posts regardless of the user. To pull up the post user data, use $post. You'll have to global it. Further, instead of using a set usergroup, I recommend using a post count threshhold of 50. I doubt many spammers will reach that threshold, while most of your regulars will. Hence

PHP Code:

global $post;

if (
$post['posts'] < 50)
{
//put the no follow stuff in
}
else
{
//don't


:clicks install:

natez0rz 02-19-2005 09:05 PM

Quote:

Originally Posted by Michael Morris
Now, might I recommend the following. Your conditional references $bbuserinfo. That will only affect the viewing user - so spiders still see no links in posts regardless of the user. To pull up the post user data, use $post.

You're right, but $post also has the usergroupid. Here's the code I'm using--it's working great. It allows normal links for moderators, supermoderators, administrators and users with more than 100 posts.

PHP Code:

    global $post;

 if (
is_member_of($post6)
 OR 
is_member_of($post5)
 OR 
is_member_of($post7)
 OR 
$post['posts'] > 100)
    {
    
// standard URL hyperlink
    
return "<a href=\"$rightlink\" target=\"_blank\">$text</a>";
    }
    else
    {
     return 
"<a href=\"$rightlink\" rel=\"nofollow\" target=\"_blank\">$text</a>";
    } 


venomx 02-21-2005 09:03 AM

I tried to do what natez0rz did in the post above me but I get an error.. :(

Code:

Parse error: parse error, unexpected T_ELSE in /home/forum/public_html/forums/includes/functions_bbcodeparse.php on line 1523
The else giving the error is the one right before the mailto part :(

Code:

        if ($type == 'url')
        {
global $post;

if (is_member_of($post, 6)
OR is_member_of($post, 5)
OR is_member_of($post, 7)
OR $post['posts'] > 100)
    {
    // standard URL hyperlink
    return "<a href=\"$rightlink\" target=\"_blank\">$text</a>";
    }
    else
    {
    return "<a href=\"$rightlink\" rel=\"nofollow\" target=\"_blank\">$text</a>";
    }
        else
        {
                // email hyperlink (mailto:)


kall 02-22-2005 05:15 PM

Quote:

Originally Posted by Michael Morris
Ignore the little troll kall.

:clicks ignore:

Now, might I recommend the following. Your conditional references $bbuserinfo. That will only affect the viewing user - so spiders still see no links in posts regardless of the user. To pull up the post user data, use $post. You'll have to global it. Further, instead of using a set usergroup, I recommend using a post count threshhold of 50. I doubt many spammers will reach that threshold, while most of your regulars will. Hence

PHP Code:

global $post;

if (
$post['posts'] < 50)
{
//put the no follow stuff in
}
else
{
//don't


:clicks install:

Good call, both of you.

*updates hack*

Now it will affect users with under 50 posts only.

kyrnel 04-07-2005 11:57 PM

Works great, clicks install.

I modified it a bit for simplification.
If the user IS a member of New Members usergroup, then it posts the modified URL.

I, Brian 04-12-2005 06:14 AM

I just thought I'd point out that in the SEO community the use of nofollow has been suggested as a way to devalue pages.

The purpose of a nofollow tag is not simply indicate a link should be ignored, but also that the page content is subject to third party interference.

Therefore if people think that implementing this hack could be a great way to "horde PageRank" or other such strategy, then they may find what they actually achieve is simply a way of telling search engines that the forum itself is nothing but a collection of "free for all" pages and should be devalued.

Webmasters should consider very carefully why they wish to use nofollow, because if it's for SEO purposes then there is a real possibility that the plan could backfire on you.

kall 04-12-2005 06:24 AM

Quote:

Originally Posted by I, Brian
Therefore if people think that implementing this hack could be a great way to "horde PageRank" or other such strategy, then they may find what they actually achieve is simply a way of telling search engines that the forum itself is nothing but a collection of "free for all" pages and should be devalued.

Well, anyone adding the nofollow link to every single link in their site is a little silly regardless really.

This hack applies the attribute to links posted by (and in the signatures of) members of Usergroups defined by the admin. It does not affect board-wide links or template links or anything else.

How that would tell the engines that the forum is nothing but a collection of free-for-all pages is beyond me. Please explain.

Or did you totally miss the point of this hack?

ChrisLM2001 04-12-2005 08:30 AM

Anyone with before and after SEO stats with this mod installed?

That'll explain to everyone if this mod hurts rankings and put the second guessing to rest.

Something is needed to keep the spammers at bay. If it's true that the bots are reading images via OCR, even image verification won't help. :(

Chris


All times are GMT. The time now is 07: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
  • Page Generation 0.01228 seconds
  • Memory Usage 1,759KB
  • 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_code_printable
  • (3)bbcode_php_printable
  • (6)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