Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Beta Releases

Reply
 
Thread Tools
VB3 Easy Archive Details »»
VB3 Easy Archive
Version: 1.00, by JamesFrost JamesFrost is offline
Developer Last Online: Sep 2006 Show Printable Version Email this Page

Version: 3.0.0 Rating:
Released: 02-21-2004 Last Update: Never Installs: 13
Is in Beta Stage  
No support by the author.

OK, this isn't the nicest way of doing it I'm sure, but it works!

What this does is change the path of archive files in VB

from /forums/archive/index.php/.......

to /archive/......

In theory google should spider the archive pages better, as they do not look php generated. My archive (www.martialartsplanet.com/archive) is certainly getting google picking it up, where it was not before.

I've only tested this on one site - let me know how it goes!

Show Your Support

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

Comments
  #12  
Old 02-22-2004, 01:10 PM
dslteam dslteam is offline
 
Join Date: Apr 2002
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

.htaccess files works great on IIS (if you install an ISAPI filter for it), but the problem is that the native vb3 archive uses something apache specific and that is why - it doesnt work
Reply With Quote
  #13  
Old 02-22-2004, 01:40 PM
JamesFrost JamesFrost is offline
 
Join Date: Feb 2003
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dslteam
.htaccess files works great on IIS (if you install an ISAPI filter for it), but the problem is that the native vb3 archive uses something apache specific and that is why - it doesnt work
Ah, I see. This hack uses the native vb3 archive as a starting point (and only changes a redirect function within it). Unlikely that it would work on IIS if the native one doesn't.

I'm thinking of writing one from scratch, but that will be many months away due to other commitments.

Out of interest, what is the code that is apache specific?
Reply With Quote
  #14  
Old 02-22-2004, 01:46 PM
dslteam dslteam is offline
 
Join Date: Apr 2002
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am extremely interested, because for users of IIS there is no archive feature for vb3 at the moment. I am not sury what is apache specific, but I know, that even with this ISAPI filter which is 100% compatible to htaccess - it comes a blank page.
Reply With Quote
  #15  
Old 02-22-2004, 02:01 PM
JamesFrost JamesFrost is offline
 
Join Date: Feb 2003
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dslteam
I am extremely interested, because for users of IIS there is no archive feature for vb3 at the moment. I am not sury what is apache specific, but I know, that even with this ISAPI filter which is 100% compatible to htaccess - it comes a blank page.
dslteam - is this not your archive?

http://www.dslteam.de/forum/archive/index.php/

It seems to work OK to me!
Reply With Quote
  #16  
Old 02-22-2004, 02:18 PM
JamesFrost JamesFrost is offline
 
Join Date: Feb 2003
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Also, I'm no VB expert, but try changing the following code in /archive/global.php

PHP Code:
// check to see if server is too busy. this is checked at the end of session.php
if ((!empty($servertoobusy) AND $bbuserinfo['usergroupid'] != 6) OR $vboptions['archiveenabled'] == OR strpos(SAPI_NAME'apache') === false)
{
    
exec_header_redirect("$vboptions[bburl]/$vboptions[forumhome].php");

to

PHP Code:
// check to see if server is too busy. this is checked at the end of session.php
if ((!empty($servertoobusy) AND $bbuserinfo['usergroupid'] != 6) OR $vboptions['archiveenabled'] == )
{
    
exec_header_redirect("$vboptions[bburl]/$vboptions[forumhome].php");

as the original code seems to specifically check if it is running apache. Surely this cant be the problem!
Reply With Quote
  #17  
Old 02-22-2004, 02:56 PM
dslteam dslteam is offline
 
Join Date: Apr 2002
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am running apache under windows 2003 at the moment. That is the reason why it is working now.
Reply With Quote
  #18  
Old 02-22-2004, 03:26 PM
JamesFrost JamesFrost is offline
 
Join Date: Feb 2003
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dslteam
I am running apache under windows 2003 at the moment. That is the reason why it is working now.
I've tried the global.php change in my previous post on my XP machine running IIS, and this does indeed fix the issue of the archive redirecting to the forum page.

I get the first page OK, but the subsequent links dont work. However, W2k may handle this better.
Reply With Quote
  #19  
Old 02-22-2004, 03:50 PM
dslteam dslteam is offline
 
Join Date: Apr 2002
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmm... but nevertheless - the archive doesnt support IIS and it is really a big problem according to the fact, that about 30 % of all servers running IIS.
Reply With Quote
  #20  
Old 02-22-2004, 05:46 PM
Itworx4me's Avatar
Itworx4me Itworx4me is offline
 
Join Date: Feb 2002
Posts: 210
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just an FYI. But why would you make a hack that is already included in RC4??? I see no difference from yours to the one that is included in RC4.
Reply With Quote
  #21  
Old 02-22-2004, 05:59 PM
JamesFrost JamesFrost is offline
 
Join Date: Feb 2003
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Itworx4me
Just an FYI. But why would you make a hack that is already included in RC4??? I see no difference from yours to the one that is included in RC4.
The hack is designed to make the url of the archive more 'spider friendly' - nothing else. The archive works as before.

I may look at extra functionality in future, such as dynamic meta tags etc, but I'm sure someone else will beat me to this.

Personally, I wrote because I thought it would be useful to my own site. I think that

http://www.martialartsplanet.com/archive/t-10794

will rate higher than

http://www.martialartsplanet.com/forums/archive/index.php/t-10794

to a search engine. But maybe not - the ratings systems change all the time!

It certainly made a difference when I were a lad.
Reply With Quote
Reply

Thread Tools

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 02:49 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.04611 seconds
  • Memory Usage 2,307KB
  • 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
  • (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