vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=34)
-   -   VB3 Easy Archive (https://vborg.vbsupport.ru/showthread.php?t=61773)

dslteam 02-22-2004 01:10 PM

.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

JamesFrost 02-22-2004 01:40 PM

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?

dslteam 02-22-2004 01:46 PM

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.

JamesFrost 02-22-2004 02:01 PM

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!

JamesFrost 02-22-2004 02:18 PM

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!

dslteam 02-22-2004 02:56 PM

I am running apache under windows 2003 at the moment. That is the reason why it is working now.

JamesFrost 02-22-2004 03:26 PM

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.

dslteam 02-22-2004 03:50 PM

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.

Itworx4me 02-22-2004 05:46 PM

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.

JamesFrost 02-22-2004 05:59 PM

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.


All times are GMT. The time now is 03:15 PM.

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.01260 seconds
  • Memory Usage 1,749KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete