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)

verbum 10-18-2003 06:38 PM

Quote:

Originally Posted by Lahey
Why won't mine work? It still shows just php code on /archive
I tried renaming the archive file to archive.php and that makes the php work but then none of the links on the page work. and the intstructions didn't say anything about renaming it to .php anyway. Is this a server problem?

Lahey

Sounds like a problem with the .htaccess file. Assuming your Apache configuration includes ForceType, make sure that the code on the uploaded .htaccess (upload as txt then, rename to .htaccess) contains the arguments + expression + exact destination URL as indicated (the latter--URL--if incorrect would produce a 500 error, so it's likely not that).

coolmile 10-20-2003 06:54 PM

As soon as I put .htaccess file under the forum directory, nobody can access the directory. it shows forbidden error message on the browser. (Even an empty .htaccess file)

I think i have to add some directive or change apache conf file, but i don't know which one.

Need help please.

Courage 10-24-2003 11:59 AM

Ok, i use for 3 days google adsense

What i must write for adsense?

Mediapartners-Google*

or

Mediapartners-Google (no *) ?

I need this for Who's online hack and session hash stripping

10x

SoLo OnE 10-26-2003 02:54 PM

Quote:

Originally Posted by coolmile
As soon as I put .htaccess file under the forum directory, nobody can access the directory. it shows forbidden error message on the browser. (Even an empty .htaccess file)

I think i have to add some directive or change apache conf file, but i don't know which one.

Need help please.


I have the same problem.

ResellerForums 11-02-2003 05:53 PM

We've got this great hack installed (thanks Teck!), and it works well except:

We have only four forums on our board, and they are all at the root level. That is, their "Forum Parent", as set in the admin, is "No one". (This is intentional, since we don't have enough forums to justify categorization.)

The problem is that on the archive page, the forum names aren't hyperlinked. It seems that this hack doesn't hyperlink forums at the root level because it assumes that they are not actually forums but categories.

Is there a way around this?

See http://www.rfidtalk.com/archive

You'll notice that RFID Forum and RFID Industry News are NOT hyperlinked even though they are actual forums, while Greater Impact of RFID and RFID Technology are (because they are children of test).

replicon 11-06-2003 11:09 PM

Quote:

Originally Posted by nuno
Damn.
This is impossible to run with IIS. :(

Thanks TECK for a great hack. Took about 30 minutes to figure out ISAPI Rewrite and hack your script to run with IIS, but works great! So it's not impossible with IIS :).

http://forums.beyond.ca/archive

ChrisSy 11-07-2003 05:10 PM

I installed this script a few months back, had no problems and very fast install

I am currently running my board in the root dir so archive is /archive , what files do i need to change if i want to move my board into another directory so the the archive would be /forum/archive?

Dean C 11-07-2003 07:59 PM

The .htaccess file if my memory serves me correctly :)

TECK 11-07-2003 08:26 PM

Quote:

Originally Posted by replicon
Thanks TECK for a great hack. Took about 30 minutes to figure out ISAPI Rewrite and hack your script to run with IIS, but works great! So it's not impossible with IIS :).

http://forums.beyond.ca/archive

Can you post the ISAPI Procedure? I'm interested... Thanks.

atomic fireball 11-08-2003 09:58 AM

Hi TECK, just wanted to say thanks for the excellent hack. We've had this installed for a few months now, (it's actually the add on to vBhome Lite), and although Google has been hitting our site nicely, we have yet to make a real dent in the Google index.

Everything seems to be synching up just fine, but I still don't understand if the "Unknown Location" issue is a bug or just a consmetic annoyance.

1. If a spider is hitting a page from the archive, and the Who's Online shows the "Unknown Location," is that a problem in terms of getting our site into google?

2. What/where is the varible to change the table content background color, width, centering of the archive? (It shows up as orange 90% and left justified on our board.)

Here's the link to our archive:
http://www.thedigitalreview.com/archive.html

Thanks for any help, and thanks for the work on putting this hack together! We really do appreciate it!

LT97B 11-10-2003 12:44 AM

I wish this archive thing would work on zeus servers!!! grr
I know zeus has mod_rewrite and so on I guess its just a matter of time until one of you guys figures out a way to make it work...... *sigh*

replicon 11-10-2003 03:47 PM

Quote:

Originally Posted by TECK
Can you post the ISAPI Procedure? I'm interested... Thanks.

Sure, here's the procedure.

1. Install ISAPI Rewrite Free Version (works great if you only host 1 site on IIS)

2. In ISAPI Rewrite's httpd.ini, add the following entries:
Code:

RewriteRule /archive /archive.php
RewriteRule /archive/(.*) /archive\.php\?param=/$1
RewriteRule /forumdisplay/(.*) /forumdisplay2\.php\?param=/$1
RewriteRule /showthread/(.*) /showthread2\.php\?param=/$1

This will rewrite /archive, /forumdisplay and /showthread into it's equivilent .php files. We can't use no extension, IIS does not support that properly. This also rewrites the remainder of the URL into the query parameter "param", as IIS will display file not found if you add / after the forumdisplay and showthread urls.

3. In forumdisplay.txt and showthread.txt, replace the line :
Code:

$endbit = strrchr( $_SERVER['PHP_SELF'] , '/' );
with :
Code:

$endbit = strrchr( $HTTP_GET_VARS['param'] , '/' );
This will extract the remaining URL as a parameter since we moved it to a parameter.

4. Rename archive.txt to archive.php, forumdisplay.txt to forumdisplay2.php, and showthread.txt to showthread2.php, and copy to your live upload directory.

ResellerForums 11-13-2003 08:31 PM

Quote:

Originally Posted by ResellerForums
We've got this great hack installed (thanks Teck!), and it works well except:

We have only four forums on our board, and they are all at the root level. That is, their "Forum Parent", as set in the admin, is "No one". (This is intentional, since we don't have enough forums to justify categorization.)

The problem is that on the archive page, the forum names aren't hyperlinked. It seems that this hack doesn't hyperlink forums at the root level because it assumes that they are not actually forums but categories.

Is there a way around this?

See http://www.rfidtalk.com/archive

You'll notice that RFID Forum and RFID Industry News are NOT hyperlinked even though they are actual forums, while Greater Impact of RFID and RFID Technology are (because they are children of test).

For those interested in a solution, here it is: comment out lines 113, 114, and 116 in archive. So lines 106-119 look like this:

if ( $forumperms['canview'] )
{
if ( empty( $forum['description'] ) )
{
$forum['description'] = 'No description available.';
}
eval( '$forumtitle = "' . gettemplate( 'archive_categorytitle' ) . '";' );
// COMMENTED OUT TO FORCE HYPERLINKING OF FORUMS WITH NO PARENT: if ( $forum['parentid'] != '-1' )
// COMMENTED OUT TO FORCE HYPERLINKING OF FORUMS WITH NO PARENT: {
eval( '$forumtitle = "' . gettemplate( 'archive_forumtitle' ) . '";' );
// COMMENTED OUT TO FORCE HYPERLINKING OF FORUMS WITH NO PARENT: }
eval( '$forumbits .= "' . gettemplate( 'archive_forumbit' ) . '";' );
$forumbits .= showforums( $forum['forumid'] , $spacer . '    ' , $forumperms );
}

replicon 11-14-2003 09:59 PM

Finally got spidered, and all I can say is WOW.

Guest usercount went from avg of 20 to avg of 90. And we only have 8500 pages spidered (should be about 28,000).

LT97B 11-15-2003 12:31 PM

Is my hosting co the only co that uses zeus instead of apache or isapi?

Domenico 11-17-2003 10:44 AM

This addon really does work very well.

Our site www.webhostingtalk.nl has more then 11.000 results in google. :)

It is recommended for everybody!

TECK 11-18-2003 01:01 AM

Quote:

Originally Posted by Domenico
This addon really does work very well.

Our site www.webhostingtalk.nl has more then 11.000 results in google. :)

It is recommended for everybody!

Thanks. All you have to do left is to add the copyright at the bottom of the web site (links and text), the way it's supposed to be.

Regards,
Floren.

Domenico 11-18-2003 07:21 AM

Oh, I will add that info as soon as I have time for it. Sorry, I don't remember me removing it as I normally hate when people do such things.

Anyways, is this addon final or do you see any 'improvements' or 'extra functionality' in the near future?

Coordinator Inc 11-22-2003 06:24 AM

Quote:

Originally Posted by TECK
[high]vbArchive v1.3 Released[/high]
250,000 Google pages (and counting...) indexed so far. Congratulations to all users!

WHAT'S NEW IN VERSION 1.3:
I added the number of threads and posts for each forum.
The problem with a static page like the main archive page (as well the category ones) was that it never changed.
Now, every time a crawler visit the page, it will see new elements changed, since the number of threads and posts will always change.
Take a look at my archive, until FireFly updates the vBulletin.org one.
[/b]


Man, I PMed you a week ago.
I need this script to be installed on 2 of my forums for a fee.
Can you do it please?
Let me know either way.
Thanks.

dssforum 11-26-2003 08:48 PM

Can someome please install this for me been at it all week with no luck trying to install it on www.tsxclub.com

messege me on AIM : FerrariG2

dssforum 11-26-2003 09:38 PM

I keep getting this error :

<?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' ) . '" );' );

?>

dssforum 11-26-2003 09:41 PM

<a href="http://www.tsxclub.com/forums/archive" target="_blank">http://www.tsxclub.com/forums/archive</a> is it a problem if we have "s" forums instead of forum? what is causing this error and how can it be fixed! Thanks! Getting same error on both of my forums

Onkel_Tom 11-26-2003 09:49 PM

This is not an error ! Your Webserver just open the complete archive file and show you the syntax.
I think you have a problem with Apache's ForceType directive.
Just try to copy archive to archive.php and try to open this file.
But first look at this CHANGES

dssforum 11-26-2003 10:05 PM

Thx for the reply buddy!!

Now I get this http://www.tsxclub.com/forums/archive.php

The page opens but the links dont work any help is appriciated!

Onkel_Tom 11-26-2003 10:14 PM

yep, your Server has a problem with Apache's ForceType directive !

Please check the syntax of your .htaccess file
For me the following CHANGE fix the problem.
If not ask your Webspaceprovider or administrator of the server how to handle the ForceType syntax.

yavar 12-11-2003 02:43 PM

i have a problem .
this hack haven't index.php file !
index.php isn't in attachment zip file !
I do all works that written in readme file !but it dosen't work !

dssforum 12-11-2003 02:46 PM

Quote:

Originally Posted by Onkel_Tom
yep, your Server has a problem with Apache's ForceType directive !

Please check the syntax of your .htaccess file
For me the following CHANGE fix the problem.
If not ask your Webspaceprovider or administrator of the server how to handle the ForceType syntax.

my host said we have it installed by default anything else that might of cause this problem?

yavar 12-11-2003 02:50 PM

i have a problem .
this hack haven't index.php file !
index.php isn't in attachment zip file !
I do all works that written in readme file !but it dosen't work !

coolmile 12-11-2003 03:45 PM

Quote:

Originally Posted by yavar
i have a problem .
this hack haven't index.php file !
index.php isn't in attachment zip file !
I do all works that written in readme file !but it dosen't work !


you don't need index.php file. you need to make .htaccess works.

see my site. http://tarantulas.us/forums/archive/

obschina 12-23-2003 06:19 PM

Thank you TECK...I installed this, let's see where I get with it!

-obs

Khashyar 01-11-2004 07:53 PM

Hi guys...

I have used vbarchive with very good results...

HOWEVER, I just upgraded from VB 2.30 (where vbarchive worked fine), to VB 2.34, where installing vbarchive creates an error in my forum...

Have others found that vbarchive does NOT work with the new VB 2.34???

Thanks for your feedback and help...

Khashyar

Onkel_Tom 01-11-2004 08:36 PM

If you use the upgrade script to update to 2.3.4 you have to install the hack again because the templates will be lost.
Therefore I update to newer version by hand without using the updatescript;)
I use also vB 2.3.4 with vBArchive and it works

Khashyar 01-11-2004 09:58 PM

thanks for the reply, Tom...

I discovered the problem... I was trying to use the same edited functions.php file that I used with my 2.30 VB..... I needed to take the new 2.34 functions.php file and reinsert the ad-on code from the VBArchive hack....

Now it seems to work...

Thanks for your reply....

Khashyar

bigdaddy04 01-14-2004 11:38 PM

Is this script good for vBulletin Version 2.3.3 ?

Khashyar 01-15-2004 05:02 AM

big daddy....

I'm sure that it also works with 2.3.3

Skyline_GT 01-24-2004 12:08 AM

work perfect http://www.gamerzplanet.net/forums/archive

AN-net 01-28-2004 06:42 PM

i type http://www.animationation.net/community/archive/ and i get errors:(

dgessler 01-29-2004 02:55 PM

Anyone know what's wrong with this? Followed instructions, and when I try to open vbarchive.php I get the following:

Warning: main(./global.php): failed to open stream: No such file or directory in /home/aimforum/public_html/archive/admin/vbarchive.php on line 8

Warning: main(): Failed opening './global.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/aimforum/public_html/archive/admin/vbarchive.php on line 8

Fatal error: Call to undefined function: cpheader() in /home/aimforum/public_html/archive/admin/vbarchive.php on line 165

Any help would be appreciated, thanks!

Dan

armani1072 02-03-2004 10:01 AM

i get page cannot be viewed error when going to http://www.precisionmuscle.org/archive/ i followed the instructions to a T. the only thing is that i am running vb 2.3.4. am i missing something?

armani1072 02-03-2004 10:22 AM

nevermind i got it. thanks anyway :D


All times are GMT. The time now is 12:16 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.02350 seconds
  • Memory Usage 1,856KB
  • 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
  • (3)bbcode_code_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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