Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Details »»

Version: , by Overgrow Overgrow is offline
Developer Last Online: Jun 2004 Show Printable Version Email this Page

Version: 2.0.x Rating:
Released: 04-29-2001 Last Update: Never Installs: 53
 
No support by the author.

I am tired of my 200,000 posts not being listed in Google. I was inspired by phpbuilder.com this morning and I wrote:

vbSpiderFriend - the search engine indexer for all of your posts

Purpose: Allow search engine spiders to crawl a linked list of all of your posts.

Project Requirements:

-Friendly URLs (no query strings)
-Good dynamic meta tags
-Never have to touch the script again.. It is Y3K compliant, simply re-submit to the engines to update your listings

Install Requirements:

-vBulletin 1.x or 2.x
-about 10 minutes


1) Download the attached Zip.

2) Open class.mysql.php and put your database login info at the top.

3) Create a new directory called archive under your forum, like /forum/archive

4) Open the included .htaccess and change the Error 404 to your new archive path.

5) Open index.php and change the self-explanatory variables at the top of the file.

6) Upload all 3 files to your archive directory.

7) Submit /forum/archive/index.php to search engines and watch em crawl


DISCLAIMER: I don't use 2.x but I checked the schema and this should work fine.

NOTES: This uses ErrorDocument and query string parsing to get the variables needed. I do not have the time or energy to troubleshoot this if it does not work on your server. Sorry!

Show Your Support

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

Comments
  #92  
Old 05-22-2001, 03:05 PM
Overgrow's Avatar
Overgrow Overgrow is offline
 
Join Date: Nov 2001
Posts: 320
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cyrus, OK here is your problem.. your VB has the month/day reversed from standard American time hehe...

Find:
PHP Code:
$month=$urlArray[($a+3)];
$week=$urlArray[($a+4)]; 
Replace with:
PHP Code:
$week=$urlArray[($a+3)];
$month=$urlArray[($a+4)]; 
That's the easy fix. It won't have the dates right on the top of some of the pages but it won't affect the spider.
Reply With Quote
  #93  
Old 05-22-2001, 04:55 PM
robertusss
Guest
 
Posts: n/a
Default

(removed a stupid question here)
Reply With Quote
  #94  
Old 05-23-2001, 01:03 AM
cyrus's Avatar
cyrus cyrus is offline
 
Join Date: Oct 2001
Posts: 159
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi overgrow,

i made that fix, but i get the same problem

what shallI do now
Reply With Quote
  #95  
Old 05-23-2001, 02:14 AM
Overgrow's Avatar
Overgrow Overgrow is offline
 
Join Date: Nov 2001
Posts: 320
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Uhh Cyrus? It does work sometimes...


http://www.t-hood.com/archive/2/2001/02/3

http://www.t-hood.com/archive/2/2001/04/2

http://www.t-hood.com/archive/9/2001/03/3


Sorry, I don't know what to tell you. The reason you have problems is because your date format is not the one the program was intended to work with.. since it reads the date from the query, it is touchy about how it's formatted.

Here is a great chance to learn PHP and figure out how to fix it. Otherwise I would need FTP access to your site so I can try new scripts, there is no other way for me to troubleshoot it.. (besides switching my vb over to the other format but mine is a bit busy to be doing that with)
Reply With Quote
  #96  
Old 05-23-2001, 02:18 AM
Overgrow's Avatar
Overgrow Overgrow is offline
 
Join Date: Nov 2001
Posts: 320
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

robert, I just looked over the class and it seems like it should work. I'm sorry I wrote it using my personal mysql class file instead of just including VB's.. but at the time I didn't have a copy of 2.0 handy and I didn't want to write to 1.x in case it had changed.

Having said all that, I don't see a problem.. I would re-download the latest version, and type in the info again.. Otherwise it would not be difficult to remove my class stuff and just use VB's if you wanted to edit the script.
Reply With Quote
  #97  
Old 05-23-2001, 02:27 AM
cyrus's Avatar
cyrus cyrus is offline
 
Join Date: Oct 2001
Posts: 159
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Overgrow,

I know wat u mean.

But seeing the dates arent correct, can I revert the dates to the what they should be ?? Will it work fine then ?? I do not mind doing that, its fine with me
Reply With Quote
  #98  
Old 05-23-2001, 03:19 AM
Overgrow's Avatar
Overgrow Overgrow is offline
 
Join Date: Nov 2001
Posts: 320
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No guarantee, but it's a good bet!
Reply With Quote
  #99  
Old 05-28-2001, 06:39 AM
krohn krohn is offline
 
Join Date: Nov 2001
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<a href="http://www.forumoc.com/archive/" target="_blank">http://www.forumoc.com/archive/</a>

not working here either...

.htaccess looks like this
ErrorDocument 404 /home/web/forumoc.com/archive/index.php
Reply With Quote
  #100  
Old 05-28-2001, 07:48 AM
robertusss
Guest
 
Posts: n/a
Default

@krohn try:
ErrorDocument 404 /archive/index.php

here is the man-page for apache:

http://httpd.apache.org/docs/mod/cor...#errordocument


But on my site it doesn't work either... maybe there is a switch somewhere in httpd.conf to enable customized error-pages globally...
Reply With Quote
  #101  
Old 05-28-2001, 11:02 AM
jojo85
Guest
 
Posts: n/a
Default

Nice hack!!!
Congrats
I love it!
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:31 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.04971 seconds
  • Memory Usage 2,304KB
  • 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
  • (2)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
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (8)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