Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Add rel="nofollow" Attribute To URLs - Reduce Spam - Increase Pagerank Details »»
Add rel="nofollow" Attribute To URLs - Reduce Spam - Increase Pagerank
Version: 1.1.0, by 1Unreal 1Unreal is offline
Developer Last Online: Aug 2020 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.8.x Rating:
Released: 03-03-2009 Last Update: 03-08-2009 Installs: 305
Uses Plugins
 
No support by the author.


This little hack will edit all the URLs within posts and signatures and add a rel="nofollow" attribute to them.

This will do a number of things. First and most notably, it will reduce spammers because search engines will no longer follow these links. It will also stop your pagerank from leeking onto other sites. Also, some people say that adding nofollow to your URLs will increase your Pagerank. This is more of a matter of opinion, make up your own mind about it

Change Log
1.0.0 - Released
1.1.0 - Added option - Change links in signatures

Download Now

File Type: xml product-relnofollow.xml (1.9 KB, 1553 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #82  
Old 12-04-2012, 08:49 AM
Occosion Occosion is offline
 
Join Date: May 2010
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks installed
and what about internal links in post?
Reply With Quote
  #83  
Old 07-26-2013, 02:42 PM
dethfire dethfire is offline
 
Join Date: Feb 2003
Posts: 441
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

does this nofollow internal links?
Reply With Quote
  #84  
Old 11-18-2013, 04:39 AM
hinomaru hinomaru is offline
 
Join Date: Apr 2009
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This working with vb4
Reply With Quote
  #85  
Old 11-21-2013, 05:14 AM
Goomzee Goomzee is offline
 
Join Date: Apr 2008
Location: Philippines
Posts: 588
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by georgedd View Post
Just a warning to people using this plugin- a mod on our forums just discovered a bug with this script. In a post if the user types:
Code:
target=
The script inadvertently will alter that to:

Code:
rel="nofollow" target=
i am not using any seo so let me know from where i change above code
Reply With Quote
  #86  
Old 03-11-2014, 03:28 PM
postcd postcd is offline
 
Join Date: Feb 2012
Posts: 319
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Please how to have nofollow sigs and dofollow post links?

--> / AdminCP / Plugins & Products / Plugin Manager / add rel=nofollow" to urls / Edit

And replace plugin code by:
Quote:
$this->post['message'] = str_replace('target=', 'target=', $this->post['message']);
if($vbulletin->options[reldofollowsig] == 'Yes'){
$this->post['signature'] = str_replace('target=', 'rel="nofollow" target=', $this->post['signature']);
}
that will not add nofollow to post links. Do only on your risk, but in my case worked
Reply With Quote
  #87  
Old 03-11-2014, 03:34 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Replace the contents of the plugin, add rel=nofollow" to urls with this:

Code:
//$this->post['message'] = str_replace('target=', 'rel="nofollow" target=', $this->post['message']);
if($vbulletin->options[reldofollowsig] == 'Yes'){
$this->post['signature'] = str_replace('target=', 'rel="nofollow" target=', $this->post['signature']);
}
Reply With Quote
  #88  
Old 08-07-2014, 02:40 AM
BryceW BryceW is offline
 
Join Date: Feb 2006
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not working in VB 3.8.8
Reply With Quote
  #89  
Old 08-08-2014, 12:08 AM
Alfa1's Avatar
Alfa1 Alfa1 is offline
 
Join Date: Dec 2005
Location: Netherlands
Posts: 3,537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dethfire View Post
does this nofollow internal links?
yes.
Reply With Quote
  #90  
Old 09-24-2015, 08:25 AM
NOCTURNES NOCTURNES is offline
 
Join Date: Dec 2010
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks a lot its working on my forums.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:08 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04979 seconds
  • Memory Usage 2,310KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (1)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete