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)

JamesFrost 02-21-2004 10:00 PM

VB3 Easy Archive
 
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!

colicab-d 02-22-2004 07:52 AM

why not set your archive up as a subdomain and have it redirect to your www.doamin.com/forum/archive :D

JamesFrost 02-22-2004 08:35 AM

Quote:

Originally Posted by colicab-d
why not set your archive up as a subdomain and have it redirect to your www.doamin.com/forum/archive :D

To be honest you could put it anywhere and call it anything - the same technique should work.

I just like putting it in the root folder of my domain. :)

ChrisSy 02-22-2004 10:06 AM

hmm cant upload the 'archive' file, in rc3

JamesFrost 02-22-2004 10:13 AM

Quote:

Originally Posted by ChrisSy
hmm cant upload the 'archive' file, in rc3

Chris - not quite sure what you mean - it should still work in rc3. How are you trying to upload?

Make sure you keep the file as 'archive.txt' before uploading it, and rename it to 'archive' once it is on your server.

JamesFrost 02-22-2004 10:34 AM

Quote:

Originally Posted by ChrisSy
hmm cant upload the 'archive' file, in rc3

Chris - have had a look at your site. I think the problem is that your current archive is in /archive instead of /forums/archive. For this reason it wont let you have a file called 'archive' in your root directory as there is already a folder called this.

Try calling the file 'archive2' and renaming the references to archive as archive2 in .htaccess. You can then test that it works before switching over to it.

you will also need to change the chdir commands in archive.txt to the following :

PHP Code:

 chdir('./archive'); //substitute for your forums path if different 
require_once('./global.php');
require_once(
'./includes/functions_bigthree.php');
chdir('./..'); 

once you are happy, you could rename the archive directory to archiveold and change archive.txt to reflect this.

Hope this makes sense!

ChrisSy 02-22-2004 10:54 AM

excellent thanks!, thanks for the quick reply :)

JamesFrost 02-22-2004 11:00 AM

Quote:

Originally Posted by ChrisSy
excellent thanks!, thanks for the quick reply :)

New instructions for users who's forum archive is currently in /archive (as opposed to /forums/archive). Still use the .htaccess from the first post.

If your archive is currently /forums/archive then please use the instructions in the first post.

dslteam 02-22-2004 11:58 AM

Does it work on IIS 6 ? (Extremely important) ?

JamesFrost 02-22-2004 12:47 PM

Quote:

Originally Posted by dslteam
Does it work on IIS 6 ? (Extremely important) ?

I dont believe .htaccess files will work on IIS. If anyone knows different, or a workaround then let me know.


All times are GMT. The time now is 10:03 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.01270 seconds
  • Memory Usage 1,738KB
  • 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
  • (1)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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