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

Reply
 
Thread Tools
NuHIT URLs: Add rel=nofollow and control where links are opened Details »»
NuHIT URLs: Add rel=nofollow and control where links are opened
Version: 1.00, by ElfMage ElfMage is offline
Developer Last Online: Aug 2010 Show Printable Version Email this Page

Category: Board Optimization - Version: 3.6.5 Rating:
Released: 04-20-2007 Last Update: 04-20-2007 Installs: 167
Uses Plugins
 
No support by the author.

/*================================================= =====================*\
|| NuHIT URLs: Add rel=nofollow and control where links are opened
|| ================================================== =====
|| Brought to you by:
|| nuHIT.com
|| Professional add-ons for vBulletin
\*================================================ ======================*/


Description

This small mod let's you control how URLs should be processed in your forum.

Adding rel="nofollow" to links in your forum will help improve your sites overall pagerank by reducing pagerank leak due to link to external sites added by your members.

This mod lets you do this for all URLs posted by your members.

In addition, you can control whether URLs should open in a new window, or should open in the same window the user is on.

Installation
  • Download and extract .zip
  • Upload product xml ( Admin CP > Plugins & Products > Manage Products > Import Product )
  • Configure your internal domains from vBulletin Options > NuHIT URL Settings
  • Click Mark as Installed, and you get this cool image for your signature



Features
  • No vBulletin core files modified.
  • No new files to add.
  • Add rel=nofollow only to external links.
  • Allow internal URLs to open in current window.
  • Support multiple domains for internal URLs (e.g. forums.vbulletin.org,wiki.vbulletin.org)
  • Easy to use and manage from vBulletin's Admin CP

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
kmplex

Comments
  #62  
Old 09-01-2007, 03:38 PM
ElfMage ElfMage is offline
 
Join Date: Jul 2006
Location: Miami
Posts: 206
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default



Pebbled, glad you got it working.

Alfa, thanks for the assist.

I'll update the instructions with more details.
Reply With Quote
  #63  
Old 09-01-2007, 05:32 PM
Pebbled Pebbled is offline
 
Join Date: Jul 2005
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi ElfMage, and no worries! I'm just a newbie with plugins so need accurate instructions sometimes :erm:

For info, my forum is running 3.6.8 -- and it's all apparently still working

So a quick thank you to Alfa1 for guidance over me not breaking my forum this morning, and ElfMage for this simple plugin.

NOTE: To anyone considering using this plugin, can I just say it's supremely simple to set up - if I can do it, then anyone can
Reply With Quote
  #64  
Old 09-05-2007, 06:19 AM
arabsdesign arabsdesign is offline
 
Join Date: Dec 2004
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sir ...i want to uninstall it...

but it still work in links in my forum ...

i rebulit cach for post ...but it stilll!!!
Reply With Quote
  #65  
Old 09-05-2007, 12:10 PM
Alfa1's Avatar
Alfa1 Alfa1 is offline
 
Join Date: Dec 2005
Location: Netherlands
Posts: 3,537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I may be wrong here, but as I understand it, this add on adds rel="no follow"to your links. So you tried this software and now all the links you specified have this added.
Now, you have uninstalled it, so it will not add any more rel="no follow" to your links.

Your existing links have been altered. I understand that you want to revert them to their original state. I do not know if Elfmage has a solution to that, but I would not expect it.
Reply With Quote
  #66  
Old 09-05-2007, 02:44 PM
ElfMage ElfMage is offline
 
Join Date: Jul 2006
Location: Miami
Posts: 206
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This add-on works on the translation of the URL BBCode to anchor HTML.
If you uninstall it, and rebuild the post cache all effects should disappear, and everything should be as before.
Reply With Quote
  #67  
Old 09-25-2007, 08:12 PM
Pebbled Pebbled is offline
 
Join Date: Jul 2005
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quick question...

I've looked at the source code and noticed that the rel="nofollow" link doesn't seem to be added to the user homepage link as shown in the menu displayed in the top left link to their username of any posts they make. (I hope you can make sense of that!) i.e.

View Public Profile
Send a private message to myexamples
Visit myexamples homepage! < This one links to their homepage
Find all posts by myexample

Is there any way for this rel="nofollow" to be added?
Reply With Quote
  #68  
Old 09-25-2007, 08:23 PM
ElfMage ElfMage is offline
 
Join Date: Jul 2006
Location: Miami
Posts: 206
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

This mod works only on links included within user posts. (e.g. using the URL bbcode).

The link you mention is part of the postbit template. You can add the rel="nofollow" manually by editing the corresponding template (e.g. postbit or postbit_legacy).

For instance, in vb 3.6.8 the template snippet looks like this:

PHP Code:
    <if condition="$show['homepage']">
        <
tr><td class="vbmenu_option"><a href="$post[homepage]"><phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase></a></td></tr>
    </if> 
Hope this helps.
Reply With Quote
  #69  
Old 09-26-2007, 05:35 AM
Pebbled Pebbled is offline
 
Join Date: Jul 2005
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks ElfMage for the info, and yes, I ought to have been paying a bit more attention to what this addon does - as you quite rightly say, it's for user posts, not for existing vb code.

My apologies
Reply With Quote
  #70  
Old 10-08-2007, 05:23 PM
Pebbled Pebbled is offline
 
Join Date: Jul 2005
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi ElfMage, you are going to curse me for this request, but would it be possible for you to twiddle with the code in order to add the rel=nofollow into any images using that users are adding into their posts via the <img src= code!

I've noticed that the rel=nofollow code isn't being added to these images and a few users are now doing this on the forum which are linking to other websites, this use is actually affecting our ranking

I dread having to go and manually add the nofollow code into every image posted on here by other users
Reply With Quote
  #71  
Old 10-10-2007, 01:10 AM
ElfMage ElfMage is offline
 
Join Date: Jul 2006
Location: Miami
Posts: 206
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Pebbled,

Are you referring to the use of the IMG BBCode/tag?, My understanding is that the rel="nofollow" is only used for anchors (e.g. the URL BBCode).

Or are you referring to an anchor, which contains an image tag in it?

Thanks.
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 05:29 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.07314 seconds
  • Memory Usage 2,317KB
  • Queries Executed 27 (?)
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
  • (1)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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_postinfo_query
  • fetch_postinfo
  • 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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete