vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   vbArchive - Search Engine Indexer for vBulletin (https://vborg.vbsupport.ru/showthread.php?t=47667)

Still Waters 02-04-2004 05:24 PM

Hey guys, I'm stuck at step 1.

Quote:

1)
httpd.conf needs editing to enable and configure mod_rewrite. Here's all the relevent bits from my httpd.conf. It can go anywhere between the <VirtualHost> & </VirtualHost> tags.
RewriteEngine on
RewriteRule ^/f([0-9]+)/s([^/]+?)$ /forumdisplay.php?forumid=$1&s=$2 [L]
RewriteRule ^/t([0-9]+)/s([^/]+?)\.html$ /showthread.php?threadid=$1&s=$2 [L]
RewriteRule ^/s([^/])+?/$ /index.php?s=$1 [L]
I put this into my root .htaccess file, and (right away) my site didn't work anymore (so I removed it again). What am I doing wrong? Thanks!

dr1 02-17-2004 12:55 PM

I have 1000's of pages spidered using this hack, it's wonderful, thanks.

I want to move to vB3, how can I do this and not effect all my pages.
I noticed that the archive in vB3 works a little differently.

Any suggestions or tips on doing the migration?

Thanks.

Skyline_GT 02-23-2004 01:24 AM

WHat do I need to do if I got Internal Server Error?

DoMiN8ToR 02-23-2004 03:10 PM

Yes a version for Vbulletin 3 would be much appreciated!

blakkboy 02-26-2004 03:05 AM

im trying to use this hack with my forums but i cant seem to get it to work.

i did all the instructions and this is supposed to be my archive but look

www.tru-essence.net/forum/archive/

blakkboy 02-29-2004 02:05 AM

i get all this


Quote:

<?php
// +--------------------------------------------------------------
// | Search Engine Indexer for vBulletin (Script by TECK)
// | http://www.teckwizards.com/
// | + archive
// +--------------------------------------------------------------
error_reporting( E_ALL & ~E_NOTICE );

$templatesused = 'archive,archive_homekeytag,archive_forumbit,archi ve_categorytitle,archive_forumtitle,archive_homein fo';
require_once( './global.php' );

if ( !$permissions['canview'] )
{
archive_nopermission();
}

// +--------------------------------------------------------------
// | Forums
// +--------------------------------------------------------------
function showforums( $forumid=-1 , $spacer='' , $permission='' )
{
global $DB_site,$bburl,$bbuserinfo,$session,$enableaccess ,$iforumcache,$ipermcache,$iaccesscache,$usergroup def,$noperms;

if ( !is_array( $permission ) )
{
$permission = getpermissions( 0 , -1 , $bbuserinfo['usergroupid'] );
$usergroupdef = $permission;
}

if ( !isset( $iforumcache ) )
{
$iforums = $DB_site->query("
SELECT forumid,parentid,displayorder,threadcount,replycou nt,title,description
FROM forum
WHERE displayorder<>0 AND active=1
ORDER BY parentid,displayorder,forumid
");
while ( $iforum = $DB_site->fetch_array( $iforums ) )
{
$iforumcache["$iforum[parentid]"]["$iforum[displayorder]"]["$iforum[forumid]"] = $iforum;
}
$DB_site->free_result( $iforums );
unset( $iforum );

$iforumperms = $DB_site->query("
SELECT forumid,canview
FROM forumpermission
WHERE usergroupid='$bbuserinfo[usergroupid]'
");
while ( $iforumperm = $DB_site->fetch_array( $iforumperms ) )
{
$ipermcache["$iforumperm[forumid]"] = $iforumperm;
}
$DB_site->free_result( $iforumperms );
unset( $iforumperm );

$noperms['canview'] = 0;

if ( $bbuserinfo['userid'] != 0 and $enableaccess == 1 )
{
$iaccessperms = $DB_site->query("
SELECT forumid,accessmask
FROM access
WHERE userid='$bbuserinfo[userid]'
");
while ( $iaccessperm = $DB_site->fetch_array( $iaccessperms ) )
{
$iaccesscache["$iaccessperm[forumid]"] = $iaccessperm;
}
unset( $iaccessperm );
$DB_site->free_result( $iaccessperms );
}
else
{
$iaccesscache = '';
}
}
if ( !is_array( $iforumcache["$forumid"] ) )
{
return;
}

while ( list( $key1 , $val1 ) = each( $iforumcache["$forumid"] ) )
{
while ( list( $key2 , $forum ) = each( $val1 ) )
{
if ( is_array( $iaccesscache["$forum[forumid]"] ) )
{
if ( $iaccesscache["$forum[forumid]"]['accessmask'] == 1 )
{
$forumperms = $usergroupdef;
}
else
{
$forumperms = $noperms;
}
}
elseif ( is_array( $ipermcache["$forum[forumid]"] ) )
{
$forumperms = $ipermcache["$forum[forumid]"];
}
else
{
$forumperms = $permission;
}
if ( $forumperms['canview'] )
{
if ( empty( $forum['description'] ) )
{
$forum['description'] = 'No description available.';
}
eval( '$forumtitle = "' . gettemplate( 'archive_categorytitle' ) . '";' );
if ( $forum['parentid'] != '-1' )
{
eval( '$forumtitle = "' . gettemplate( 'archive_forumtitle' ) . '";' );
}
eval( '$forumbits .= "' . gettemplate( 'archive_forumbit' ) . '";' );
$forumbits .= showforums( $forum['forumid'] , $spacer . '&nbsp; &nbsp; ' , $forumperms );
}
}
}

return $forumbits;
}

$showforumbits = showforums();
$showthreadbits = '';
$showpostbits = '';

$username = 'visitor';
if ( $bbuserinfo['userid'] != 0 )
{
$username = $bbuserinfo['username'];
}

$headertitle = 'Home';
eval( '$metakeytags = "' . gettemplate( 'archive_homekeytag' ) . '";' );

$navbar = $bbtitle . ' Archive';
$pagenav = '&nbsp;';
eval( '$pagetitle = "' . gettemplate( 'archive_homeinfo' ) . '";' );

eval( 'dooutput( "' . gettemplate( 'archive' ) . '" );' );

?>

michaelab 02-29-2004 08:21 AM

When I go to your archive blakkboy (at www.tru-essence.net/forum/archive/) I get:

Code:

Not Found
The requested URL /forum/archive/ was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.29 Server at www.tru-essence.net Port 80

Which suggests to me it hasn't been installed correctly but I know very little about this hack so I wouldn't know what was wrong.

Michael.

cirisme 03-01-2004 07:43 PM

Quote:

Originally Posted by DoMiN8ToR
Yes a version for Vbulletin 3 would be much appreciated!

Not needed since vb3 includes its own :)

blakkboy 03-03-2004 01:09 PM

Quote:

Originally Posted by michaelab
When I go to your archive blakkboy (at www.tru-essence.net/forum/archive/) I get:

Code:

Not Found
The requested URL /forum/archive/ was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.29 Server at www.tru-essence.net Port 80

Which suggests to me it hasn't been installed correctly but I know very little about this hack so I wouldn't know what was wrong.

Michael.



alright so could someone let me know what ive done wrong

DoMiN8ToR 03-10-2004 06:44 PM

Quote:

Originally Posted by cirisme
Not needed since vb3 includes its own :)

Yes, but it's not as nice as this one and it's not URL compatible...


All times are GMT. The time now is 06:39 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.02049 seconds
  • Memory Usage 1,757KB
  • 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_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (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