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)
-   -   vbSpiderFriend - Search Engine Friendliness (https://vborg.vbsupport.ru/showthread.php?t=15628)

Brian 06-14-2001 03:04 PM

gotcha make sence

Brian 06-14-2001 04:02 PM

Here is an odd question. If I have more forums private then public it would be easier for me to on the top just list the ones I want displayed. What would I need to do to change it so it only displays the ones I want. I know I could simply put all the ones I dont want on top but I have a ton of the ones I dont want displayed and just a few of the ones I do want displayed.

Overgrow 06-15-2001 09:14 PM

(This is untested) Make your changes to the top variable and...

Find:
PHP Code:

if (eregi("[a-z]",$forumID) or $forumID or 
strstr($privateForums,"|".$forumID."|")) 

Replace with:
PHP Code:

if (eregi("[a-z]",$forumID) or $forumID or 
!
strstr($privateForums,"|".$forumID."|")) 


Find:
PHP Code:

while($pf=array_shift($pfs)) {
        if(
ereg("[0-9]",$pf)) {

            if(
$wherecounter==0) {
                
$whereclause" WHERE forumid!='$pf'";
                
$wherecounter++;
            } else {
                
$whereclause .= " AND forumid!='$pf'";
            }
        }
     } 

Replace with:

PHP Code:

while($pf=array_shift($pfs)) {
        if(
ereg("[0-9]",$pf)) {

            if(
$wherecounter==0) {
                
$whereclause" WHERE forumid='$pf'";
                
$wherecounter++;
            } else {
                
$whereclause .= " AND forumid='$pf'";
            }
        }
     } 


julius 06-21-2001 11:29 PM

Overgrow, great hack!

I don't know why, but some threads are not displayed.

If I put a link to the archive, at the bottom of myhomepage.com (not forum index) of the same color of the background, so it is invisible, it would be fine to google?

gmyachtsman 06-22-2001 05:01 AM

This looks great !!

I'd love to get the search engines' notice.

Yesterday I just purchased VBulletin. I am hosted on a server that supports .php, .php3 .phtml, and .php4 (HostRocket). When I went to download from VBulletin, I was faced with this surprise:

Click here to download vBulletin version 2.0.1 with .PHP file extensions (default).

Click here to download vBulletin version 2.0.1 with .PHP3 file extensions.

Well, I chose .PHP3 file extensions, not knowing the differences.

Will your hack work on that version? Should I change to .PHP instead?

jarvis 06-24-2001 03:25 AM

Does anyone have this running under IIS? I have set the custom error 404 to point to my /archive/index.php but all I get from the links generated by the hack is:

a) the unparsed php code of /archive/index.php

or

b) 404 file not found (only if I let IIS do the 404 default redirects)

Ideas?

Thanks!!

etones 06-24-2001 07:45 AM

i's change to the .PHP version, it will be better for you in the future.

jarvis 06-24-2001 08:15 AM

Quote:

i's change to the .PHP version
PHP version of what? My homepage? My question pertains more to getting this running under IIS which is handling vB fine, but many of the hacks are intended for unix-based systems. I'm just curious if anyone has my configuration?

Thanks!

gmyachtsman 06-25-2001 03:48 AM

Thanks, etones. I replaced the php3 version with php. In addition to installing the php files in place of the php3 file, I had to edit my database to replace all the "php3" references with "php". The results were very good!! Just about all my changes were preserved.

Then I went on to install VBSpiderfriend. It is working fine now, but I had the following problems:

1. I had not realized that VB adds a /~databasename folder into the file path. I was trying to make the path work that was in my own directory (not what actually shows up on the URL itself).

2. I had named my archive folder "webarchive" instead of "archive". Before I fixed (1) above, while my first page list of forums showed up fine, when I clicked through, I got a standard 404 file not found error. After I fixed (1) above I got a file not found error right on the front page (this was a different error template...one I had modified for my own site's use). What I learned: the archive folder must have that exact name.

3. Every time I uploaded it, my .htaccess file would disappear without a trace. But I guessed it was there, since it kept overwriting itself and now it is working (though still invisible).

Next for the customizing, the outside links, better Meta tags, etc (the easy parts).

Thanks, Outgrow, for a beauty.

Bane 06-27-2001 03:00 AM

I have tried every variation I can think of in my .htaccess file and cant seem to get this to work.

Either it will go to http://www.influx9.com/archive/3
or http://www.influx9.com/archive/index.php and just relist

I have tried a lot of variations on the .htaccess file.. even just the http://www.influx9.com/archive/index.php (which will make it reload) any ideas what Im doing wrong? My FTP client puts the file at /home/influx9/www/archive/index.php


All times are GMT. The time now is 03:11 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.01575 seconds
  • Memory Usage 1,754KB
  • 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
  • (4)bbcode_php_printable
  • (1)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