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
Redirect Archive Search Engine Results To Full Forum Details »»
Redirect Archive Search Engine Results To Full Forum
Version: 1.0.0, by Viper007Bond Viper007Bond is offline
Developer Last Online: Dec 2017 Show Printable Version Email this Page

Category: Mini Mods - Version: 3.6.4 Rating:
Released: 11-18-2006 Last Update: 11-18-2006 Installs: 72
Uses Plugins
 
No support by the author.

Another plugin that came about due to my own personal needs and which I thought I'd share.


Description:

What this does is hooks into the top of your forum's archive script (ex: this forum's archive) and checks the referrer that the user's browser sends. If it's from Google, Yahoo, or MSN searches, then it redirects to the full version of the index/forum/thread/whatever.

This is needed (IMO) since the search engines crawl that archive and very often show links to it in search results. However, it's rather ugly and has no reply box, etc. etc., so incoming users shouldn't be seeing it.

This plugin does not block access to the archive though. If you click the archive link in your footer or manually type in the URL to it, you won't notice any difference.


Installation:

Download and install the attached product. It's just a single plugin, but products are more powerful, so I thought I'd wrap it into a whole product.


How do I know if it's working right?

Go to Google and type this into the search box:

Code:
site:http://yoursite.com/forum/archive/
That will bring up a list of links to pages in your archive. When you click on one, your forum should redirect you from the archives to the main forum.


It's still not working right!

Reply to this thread and let me know. I may need to slightly adjust the checks to see if you're coming from a search engine or not.


==============================
DON'T FORGET TO CLICK INSTALL!


==============================

Show Your Support

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

Comments
  #22  
Old 02-10-2007, 08:26 PM
ZzZ_ZzZ ZzZ_ZzZ is offline
 
Join Date: Sep 2005
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks
Reply With Quote
  #23  
Old 02-10-2007, 10:00 PM
noonespecial noonespecial is offline
 
Join Date: Nov 2002
Posts: 250
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there anyway to modify this to work with printthread.php results too?
Reply With Quote
  #24  
Old 02-19-2007, 01:32 AM
alexanderpas's Avatar
alexanderpas alexanderpas is offline
 
Join Date: Feb 2006
Location: Schiedam
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by noonespecial View Post
Is there anyway to modify this to work with printthread.php results too?
just forbid your bots to even move in there
Reply With Quote
  #25  
Old 02-25-2007, 09:45 AM
rjmjr69's Avatar
rjmjr69 rjmjr69 is offline
 
Join Date: Jan 2007
Location: Southie
Posts: 876
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed does not work for me 3.6.4 . Type in url and still displays my regular archive
Reply With Quote
  #26  
Old 02-26-2007, 06:39 AM
rjmjr69's Avatar
rjmjr69 rjmjr69 is offline
 
Join Date: Jan 2007
Location: Southie
Posts: 876
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello any support on this?
Reply With Quote
  #27  
Old 09-03-2007, 06:58 PM
jmw jmw is offline
 
Join Date: Jan 2005
Posts: 71
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This can get you banned from Google. It appears to be cloaking per original hack explanation.
Reply With Quote
  #28  
Old 09-16-2007, 02:53 PM
my_aly's Avatar
my_aly my_aly is offline
 
Join Date: May 2007
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ty man
Reply With Quote
  #29  
Old 10-18-2007, 08:48 AM
Viper007Bond's Avatar
Viper007Bond Viper007Bond is offline
 
Join Date: Oct 2006
Location: Portland, OR, USA
Posts: 224
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rjmjr69 View Post
installed does not work for me 3.6.4 . Type in url and still displays my regular archive
As intended. This doesn't block users from using your archive.

To get it to "trigger", go to Google and type this into the search box:

Quote:
site:http://yoursite.com/forum/archive/
Then click one of the links. You should be taken to the real thread.
Reply With Quote
  #30  
Old 10-18-2007, 08:51 AM
Viper007Bond's Avatar
Viper007Bond Viper007Bond is offline
 
Join Date: Oct 2006
Location: Portland, OR, USA
Posts: 224
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jmw View Post
This can get you banned from Google. It appears to be cloaking per original hack explanation.
Honestly, I'm not sure which side of the line it falls on as it only applies to users incoming from a search engine.

It's not as if it's detecting the bot's user agent and then displaying different content to the search bot in an attempt to change page rank or whatever.

It's simply redirecting to the real thread when the archive is found via a search engine. If you directly browse to the archive, it won't do any redirecting.

So personally, I don't think Google would have a problem with this. Then again, I can't speak for Google.
Reply With Quote
  #31  
Old 11-18-2007, 06:59 PM
yathyo yathyo is offline
 
Join Date: Aug 2006
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Viper, nice plugin! If you want to avoid duplicated contents at Search Engines replace PHP Code with the following one:

PHP Code:

    
if ( $threadinfo['threadid'] ){
        
header ('HTTP/1.1 301 Moved Permanently');
        
header('Location:'$vbulletin->options['bburl'] . '/showthread.php?t=' $threadinfo['threadid']);
        exit();
    } 
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 01:48 AM.


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.04620 seconds
  • Memory Usage 2,312KB
  • 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
  • (1)bbcode_code
  • (1)bbcode_php
  • (4)bbcode_quote
  • (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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (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_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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete