PDA

View Full Version : vB Easy Archive FINAL - Search Engine Spiderable Hack! Get your posts listed @ google


Pages : [1] 2 3

SkuZZy
29 Dec 2002, 01:59
-- If you've installed this hack, please click here! (http://www.vbulletin.org/forum/misc.php?s=&action=install&hackdb=1&threadid=47087) -- If you want to upgrade to vBulletin 3, look here: http://www.vbulletin.org/forum/showthread.php?t=65703

HOW GOOD DOES THIS HACK WORK??? >>> Over 29,000 pages spidered since January 1st!!!!!!! Visit http://www3.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=Archive+SkuZZy+Xenon to see all the pages this script has helped get spidered into google!

Sub-Forums have been added!

Final Version Released - February 10th

I added sub-forums in this final version, one of the most requested features to be added... but, sad to say... this will be the final version. I never got a chance to add some of the cool features I said, but I feel this archive has served it's purpose and hopefully will continue to do so for all the die hard users who stick with vb 2.2.9. I decided to make this the final version because vb3 is coming out soon and I think this archive is the best archive currently out. Sure, there are more flashy ones, but this one gets the job done and gets results. Hopefully this hack will live on for a while.
Edit by Xenon: Whenever there is a problem, i'll take a look at it, and perhaps add a feature or two :)

About this hack

This hack will help get all your threads listed in google and other search engines and get your threads easily spidered! It works by creating an archive and turning all your posts into .html format. It doesn't actually create the .html files though, but google thinks they are real! It uses mod_Rewrite. If you don't have mod_Rewrite, you can't use the scripts (sorry).

What does it do?

The purpose of this hack are to get your keywords from your forums listed in google and get people visiting them! Since these are all pure text and don't use tables or excess font tags, they are very friendly on bandwidth! This will display all your files in a nice text format that google will absolutely love! Visit the online demo below to see it in action!

Online Demos

To view a demo of this script, visit some of the "live" demos at the following sites:

http://www.destee.com/forums/archives
http://www.thrillnetwork.com/boards/archive/
http://www.truecountry.com/forums/history/
http://www.strategy-forum.de/easy_archive/index.php
http://www.pimprig.com/forums/archive/
http://www.jokersrewards.com/forum/history/
http://board.midibuddy.net/archive2/
http://x-mencomics.com/xfan/forums/archive/
http://www.macfora.com/forums/archive/
http://www.rcgroups.com/archive/
http://www.codewebs.com/forums/archive/
http://www.lcdmod.com/forums/archive/
http://www.source-forums.org/vB/archive/
http://www.subduck.com/history/
http://www.thesistersthree.com/archive/
http://www.a51forums.com/archive/
http://www.yes-its-free.com/easyarchive/
http://www.wcgateway.com/forums/archive
http://www.toyotaimportsforum.co.uk/forum/archive/
http://www.prisontalk.com/forums/archive/
http://www.gamesites200.com/archive/
http://www.allthingsmoto.com/archive
http://www.2spoemas.com/foros/archive/
http://www.mysticwicks.com/archive/

Requirements

Apache
vBulletin 2.x
mod_mime installed
.htaccess
5 minutes of your time...


Known Problems/Confusion

Mod_mime - You will NEED mod_mime to run these scripts. Mod_mime is a free module which enables a directive called "ForceType". This allows you to use the .htaccess file included to force your files into php mode, which allows simple URL's, without .php in them. If you can see the front page of your archive, but get an error page when you click on any links then this is your problem. To fix it, you will need to install mod_mime, or ask your host to do it. It's a FREE module. For more information, visit http://httpd.apache.org/docs/mod/mod_mime.html

Private forums - Private forums are NOT shown and they will NOT be spidered. Some people say the private forums show up, that is because you are logged in as the admin and the archive uses permissions. So anyone who has permission to view the private forums on your forums, will beable to view them on the archives also. But if you log out of your account OR log into an account that doesn't have access to them, then you won't beable to view them :)

Credits

Biggest credit goes to Xenon who originally coded the scripts. He is the man! Also thanks to everyone who tested it out for me and kept bugging me about releasing it (when I was too lazy to).

Agreement

By using these scripts & installing them, you agree to leave the small (virtually unnoticable) copyright text and links at the bottom of all pages. You also agree to leave jelsoft's copyright there as well. You can modify the scripts much as you want, but this portion must remain intact (links must stay) and visible. This is all we ask :D

Download Final

To install, just download the file below and open the "_readme.txt" file. All is explained there. Installation should only take a couple of minutes. If you have problems with this script, post them in this thread and I will try and get around to answering them.

pekay
29 Dec 2002, 03:11
Haha i was looking for something like this...and here you post here.. thanks :D

will install it tomorrow, 5 am.. :)

DrkFusion
29 Dec 2002, 03:51
What would be the best solution for people who do not have mod_rewriting capabilities, like ensim users, and other users.

I know some people here do not have the luxury of mod_rewriting :p like me and Chris, and I think Teck too.

I have done something similar, but I am not satisified by the method I used, I am looking for a more organized way. I am open to your or anyone elses suggestions.

http://www.noxmedia.net/archive
(I have done massive editing to achieve the effect, and I added some extra stuff to mimic vB3 archive, but I am willing to give this ALL UP, for something that will do the same thing as mod rewrite)

I personally detest ensim, but I am stuck on it for awhile, and ensim does not allow mod_rewriting, there are always errors, like forbidden, and internal server errors. I either have to bug my host to add it, and even then its a pain.

Great job, and please suggest sume stuff :)

SoloX
29 Dec 2002, 04:02
just one lil glitch .. it does not browse sub forums ..

SkuZZy
29 Dec 2002, 04:28
Originally posted by DrkFusion
What would be the best solution for people who do not have mod_rewriting capabilities, like ensim users, and other users.

I know some people here do not have the luxury of mod_rewriting :p like me and Chris, and I think Teck too.

I have done something similar, but I am not satisified by the method I used, I am looking for a more organized way. I am open to your or anyone elses suggestions.

http://www.noxmedia.net/archive
(I have done massive editing to achieve the effect, and I added some extra stuff to mimic vB3 archive, but I am willing to give this ALL UP, for something that will do the same thing as mod rewrite)

I personally detest ensim, but I am stuck on it for awhile, and ensim does not allow mod_rewriting, there are always errors, like forbidden, and internal server errors. I either have to bug my host to add it, and even then its a pain.

Great job, and please suggest sume stuff :)

I will probably release a version that doesn't require mod_rewrite. I wouldn't beable to add the .html extensions to the pages though. However, it would be possible to remove the .php from the file names without using mod_rewrite (using .htaccess instead). So the URL's would look like http://www.battleforums.com/archive/topic/400 instead of http://www.battleforums.com/archive/topic/400.html ... not alot of difference, but google DOES like .html better I think. They suspicious when a site has thousands of different directories ;)

Sebastian
29 Dec 2002, 04:44
most hosts nowadays will load up any module/plugin/etc.. that you want, not all do, but the majority will do it at the request of the customer. unless you're on some $2.95 plan then they might not. If you pay good money for hosting then either make them do it or threaten that you will get a host that will :)

ask and see, if they say no then get a host that will. my host will install a virus if i tell them to, ;)

DrkFusion
29 Dec 2002, 04:45
The way I have done it is, through htaccess, and htaccess only, and I was able to also acheive the .html effect, maybe if you are going to release one that uses a different method (and i think I know which) maybe we can work together to do that part.

MrLister
29 Dec 2002, 05:10
Doesn't google already crawl query files unless you send it into a loop?

DWZ
29 Dec 2002, 12:48
I can't get it to work :(

It just brings up a blank page. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1252"></HEAD>
<BODY></BODY></HTML>
I have mod_rewrite and I have triple checked the config file.

zachb
29 Dec 2002, 13:49
I get same as DWZ. :(

Chris M
29 Dec 2002, 14:06
I would love to see a way to use this without having mod_rewrite;)

Satan

DrkFusion
29 Dec 2002, 18:34
Chris, the way I have done it, does not requre mod_rewriting.

DWZ, and Zach_b, check the absolute path.

Travis641
29 Dec 2002, 18:36
Originally posted by zachb
I get same as DWZ. :(

Same here... =( and I've checked all the paths, and they are correct.

Chris M
29 Dec 2002, 19:26
Ah Ok Arunan:)

Satan

SkuZZy
29 Dec 2002, 19:32
I'll be releasing a version TODAY that doesn't require mod_rewrite and will have all the same features. It will be version 2.0! ;)

It does however require .htaccess. But....... good news. Tommorow, I will be releasing a version that doesn't require mod_rewrite OR .htaccess ;)

The downside to that version will be that URL.s will look like http://www.whatever.com/archive/topic.php/400.html instead of just "topic/400.html". But it still works ;)

DWZ
29 Dec 2002, 21:08
Originally posted by DrkFusion
DWZ, and Zach_b, check the absolute path. It's perfect.

I did a PWD in SSH, it's the right path - I'm sure of it.

Travis641
29 Dec 2002, 21:58
Installed your latest update - still getting a white page =\

Although the source of the blank page says:

<!--//--><script>var PrxLC=new Date(0);var PrxModAtr=0;var PrxInst; if(!PrxInst++)
PrxRealOpen=window.open;function PrxOMUp(){
PrxLC=new Date();}function PrxNW(){return(this.window);} function PrxOpen(url,nam,atr){ if(PrxLC){
var cdt=new Date(); cdt.setTime(cdt.getTime()-PrxLC.getTime()); if(cdt.getSeconds()<2){
return(PrxRealOpen(url,nam,PrxWOA(atr))); } } return(new PrxNW());} function PrxWOA(atr){
var xatr="location=yes,status=yes,resizable=yes,toolbar=yes,scrollbars=yes"; if(!PrxModAtr)
return(atr); if(atr){ var hm; hm=atr.match(/height=[0-9]+/i);
if(hm) xatr+="," + hm; hm=atr.match(/width=[0-9]+/i);
if(hm) xatr+="," + hm;
} return(xatr);}window.open=PrxOpen;</script>
<!--//--><script>PrxModAtr=1;</script>
<!--//--><script> function NoError(){return(true);} onerror=NoError; </script>
<!--//--><script> function moveTo(){return true;}function resizeTo(){return true;}</script>
<!--//--><script>if(document.layers){document.PrxOff_captureEvents(Event.MOUSEUP);}
document.onmouseup=PrxOMUp;</script>

zachb
29 Dec 2002, 22:29
Yep, my absolute path is right also, and all I get is the blank page.

subduck
29 Dec 2002, 23:02
This is how you find your absolute path:

Upload this PHP script:

<?php

echo $_SERVER['DOCUMENT_ROOT']

?>

subduck
29 Dec 2002, 23:26
I'm getting a blank screen as well :(

NTLDR
29 Dec 2002, 23:36
I've had the same problems, my work around:

in config.php use chdir(); for the path and then just plain require("./global.php");

In topic and forum remove chdir("..");

Is working fine now for me :)

subduck
29 Dec 2002, 23:58
Originally posted by NTLDR
I've had the same problems, my work around:

in config.php use chdir(); for the path and then just plain require("./global.php");

In topic and forum remove chdir("..");

Is working fine now for me :)

Still doesn't work.

tpearl5
30 Dec 2002, 00:43
Working good for me :) Thanks!! I was looking for something new so google could respider everything on my site.

http://board.midibuddy.net/archive2/

Travis641
30 Dec 2002, 00:43
Me neither =\

tpearl5
30 Dec 2002, 00:52
If you are using fastforwards hack (spider friendly URL's) and you want the links in this hack to display the friendly URL's in the topic views:

In the topic file around line 58 change:
showthread.php?s=&threadid=$thread[threadid]
to
t$thread[threadid].html

SkuZZy
30 Dec 2002, 00:53
I don't get why it's working for some people and not for others. For some of you, it might just be that your path is wrong. So here is how to find out your absolute path (the easiest way I know). Just download this file (path.php) and [/b]upload it to the same directory as your global.php file[/b].

Now, open up path.php in your browser and it will look like this at http://www.battleforums.com/path.php


Parse error: parse error in /home/hsphere/local/home/battle/battleforums.com/path.php on line 5


Now, just copy the path and replace "path.php" with "global.php" and put that in the config.php file for the scripts. So my path would be:

/home/hsphere/local/home/battle/battleforums.com/global.php

... it's pretty simple.

-SkuZZy

DrkFusion
30 Dec 2002, 01:14
Hehe the above way is a very smart way ;)

<?php phpinfo(32); ?>

^^ that should work

X-Fan
30 Dec 2002, 01:19
Just installed this, and it works great! However, it's including private forums and the threads therein, and I'd prefer they not be archived. Is there any way to prevent this?

Also, how is it possible to have the archive pages display the standard site header and footer?

Velocd
30 Dec 2002, 01:23
For those of you having chdir() problems, the only code you should need inside the chdir() is the following:


chdir("../forums");
require("global.php");


Given that your config.php is located in your public_html folder in a new directory (as the instructions say), but above your forums directory.

If you have the new directory located inside your forums directory, use this:


chdir("../");
require("global.php");

SkuZZy
30 Dec 2002, 01:31
Originally posted by Velocd
For those of you having chdir() problems, the only code you should need inside the chdir() is the following:


chdir("../forums");
require("global.php");


Given that your config.php is located in your public_html folder in a new directory (as the instructions say), but above your forums directory.

If you have the new directory located inside your forums directory, use this:


chdir("../");
require("global.php");


Smart post. I have a feeling the problems are all related to the chdir ......

Velocd
30 Dec 2002, 01:35
Heh, do as NTLDR said above also, removing chdir(".."); in topic and forum, since both files are located in the same directory anyway where config.php exists (meaning there shouldn't be a reason to switch directories). This will give you a blank page if not fixed..

SkuZZy
30 Dec 2002, 01:40
Originally posted by X-Fan
Just installed this, and it works great! However, it's including private forums and the threads therein, and I'd prefer they not be archived. Is there any way to prevent this?

Also, how is it possible to have the archive pages display the standard site header and footer?

Private forums are only shown to people who have access to view them. Try logging out of your account on the forums and then see if the private forums show up. The archive uses the same permissions system as your forums. As far as your header/footers, there isn't really a simple 1 click way to do your headers/footers the same as your forums. Just go to your forums source and copy the header/footer directory from the source of your forums. But I wouldn't make the archive too intensive. Part of the good thing about the archive is, it takes not alot of bandwidth. If you add images and alot of hits come in from google, then your bandwidth will go way up!

SkuZZy
30 Dec 2002, 01:49
Originally posted by Velocd
Heh, do as NTLDR said above also, removing chdir(".."); in topic and forum, since both files are located in the same directory anyway where config.php exists (meaning there shouldn't be a reason to switch directories). This will give you a blank page if not fixed..

I released a 2.1 that fixes this small problems. The chdir is unneeded, as long as all files are put into the same directory. For those having the blank pages problem, download the newest version (2.1) updated in thread

Travis641
30 Dec 2002, 01:58
Works now! =) Good work.

X-Fan
30 Dec 2002, 02:08
Originally posted by SkuZZy
Private forums are only shown to people who have access to view them.

Will they be spidered?

And will Google spider the archive page, or the original thread? Preferred they archive the original thread as my site is primarily a news and reviews site.

SkuZZy
30 Dec 2002, 02:12
Originally posted by X-Fan


Will they be spidered?

And will Google spider the archive page, or the original thread? Preferred they archive the original thread as my site is primarily a news and reviews site.

Google will spider the archive page, but NOT the private forums. They will get an error saying they don't have access. As far as them spidering the original thread, there is no way to get them to spider the original thread unless you use a hack like fastforward's hack of filburt's hack, but they can be a bit messy. This one is good, because there is a link provided at the top of all pages "Click here to view the original thread" and people can click on it.

SkuZZy
30 Dec 2002, 02:21
If anyone installs this hack successfully, please post your URL here so I can add it to the demo's list. Of course if you don't want it added to the demos list, that's ok ;)

w596
30 Dec 2002, 02:42
Originally posted by SkuZZy
If anyone installs this hack successfully, please post your URL here so I can add it to the demo's list. Of course if you don't want it added to the demos list, that's ok ;)

Here's one for ya. ;)

http://www.truecountry.com/forums/history/index.php

X-Fan
30 Dec 2002, 02:48
Originally posted by SkuZZy
Google will spider the archive page, but NOT the private forums. They will get an error saying they don't have access.

Will it spider the titles of the threads? If so, I'd rather the archive hack didn't touch private forums at all.

As far as them spidering the original thread, there is no way to get them to spider the original thread unless you use a hack like fastforward's hack of filburt's hack, but they can be a bit messy.

Messy is fine so long as it successfully spiders the original thread.

This one is good, because there is a link provided at the top of all pages "Click here to view the original thread" and people can click on it.

Yes, but experience has taught me that people online are inherently lazy, and 9 times out of 10 won't click the link. Is there any way for the archive hack to at least display any html code in the threads its archiving so that images will show up (in their correct places in the thread) as it's a security concern for me to have URLs displayed as text instead of as the links they're meant to be.

X-Fan
30 Dec 2002, 02:51
Originally posted by w596
Here's one for ya. ;)

http://www.truecountry.com/forums/history/index.php

Hey cool - how'd you get it formatted like that?

Smoothie
30 Dec 2002, 03:00
Originally posted by Velocd
For those of you having chdir() problems, the only code you should need inside the chdir() is the following:


chdir("../forums");
require("global.php");


Given that your config.php is located in your public_html folder in a new directory (as the instructions say), but above your forums directory.

If you have the new directory located inside your forums directory, use this:


chdir("../");
require("global.php");
Excellent, works for me

Smoothie
30 Dec 2002, 03:02
Originally posted by w596


Here's one for ya. ;)

http://www.truecountry.com/forums/history/index.php Your page took quite a long time to load.

Smoothie
30 Dec 2002, 03:05
SkuZZy-

working like a charm.

http://www.macfora.com/forums/archive/

Quick question as far as submitting the link(s) to google. Do I submit the above link, as well as my forum link (http://www.macfora.com/forums) once I have a link to this archive on my forums page?

SkuZZy
30 Dec 2002, 03:35
Originally posted by Smoothie
SkuZZy-

working like a charm.

http://www.macfora.com/forums/archive/

Quick question as far as submitting the link(s) to google. Do I submit the above link, as well as my forum link (http://www.macfora.com/forums) once I have a link to this archive on my forums page?

Submit the archive link http://www.macfora.com/forums/archive to google and then add a link to your archive from your main page or forums page. This will help your pages get a better PR given to them and thus help your archive pages rank higher in google! It will also help them get spidered faster

DrkFusion
30 Dec 2002, 04:09
Also sometimes, google takes urls that are too far up from the root as un important...there for

domain.com/archive has abetter chance to get indexed, than domain.com/forum/archive

Also here is one, for your new version..
http://www.noxmedia.net/archive/
http://www.noxmedia.net/archive/forum/2.html
http://www.noxmedia.net/archive/thread/34.html
Uses Xenons, but you can use as demo :)

subduck
30 Dec 2002, 04:54
I've tried everything, this simply does not work for me.

Doc203
30 Dec 2002, 05:46
I got it to work, but I am getting this error about the header. Any ideas? Thanks.

Warning: Failed opening 'http://www.SearchForAutoParts.com/forums/archive/header.php' for inclusion (include_path='.:/usr/local/plesk/php/lib/php') in /usr/local/plesk/apache/vhosts/searchforautoparts.com/httpdocs/forum/archive/index.php on line 99

thomas
30 Dec 2002, 10:00
Originally posted by SoloX
just one lil glitch .. it does not browse sub forums ..

Is there any solution for subfora?

DrkFusion
30 Dec 2002, 13:48
Yes, I have hard coded this in to my personal version..I will put it publically on my site to view...it is pretty easy to code in.

cklaszlo
30 Dec 2002, 13:51
1) Can you give me some help on where to put or how to put our Metatags into the Header. I added them and the header is out putting and extra <body> tag. It seams to be creating 2 sets of Tags. 1 from the config and 1 from the header.

2) How do I put a black line box around the entire page so it will match our site. I'd like it to go around the main table.

Thanks.

SkuZZy
30 Dec 2002, 14:35
Just wanted to give a heads up to everyone. I'd recommend anyone planning on installing this hack does it immediately and puts a link to the archive on their main page (or a page that is frequently spidered by google) because... the google dance will be happening in the next 1-3 days. The "google dance" is when google updates all the links and adds new pages. So bottom line, if you get your archive up before the dance, then your archive pages will be in google NEXT dance (only 1 month) but if you miss this dance, then your archive pages might not be in google for 2 months.

freeshares1
30 Dec 2002, 16:11
i am getting the following error any idea's?

Warning: Unable to access ./admin/config.php in /usr/local/psa/home/vhosts/Jokersrewards.com/httpdocs/forum/global.php on line 129

line 129 is this part

// ###################### Start init #######################

unset($dbservertype);
unset($debug);
//load config
require('./admin/config.php');
if ($debug != 1) {
unset($showqueries);
unset($explain);
}

thomas
30 Dec 2002, 16:44
I installed the hack today, at the moment I'm literally invaded by Inktomi's spider (50 instances on Who's Online). How could I get rid of the "Unknown Location: /archive/topic/1250.html" messages displayed by online.php?

David Bott
30 Dec 2002, 19:37
LOL...I would love to do something like this, however, with 1.6 million posts on-line, it could become a server issue in directory storage. Meaning, number of files in one directory. Darn!

David
http://www.avsforum.com

NTLDR
30 Dec 2002, 19:51
It doesn't actually create a file for each thread, it just seems like there are ;)

SkuZZy
30 Dec 2002, 19:54
yeah it doesn't actually create the files. However, your files would still be huge. I am working on releasing the ability to split pages in v3.0. IE: Only 250 threads would be displayed per page, because google only spiders the first 99kb of each page.

juaniquillo
30 Dec 2002, 21:33
Originally posted by SkuZZy
Tommorow, I will be releasing a version that doesn't require mod_rewrite OR .htaccess ;)

The downside to that version will be that URL.s will look like http://www.whatever.com/archive/topic.php/400.html instead of just "topic/400.html". But it still works ;)

Skuzzy & Xenon, thank you so very much for this hack.

Skuzzy, I remember reading somewhere that google doesn't like the slash + something else after a dynamic file extension... ie. slash after abc.php like "abc.php/abc.html"

As a matter of fact, that might be why v.3 new indexing system is not being pickedup by google now. Just thouhgt i'd let you know

Thanks again, this hack is awsome

SkuZZy
31 Dec 2002, 03:30
Originally posted by juaniquillo


Skuzzy & Xenon, thank you so very much for this hack.

Skuzzy, I remember reading somewhere that google doesn't like the slash + something else after a dynamic file extension... ie. slash after abc.php like "abc.php/abc.html"

As a matter of fact, that might be why v.3 new indexing system is not being pickedup by google now. Just thouhgt i'd let you know

Thanks again, this hack is awsome

Yeah, having .php in the URL affects how it's spidered I think. Once vb3 is released, i'll just use mod_rewrite to take the .php out of the vb3 archive, then I will strip the archive down and remove all the pointless javascript junk. Why waste bandwidth on an archive? ???

subduck
31 Dec 2002, 04:28
finally got it to work!
www.subduck.com/history

SkuZZy
31 Dec 2002, 04:37
Originally posted by subduck
finally got it to work!
www.subduck.com/history

Do you mind telling me what the problem was you were having? Other people might be having the same problem. Or if you don't feel like posting it in public, PM it to me ;)

freeshares1
31 Dec 2002, 09:41
Originally posted by freeshares1
i am getting the following error any idea's?

Warning: Unable to access ./admin/config.php in /usr/local/psa/home/vhosts/Jokersrewards.com/httpdocs/forum/global.php on line 129

line 129 is this part

// ###################### Start init #######################

unset($dbservertype);
unset($debug);
//load config
require('./admin/config.php');
if ($debug != 1) {
unset($showqueries);
unset($explain);
}

This is a great hack, Thanks for it i now have it working. I had to to put chdir() bit in the config file instead of the full path.

subduck
31 Dec 2002, 10:32
Originally posted by SkuZZy


Do you mind telling me what the problem was you were having? Other people might be having the same problem. Or if you don't feel like posting it in public, PM it to me ;)

I just made a few changes.
I removed chdir(..) from topic and forum.

And I replaced the first line in the configuration file with these:
chdir("../vb");
require("global.php");
chdir("../history");

Nice script by the way, too bad I missed google by a day :(

SkuZZy
31 Dec 2002, 15:40
Originally posted by subduck


I just made a few changes.
I removed chdir(..) from topic and forum.

And I replaced the first line in the configuration file with these:
chdir("../vb");
require("global.php");
chdir("../history");

Nice script by the way, too bad I missed google by a day :(

Google hasn't started dancing yet, so they will be back in the next couple of days.

pseudocode
31 Dec 2002, 16:44
I'm getting closer but still have a couple of problems. I get the following where the header and footer ought to go:

Warning: Failed opening 'http://64.224.111.213/forums/archive/header.php' for inclusion (include_path='.;c:\php4\pear') in D:\64.224.111.213\forums\archive\index.php on line 99

Also, the links to my forums don't work. I get a 404 error.

Any suggestions would be appreciated. I'd really like to get this hack working. Its a great idea!

codewebs
31 Dec 2002, 20:22
i get a blank page, and im sure the paths are right

my readme says i have 2.1, but my index.php says 2.0

NTLDR
31 Dec 2002, 20:54
Originally posted by pseudocode
Warning: Failed opening 'http://64.224.111.213/forums/archive/header.php' for inclusion (include_path='.;c:\php4\pear') in D:\64.224.111.213\forums\archive\index.php on line 99

You can't use URL's as paths, they must be the path to the file on the server, eg /home/site/public_html or C:/Apache/htdocs

codewebs
01 Jan 2003, 06:36
i think google has started now, because google bot has come to my forums 5 times today, so as looksmart :/ too bad my archive doesnt work owell :'(

http://www.codewebs.com/wow.jpg

Guidster
01 Jan 2003, 07:22
Is there any way to get the hack to penetrate deeper into the forums? I have a ton of forums that are categorized and unless I want to subject the user to a mile long forum home page by specifying a depth of 2, the archive does not supply much as when the links are hit, I get no data.

Here is my site as an example: The 4 stroke forum is many levels deep....

http://www.allthingsmoto.com/archive

Thanks

codewebs
01 Jan 2003, 08:50
i finally got mine to work, after using a previously explained thing.

http://www.codewebs.com/forums/archive/

although i had to add some stuff to make the meta tags work right, and it be truly "friendly" according to the test things that will look at it.

codewebs
01 Jan 2003, 10:02
now how do i make it not say unknown location :-/ I have the hack that lets you add new locations but this is different :( sigh

ZaonDude
01 Jan 2003, 21:51
Couple of things, as I'm new here, ... but first: great hack! Thank you!

I received an identical error as freeshares1 did (the global.php unable to access the admin/config.php file) and solved it the same way by changing the full server UNC path to:
chdir("../forums");
require("global.php");



Second item... and I don't know if this was something peculiar to just my server or not, but the archives were displaying uber slow. I tried changing the 'include' command for the header/footer lines from:
include "$archiveurl/footer.php";
to:
readfile("http://www.yoursite.com/archives/header.txt");
(notice that i renamed the actual header.php file to header.txt). And, all of a sudden the whole archives site display became lightning quick! Not sure what that was about, but I wasn't familiar with the include command and I was with the readfile command which allowed web URLs, which is why I tried it. Again, not sure if the massive difference in speed was unique to my site or not.


Third item is that I'd like the order of threads displayed sticky first followed by most recent and ending with the oldest thread instead of the other way around... Is this what I change in the forum file:
$getthreadids=$DB_site->query("
SELECT
thread.threadid,thread.title
FROM thread
WHERE thread.forumid = $forumid
AND thread.visible=1
ORDER BY sticky DESC, lastpost
");

?? Do I change the 'DESC' to 'ASC' or something? Or, is it more complicated than that?


The last question/issue I have is with the main index.php display of the forums table. The individual forums (forums that contain threads) link properly and perfectly. However, the forum Groups (the non-indented titles that have indented forums beneath them) link to a blank page containing only part of my header/footer and no data. Everything else links/works great. Is there any way to fix this or better yet have only Group titles be plain text instead of hyperlinked?


Thanks, SkuZZy!!

Guidster
01 Jan 2003, 22:55
Originally posted by ZaonDude
Couple of things, as I'm new here, ... but first: great hack! Thank you!

I received an identical error as freeshares1 did (the global.php unable to access the admin/config.php file) and solved it the same way by changing the full server UNC path to:
chdir("../forums");
require("global.php");



Second item... and I don't know if this was something peculiar to just my server or not, but the archives were displaying uber slow. I tried changing the 'include' command for the header/footer lines from:
include "$archiveurl/footer.php";
to:
readfile("http://www.yoursite.com/archives/header.txt");
(notice that i renamed the actual header.php file to header.txt). And, all of a sudden the whole archives site display became lightning quick! Not sure what that was about, but I wasn't familiar with the include command and I was with the readfile command which allowed web URLs, which is why I tried it. Again, not sure if the massive difference in speed was unique to my site or not.


Third item is that I'd like the order of threads displayed sticky first followed by most recent and ending with the oldest thread instead of the other way around... Is this what I change in the forum file:
$getthreadids=$DB_site->query("
SELECT
thread.threadid,thread.title
FROM thread
WHERE thread.forumid = $forumid
AND thread.visible=1
ORDER BY sticky DESC, lastpost
");

?? Do I change the 'DESC' to 'ASC' or something? Or, is it more complicated than that?


The last question/issue I have is with the main index.php display of the forums table. The individual forums (forums that contain threads) link properly and perfectly. However, the forum Groups (the non-indented titles that have indented forums beneath them) link to a blank page containing only part of my header/footer and no data. Everything else links/works great. Is there any way to fix this or better yet have only Group titles be plain text instead of hyperlinked?


Thanks, SkuZZy!!

For the last item, I had to change the manner that my forums were displayed on the page and make a modification to the index.php file. My forum depth is set to one, but I have many subforums. I used to use a category-->Category-->forum format, but got blank paged like you. Now, I have a Forum-->Category-->Forums Hierarch where the catogories and the forums are subbed to only the top fourm. Here is an example:


Old Format:
4 Stoke Forum--> Used to be a category
Yamaha--Category
YZ426 Actual Forum.

In its original form, only the 4 stroke forum was listed and resulted in blank pages when clicked.

Here is the new format:

4 Stroke Forum-->Acts as a Forum
Yamaha--->Category
YZ 426--Acts as a forum. Note that this is NOT a sub of Yamaha any longer

Coupled with the following change to the index.php file, I have complete indexing of the site!

if ($depth<$forumhomedepth+1) {
echo "<ul>";
makeforumbit($forum['forumid'],$depth+3,$forumperms);
echo "</ul>";
Good Luck

Angelus
02 Jan 2003, 04:19
It's a very cool hack. And he is runing perfect
Thanks

w596
02 Jan 2003, 13:47
Wow! My site was being spidered for several hours this morning. I can't wait to see the listings. :D

Thanks for the cool hack Xenon and SkuZZy

This hack Rocks!!!

pseudocode
02 Jan 2003, 15:42
OK. Got my header and footer to display properly. But, still haven't been able to get the links to work. Still get an HTTP404 error. Any suggestions as to where I might look? Thanks!!

thomas
02 Jan 2003, 16:14
The hack is working fine for me, but I am still wondering how to display subfora.

pseudocode
02 Jan 2003, 18:35
Originally posted by pseudocode
OK. Got my header and footer to display properly. But, still haven't been able to get the links to work. Still get an HTTP404 error. Any suggestions as to where I might look? Thanks!!

Anyone? Anyone? Bueller?

SkuZZy
02 Jan 2003, 21:22
Originally posted by pseudocode


Anyone? Anyone? Bueller?

Which links? Can you provide a URL to your archive and if possible paste your config.php file here. Did you upload the .htaccess file?

SkuZZy
02 Jan 2003, 21:24
Congrats to all who got majorly spidered :)

Google dance is happening now. You can still get spidered though. The main google spider usuaully happenjs 5 days after the dance begins, so get your archive up before the 5th of january and you will have a good chance at getting your posts included in the next google update! (end of january).

freeshares1
02 Jan 2003, 21:42
Originally posted by SkuZZy


Which links? Can you provide a URL to your archive and if possible paste your config.php file here. Did you upload the .htaccess file?

URL

www.jokersrewards.com/forum/history

Config (well the important bits) I hope this helps a couple of people.

Please edit if i am not allowed to post the below.



// Full PATH to your global.php file
chdir("../");
require("global.php");
$title="Jokers Rewards";
$forumurl="http://www.jokersrewards.com/forum";
$archiveurl="http://www.jokersrewards.com/forum/history";

SkuZZy
02 Jan 2003, 21:51
What's the problem freeshares? The links are working fine.

jbourke
02 Jan 2003, 22:02
I installed this hack and am getting a 404 error whever I click on a forum...

http://rcgroups.com/archive/

It looks like I'm not alone. Is this possibly due to some apache redirect?

Jim

jbourke
02 Jan 2003, 22:13
So there will be no question about my configuration, I copied the "forum" file to "forum.php".

The following link works: http://www.rcgroups.com/archive/forum.php/17.html

But this does not: http://www.rcgroups.com/archive/forum/17.html

So I think there must be some setting that governs what kinds of files are processed by the php engine. Can anyone help me with this?

Jim

SkuZZy
02 Jan 2003, 22:24
Originally posted by jbourke
So there will be no question about my configuration, I copied the "forum" file to "forum.php".

The following link works: http://www.rcgroups.com/archive/forum.php/17.html

But this does not: http://www.rcgroups.com/archive/forum/17.html

So I think there must be some setting that governs what kinds of files are processed by the php engine. Can anyone help me with this?

Jim

It's an .htaccess problem.

Did you upload the included .htaccess file to the directory? That is what forces the "forum" file into php mode. If you're running apache, should be no problems. If you have uploaded the .htaccess file and it's still not working, then try uploading the .htaccess file into your root directory (lowest directory you can go to) being careful not to overwrite any existing .htaccess file. You may just want to append it to the exisiting one.

jbourke
02 Jan 2003, 22:38
Hmmm...it's probably something simple, but I'm stumped.

The .htaccess file is in the proper place. I've played with the permissions and ownership of the file but haven't had any luck.

Jim

freeshares1
03 Jan 2003, 12:04
Originally posted by SkuZZy
What's the problem freeshares? The links are working fine.

I didnt have a problem, I was just posting it so that it might help some others.

It works great and thanks for sharing this hack. :p

Carsten
03 Jan 2003, 16:48
Originally posted by jbourke
I installed this hack and am getting a 404 error whever I click on a forum...

I have the same problem.
Originally posted by SkuZZy


It's an .htaccess problem.

Did you upload the included .htaccess file to the directory? That is what forces the "forum" file into php mode. If you're running apache, should be no problems. If you have uploaded the .htaccess file and it's still not working, then try uploading the .htaccess file into your root directory (lowest directory you can go to) being careful not to overwrite any existing .htaccess file. You may just want to append it to the exisiting one.
The .htaccess file is in the directory and also in the root directory.
I'm running Apache 1.3.27

jbourke
03 Jan 2003, 20:52
Ok, I figured it out.

The issue is that the directory has to have "AllowOverride" set for the archive directory. This needs to be done within the httpd.conf file.

Some people here are probably using virtual hosts and they tend to set up their servers so that users can override options in any directory. Apparently the default apache installation doesn't do this.

A couple of links I found helpful while researching this:
http://httpd.apache.org/docs-2.0/howto/htaccess.html
http://httpd.apache.org/docs-2.0/stopping.html

This is a great hack!

Jim

Guidster
04 Jan 2003, 16:41
Originally posted by SkuZZy
Congrats to all who got majorly spidered :)

Google dance is happening now. You can still get spidered though. The main google spider usuaully happenjs 5 days after the dance begins, so get your archive up before the 5th of january and you will have a good chance at getting your posts included in the next google update! (end of january).

What exactly is the Google dance? I saw the Goggle bot feel me out last night by looking only for the robots.txt and nothing else. Is this the "dance" before I get nailed and indexed by them? I sure hope so! Great Hack by the way!

cobradude
05 Jan 2003, 01:07
I'm using w2k & IIS. My archives show top level only, but when clicking on one of the links, I get a 404 file not found error, which I would assume has to do with the files with no extensions not executing as php (limitation due to .htaccess not working).

Is there a work around for this on iis?

Thanks for any help.

Guidster
05 Jan 2003, 05:39
Originally posted by thomas
The hack is working fine for me, but I am still wondering how to display subfora.

Go back and read my posts on how I got subforums to display.

keress
05 Jan 2003, 15:28
I'm just now looking at this and have maybe a stupid question. If I set up this archive and that's what Google archives, how will people be redirected to the actual forum? Sorry if I've missed something that's already explained here.

GlitterKill
05 Jan 2003, 15:55
Finally got it to work...

http://www.pimprig.com/forums/archive

THANKS!

pseudocode
05 Jan 2003, 16:08
Originally posted by SkuZZy


Which links?

The links to the forums and topics on the archive page.

Originally posted by SkuZZy
Can you provide a URL to your archive and if possible paste your config.php file here. ]

64.224.111.213/forums/archive (http://64.224.111.213/forums/archive)

config.php:

<?php

##############################################################
### vB Easy Archive v2.1 - Released on December 29th, 2002 ###
## Scripts created by Xenon and modified/released by SkuZZy ##
### Copyright info MUST stay on the bottom of all scripts ####
#### Visit http://www.vbulletin.org for updated versions! ####
##############################################################

// Full PATH to your global.php file

chdir("../");
require("global.php");


// Title of your website/forums... used for <title> tags on most pages

$title="Georgia Sportbike Association";

// Forums URL - Directory your vbulletin forums are in (NO TRAILING SLASH!)

$forumurl="http://64.224.111.213/forums";

// Archive URL - The location of these scripts (NO TRAILING SLASH!)

$archiveurl="http://64.224.111.213/forums/archive";

?>


I also tried it with absolute paths for the $forumurl and $archiveurl variables.

Originally posted by SkuZZy
[B]Did you upload the .htaccess file?

Yes I did.

Thanks for your help!

hamed
05 Jan 2003, 16:13
Very nice hack. Thanks many thanks.

thomas
05 Jan 2003, 16:14
Originally posted by Guidster
Go back and read my posts on how I got subforums to display.

Sorry, I completely missed your post. Much obliged!

hamed
05 Jan 2003, 16:27
Is it possible to activate VB codes in archive files?

DrkFusion
05 Jan 2003, 16:49
Wierd, why did google not index all my archive? Just the front page :(

cobradude
05 Jan 2003, 18:25
Originally posted by cobradude
I'm using w2k & IIS. My archives show top level only, but when clicking on one of the links, I get a 404 file not found error, which I would assume has to do with the files with no extensions not executing as php (limitation due to .htaccess not working).

Is there a work around for this on iis?

Thanks for any help.

Anyone?

NTLDR
05 Jan 2003, 18:31
Thank you so much for this hack SkuZZy, google seems to be enjoying itself on my site :D

pseudocode
05 Jan 2003, 20:16
Originally posted by cobradude

I'm using w2k & IIS. My archives show top level only, but when clicking on one of the links, I get a 404 file not found error, which I would assume has to do with the files with no extensions not executing as php (limitation due to .htaccess not working).

Is there a work around for this on iis?

Thanks for any help.

My problem exactly! And when I try to execute forum and topic as php's (ex. http://64.224.111.213/forums/archive/forum.php/15.html,) I get a CGI error:

"The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:"

I'm not well-enough versed to figure this out on my own. So - all help is welcome. Thanks!

crocket
05 Jan 2003, 21:20
ok my sub links arnt working it indexes the first page.. but then after that it comes up with 404 errors..

ive done the override acess thing in apache still aint working :(

http://www.lcdmod.com/forums/archive

Thanx
Crocket

SkuZZy
05 Jan 2003, 23:31
Originally posted by NTLDR
Thank you so much for this hack SkuZZy, google seems to be enjoying itself on my site :D

Great to hear ;) Wait until when google updates at the end of the month, your forums will be swarming with users ;)

SkuZZy
05 Jan 2003, 23:32
Originally posted by pseudocode


My problem exactly! And when I try to execute forum and topic as php's (ex. http://64.224.111.213/forums/archive/forum.php/15.html,) I get a CGI error:

"The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:"

I'm not well-enough versed to figure this out on my own. So - all help is welcome. Thanks!

Sounds like you're running PHP in CGI mode?I don't think my hack will work in that conditions. I haven't tested it for that. Sorry.

SkuZZy
05 Jan 2003, 23:33
Originally posted by DrkFusion
Wierd, why did google not index all my archive? Just the front page :(

Perhaps too much javascript or something. Google didnt spider vbulletin.com's archive either, been 2 months now. So that says something :/ *cough* vb3s new archive is useless. If you copied their code, then maybe that's the reason why google isn't spidering your site too

SkuZZy
05 Jan 2003, 23:34
Originally posted by hamed
Is it possible to activate VB codes in archive files?

vb code is activated automatically in the archive. Everything works properly (colors, sizes, ect.).

SkuZZy
05 Jan 2003, 23:40
Jborque posted a good fix for this. It has something to do with http.conf:

Ok, I figured it out.

The issue is that the directory has to have "AllowOverride" set for the archive directory. This needs to be done within the httpd.conf file.

Some people here are probably using virtual hosts and they tend to set up their servers so that users can override options in any directory. Apparently the default apache installation doesn't do this.

A couple of links I found helpful while researching this:
http://httpd.apache.org/docs-2.0/howto/htaccess.html
http://httpd.apache.org/docs-2.0/stopping.html

This is a great hack!

Jim

Hope this helps you.
SkuZZy


Originally posted by pseudocode


The links to the forums and topics on the archive page.



64.224.111.213/forums/archive (http://64.224.111.213/forums/archive)

config.php:



I also tried it with absolute paths for the $forumurl and $archiveurl variables.



Yes I did.

Thanks for your help!

codewebs
05 Jan 2003, 23:52
google always goes to my forums, but it usualy goes to like the register page, and not my archive even though i have links to my archive on the main page :(

SkuZZy
05 Jan 2003, 23:57
Originally posted by codewebs
google always goes to my forums, but it usualy goes to like the register page, and not my archive even though i have links to my archive on the main page :(

It WILL eventually. Google doesn't deep spider until certain parts of the month. Just wait. Google usually deep spiders 5 days after the dance and it started on the 1st. So that says it all ;)

Guidster
06 Jan 2003, 04:00
Originally posted by thomas


Sorry, I completely missed your post. Much obliged!

Did it work? Google appears to be gearing up!

Smoothie
06 Jan 2003, 06:33
google is attacking my site. :)

Guidster
06 Jan 2003, 15:18
Originally posted by Smoothie
google is attacking my site. :)

Ditto here! Google is gorging on my site! Great hack, Skuzzy! Thank you very much!

cklaszlo
06 Jan 2003, 15:27
Me too. Very cool. For two days now. And now Inktomi is sending its bots.

crocket
06 Jan 2003, 15:30
If only i could get it to work :(

My sub Forums thingys arnt working :(

Ive done the allow overright but still doesnt work?

Overgrow
06 Jan 2003, 15:59
Much better than my previous version.. bravo!

crocket
06 Jan 2003, 16:03
I guess the HT Access thingys working

because it parses the forum and topic files...

http://www.lcdmod.com/archive/forum
http://www.lcdmod.com/archive/topic

but none of the links to the sub forums are working!

http://www.lcdmod.com/archive/
http://www.lcdmod.com/archive/forum/4.html

Have i done something wrong?!

Thanx
Crocket!

codewebs
06 Jan 2003, 20:08
blah again and agian going to one page and stopping:(

Guest Viewing FAQ 04:00 PM crawl4.googlebot.com

crocket
06 Jan 2003, 20:39
codewebs it does work?

http://forums.codewebs.com/archive/

works for me unless i have the wrong forum!

codewebs
06 Jan 2003, 20:54
it works just the bot never goes to it :( google visits me almost every other day, but goes to one page on the forums then stops, hopefully the next round of the "dance" will get google to my archives.

NTLDR
06 Jan 2003, 21:01
Codewebs, try also submitting the URL to your achive as well as your site, I've done that, also perhaps changing you link from .. to some text, I've got it as text thats the same as the background colour so users can't see it.

codewebs
06 Jan 2003, 21:29
other than being .. theres a link to both the archives at the bottom of the pages, but ill try that out too

O :p how do you change the color of just those links and not the rest ? thanx

NTLDR
06 Jan 2003, 21:52
Use something like:

<a href="link to archive"><smallfont color="#HEX Color Code">Archive</smallfont></a>

codewebs
06 Jan 2003, 22:08
ok thank you soo much, that worked perfectly :)

tpearl5
06 Jan 2003, 23:11
Guidster, I know you said you got subforums working, but I'm not getting something right, and I don't want to change anything around with the way my forums are setup.

Is there another way to get subforums to work?

Guidster
07 Jan 2003, 04:55
Originally posted by tpearl5
Guidster, I know you said you got subforums working, but I'm not getting something right, and I don't want to change anything around with the way my forums are setup.

Is there another way to get subforums to work?

The only way to get the archive to display subforums and the topics that I found was to do as I did. Did you go have a look?

Google has nailed me down 3 levels today, so i know that I am in business. Fun to watch, funny how it progresses!

Guidster
07 Jan 2003, 04:59
Originally posted by NTLDR
Codewebs, try also submitting the URL to your achive as well as your site, I've done that, also perhaps changing you link from .. to some text, I've got it as text thats the same as the background colour so users can't see it.

In my reading, I thought that matching your link color to the background was taboo and could result in them not indexing you if caught?? I kept it visible for that reason.

subduck
07 Jan 2003, 06:10
Originally posted by Guidster


In my reading, I thought that matching your link color to the background was taboo and could result in them not indexing you if caught?? I kept it visible for that reason.

It is, and it's also looked down upon.

SkuZZy
07 Jan 2003, 07:06
Originally posted by Guidster


In my reading, I thought that matching your link color to the background was taboo and could result in them not indexing you if caught?? I kept it visible for that reason.

Google will ban you if you use invisible text or links. This means using text that is, in theory, "invisible". Just add a normal link to the archive. If you try and make it the same color as your background, you'll get banned

tpearl5
07 Jan 2003, 07:42
Originally posted by Guidster


The only way to get the archive to display subforums and the topics that I found was to do as I did. Did you go have a look?

Google has nailed me down 3 levels today, so i know that I am in business. Fun to watch, funny how it progresses!

I still don't understand how you did it though.. humm.. crap, time is running out.. google has been happily wondering through my site all day.

crocket
07 Jan 2003, 09:53
Is there a way to check wether the override all setting is working?

Im sureits set ok, but i get 404 errors when i click on a link?

i really want this working :) But no joy so far!

http://www.lcdmod.com/archive

I don't want to keep asking for help and this shall be my last post asking :D :bunny:

codewebs
07 Jan 2003, 11:30
well mines visible just in case :P :)

hamed
07 Jan 2003, 12:13
Is it possible to activate VB codes in archive pages?

Thanks again SkuZZy. Google and some other search eangines are having a nice time on my forums :banana: .

cklaszlo
07 Jan 2003, 13:32
Yet a 4th day now of getting crawled! 50 Guests on our boards and they are all Google. (http://www.thrillnetwork.com/boards/online.php)

I submitted our main site, the archive and also have links to the archive in our main footers and in our main navigation off of the index page. I think this is why it worked.

A few questions:

When does Google add the crawl to their index?

How do I add a black border around the main table? I want the archive to match our site.

Thanks!

NTLDR
07 Jan 2003, 13:46
Originally posted by SkuZZy
Google will ban you if you use invisible text or links. This means using text that is, in theory, "invisible". Just add a normal link to the archive. If you try and make it the same color as your background, you'll get banned

I'll take your work for it, I've never seen that anywhere, I submitted the archive URL anyway as well as my main site. Thanks for the info though :)

codewebs
07 Jan 2003, 21:35
I seem to have the worst luck :( my server load was going up to around 20, then mr. google bot decided to visit my forums :( what do you know, he went to my archive, the server load cept rising and the server crashed/ wenst really slow after the load past 60 :(

codewebs
08 Jan 2003, 00:10
sorry to keep responding but my internet went down and when it came back :) !!

Guest Unknown Location: /archive/topic/39.html? 08:00 PM 216.239.46.82
Guest Unknown Location: /archive/topic/15.html? 08:00 PM 216.239.46.27

(google bots)

EDIT: Still going :) !!!

Guidster
08 Jan 2003, 03:45
Originally posted by tpearl5


I still don't understand how you did it though.. humm.. crap, time is running out.. google has been happily wondering through my site all day.

Have you went to my site to have a look and compare it to the archive? Also, send me a link to yours and I will swing by and have a peek.

www.allthingsmoto.com

SkuZZy
08 Jan 2003, 06:45
Originally posted by hamed
Is it possible to activate VB codes in archive pages?

Thanks again SkuZZy. Google and some other search eangines are having a nice time on my forums :banana: .

VB code is activated automatically... and your welcome ;)

SkuZZy
08 Jan 2003, 06:50
Originally posted by cklaszlo
Yet a 4th day now of getting crawled! 50 Guests on our boards and they are all Google. (http://www.thrillnetwork.com/boards/online.php)

I submitted our main site, the archive and also have links to the archive in our main footers and in our main navigation off of the index page. I think this is why it worked.

A few questions:

When does Google add the crawl to their index?

How do I add a black border around the main table? I want the archive to match our site.

Thanks!

Nice job! It's good to submit your archive and add a link to it.

Google will add pages at the end of the month. The main spidering happens 5 days after the dance. The dance is when google updates all links and adds newly spidered pages. The dance this month was January 1st. So spidering happens between the 5th and 10th. All the pages spidered between the 5th and 10th will be added on the next dance, which will happen at the end of January or maybe very early febuary. So to answer your question, in about 3 weeks a ++++ load of your pages will be spidered.

On this note, i'd like to add one more thing. Not all your pages will be added to google at once. They only add a certain percentage per month to prevent spamming. I think it's like 2000 pages per month available to be added. (Each thread counts as 1 page). So about 2000 of your threads will get put in google the first month. Be patient though, the next month will get even more added!

SkuZZy

SkuZZy
08 Jan 2003, 06:53
Originally posted by NTLDR


I'll take your work for it, I've never seen that anywhere, I submitted the archive URL anyway as well as my main site. Thanks for the info though :)

If you really need to use a color similiar, then use one that is very light. For instance, use #111111 on a #000000 background and it will be hardly noticable. But don't make it like #000000 and #000001 .... cause even though google can't tell, if someone reports it to google you will get banned. It's up to you and the chances you want to take ;)

BTW, I like your avatar. Is that you? Or is it one of the three sisters or whatever.

cklaszlo
08 Jan 2003, 13:34
Originally posted by SkuZZy


Nice job! It's good to submit your archive and add a link to it.

Google will add pages at the end of the month. The main spidering happens 5 days after the dance. The dance is when google updates all links and adds newly spidered pages. The dance this month was January 1st. So spidering happens between the 5th and 10th. All the pages spidered between the 5th and 10th will be added on the next dance, which will happen at the end of January or maybe very early febuary. So to answer your question, in about 3 weeks a ++++ load of your pages will be spidered.

On this note, i'd like to add one more thing. Not all your pages will be added to google at once. They only add a certain percentage per month to prevent spamming. I think it's like 2000 pages per month available to be added. (Each thread counts as 1 page). So about 2000 of your threads will get put in google the first month. Be patient though, the next month will get even more added!

SkuZZy

Good to know. Thanks. Now, not that I am complaining but this is now day 5 and crawl.googlebot.com is back at it. For about 4 hours this morning. How many days, on average, will it crawl? And , :D ad revenue page views!!!

Now if someone would only help me in placing a black border around the archive links. hint hint.

Thanks,

Alex

hamed
08 Jan 2003, 14:15
Originally posted by SkuZZy


VB code is activated automatically... and your welcome ;)

Thank you for your reply. But some parts of it are not working. Like IMG tags and links.

Tanx again. This hack is the best vb archive system ever :) .

cklaszlo
08 Jan 2003, 14:22
Originally posted by hamed


Thank you for your reply. But some parts of it are not working. Like IMG tags and links.

Tanx again. This hack is the best vb archive system ever :) .

For us as well. VB code isn't working:

http://www.thrillnetwork.com/boards/archive/topic/3616.html?

Thanks,

Alex

NTLDR
08 Jan 2003, 16:05
Originally posted by SkuZZy
If you really need to use a color similiar, then use one that is very light.

Thanks, I've changed it to the same colour as my footer text, while were on this kin d of subject, I modified the archive so that if it dedects MSIE or Mozilla in the User Agent then it redirects to the actual page (eg showthread.php?threadid=X), would you suggest that I remove that code? I'm not sure if google would look down on that too, I'm guessing they would.

BTW, I like your avatar. Is that you? Or is it one of the three sisters or whatever.

*lol* Unfortunaly its not me, wrong gender for starters ;) Its Rose McGowan who plays Paige in Charmed.

Mutt
08 Jan 2003, 19:40
Originally posted by Velocd
For those of you having chdir() problems, the only code you should need inside the chdir() is the following:


chdir("../forums");
require("global.php");



I was getting the blank page too, but this fixed it. Thanks

Mutt
08 Jan 2003, 20:32
Originally posted by NTLDR
I modified the archive so that if it dedects MSIE or Mozilla in the User Agent then it redirects to the actual page

mind sharing the code changes

I changed a line in topic from this
echo "<html><body><head><title>[$thread[title]] - $title</title></head><base href=\"$forumurl/\">";
to this
echo "<html><body><head><title>[$thread[title]] - $title</title>
<script>
var browser_type=navigator.appName
if (browser_type==\"Netscape\"||browser_type==\"Microsoft Internet Explorer\") {
window.location.replace(\"$forumurl/showthread.php?s=&threadid=$thread[threadid]\")
}
</script>
</head><base href=\"$forumurl/\">";

It seems to work, but will this screw up the search spidering?

NTLDR
08 Jan 2003, 22:22
Google has been on my site browsing through the archive with no problems, its just the issue of wether or not they allow it. Heres the changes I made:

index.php right after you have required config.php add:

// check the browser and redirect if needed
if (eregi("MSIE",$HTTP_USER_AGENT)) { // browser is IE
header("Location: $forumurl");

} elseif (eregi("Mozilla/5.0",$HTTP_USER_AGENT)) { // browser is NS 6
header("Location: $forumurl");

} elseif (eregi("Mozilla/4.",$HTTP_USER_AGENT)) { // browser is NS4
header("Location: $forumurl");
}

topic again add after requiring config.php:

// check the browser and redirect if needed
if (eregi("MSIE",$HTTP_USER_AGENT)) { // browser is IE
header("Location: $forumurl/showthread.php?threadid=$threadid");

} elseif (eregi("Mozilla/5.0",$HTTP_USER_AGENT)) { // browser is NS 6
header("Location: $forumurl/showthread.php?threadid=$threadid");

} elseif (eregi("Mozilla/4.",$HTTP_USER_AGENT)) { // browser is NS4
header("Location: $forumurl/showthread.php?threadid=$threadid");
}

And forum (as above for code placement):

// check the browser and redirect if needed
if (eregi("MSIE",$HTTP_USER_AGENT)) { // browser is IE
header("Location: $forumurl/forumdisplay.php?forumid=$forumid");

} elseif (eregi("Mozilla/5.0",$HTTP_USER_AGENT)) { // browser is NS 6
header("Location: $forumurl/forumdisplay.php?forumid=$forumid");

} elseif (eregi("Mozilla/4.",$HTTP_USER_AGENT)) { // browser is NS4
header("Location: $forumurl/forumdisplay.php?forumid=$forumid");
}

codewebs
08 Jan 2003, 22:29
isnt that called like mirroring or masking or something? (google spent 5 hours on my archive yesterday :))

codewebs
08 Jan 2003, 22:39
heres the answers: (off google.com)

Quality Guidelines - Specific recommendations:

Avoid hidden text or hidden links.
Don't employ cloaking or sneaky redirects.
Don't send automated queries to Google.
Don't load pages with irrelevant words.
Don't create multiple pages, subdomains, or domains with substantially duplicate content.
Avoid "doorway" pages created just for search engines, or other "cookie cutter" approaches such as affiliate programs with little or no original content


EDIT: Im getting spidered again!!! also i added another hack so threads and forums are .html and google is liking it.

NTLDR
08 Jan 2003, 22:41
Thanks codewebs, do you have a link to that page? I looked for guidelines but couldn't find them!

I think I'll remove the redirects based on browsers to be sure :)

codewebs
08 Jan 2003, 22:45
it wasnt the easiest website to navigate :)

http://www.google.com/webmasters/guidelines.html

NTLDR
08 Jan 2003, 22:48
*lol* I must agree there :)

Thanks for the link :D

crocket
09 Jan 2003, 11:51
Ive managed to get a local server going with PHP and that lot.. anyway i set the override and that to all and im still getting 404 errors.

The first page shows fine but when i click a link it comes up with an error..

?! Help!

Thanx

SkuZZy
09 Jan 2003, 16:56
I just started a few days ago with this new pop up program called http://popupsponsor.cjb.net. I just wanted to let you guys know, there is an easy way to make money using this archive. Not only is it good for getting more traffic to your forums, but making money with it too? :D Since all the traffic coming in is from search engines, most of it is unique and this pop up company pays $5.00 per 1000 unique visitors. Also, putting pop-up windows on your archive won't affect your actual forum. I said i'd never put pop ups on my forums, cause my loyal members shouldn't have to deal with them... so I put them on the archive instead. Right nowi 'm making like $10-15 a day. From everyone i've heard, they pay on time. They are pretty reputable.

You can sign up at http://popupsponsor.cjb.net (forwards straight to signup form)

SkuZZy
09 Jan 2003, 17:10
Originally posted by cklaszlo


Good to know. Thanks. Now, not that I am complaining but this is now day 5 and crawl.googlebot.com is back at it. For about 4 hours this morning. How many days, on average, will it crawl? And , :D ad revenue page views!!!

Now if someone would only help me in placing a black border around the archive links. hint hint.

Thanks,

Alex

I think NTLDR's archive has black border around it (erm, or one of the demos). Check it out. I'm no HTML pro :/ And for making ad revenue, check my post right above this one... about making money. There is a good way to make money with this archive $$ :D

cono
09 Jan 2003, 17:11
i get a blank screen? i have the corrent path to the global.php but it doesnt work.

i dont have mod overright. any ideas on what i should try?

here is the url to the archive...
http://www.source-forums.org/vbb/archive/

Smoothie
09 Jan 2003, 19:09
Is there a way to change the script so that when you click on a category link you don't get a blank page?

cono
10 Jan 2003, 01:07
ok got it to work perfect! thanks for the great hack.

this is what made the diffrence.
// Full PATH to your global.php file
chdir("../");
require("global.php");
$title="Jokers Rewards";
$forumurl="http://www.jokersrewards.com/forum";
$archiveurl="http://www.jokersrewards.com/forum/history";

you can add me to the lis as well
http://www.source-forums.org/vbb/archive/index.php

:banana:

TECK
10 Jan 2003, 03:22
I finished my own version, very similar to VB3 one. Is designed as an add-on for vbHome (lite).
Still working on few minor bugs related to no permission page but the engine is ready to start. :)
http://www.teckwizards.com/archives.php

SkuZZy
10 Jan 2003, 16:27
Originally posted by cono
ok got it to work perfect! thanks for the great hack.

this is what made the diffrence.


you can add me to the lis as well
http://www.source-forums.org/vbb/archive/index.php

:banana:

Looks great, I like the sub forums mods. Good job ;) Added to the list!

cono
10 Jan 2003, 17:31
how could i get the header and footer to look like the rest of the board? is there anything i can do to make it fit right in? or do i have to mimic the template useing a custom html to make it look close to the boards style?

thanks, great job on this hack! probally the best one of the year... so far LOL

NTLDR
10 Jan 2003, 17:38
@cono The quickest way would be too copy the HTML directly from viewing the forums and add it to header.php

@SkuZZy you can add me to the list too if you want (http://www.thesistersthree.com/archive) Works well as a text only version of the site and sub forums seem to work now too :$

cklaszlo
10 Jan 2003, 18:13
ours has crashed. We rebuilt our server. Linux Redhat 8.0 and now the script doesn't work. any suggestions?

http://www.thrillnetwork.com/boards/archive/

All the paths are the same. and the index page pulls up it just doesn't parse any of the forum pages.

Is this an Apache thing? Permissions? Very odd.

subduck
10 Jan 2003, 19:06
You can add me to the list if you like :)

www.subduck.com/history

nice hack!

Destee
10 Jan 2003, 19:21
Thank you for sharing this hack Xenon and SkuZZy.

The installation went well and appears to be working properly.
http://www.destee.com/forums/archives

I noticed that there are many posts in this thread where folk
talk about Google spidering their archives/history ... yet when
I did a search on "modified/released by SkuZZy" ... I was returned
only 242 results <??>.

Thanks Again ... Clicking Installed.

Destee

NTLDR
10 Jan 2003, 19:24
Originally posted by Destee
I noticed that there are many posts in this thread where folk
talk about Google spidering their archives/history ... yet when
I did a search on "modified/released by SkuZZy" ... I was returned
only 242 results

Most of the sites that have been crawled by google probably haven't been added to the index yet.

Destee
10 Jan 2003, 19:37
NTLDR ... Okay, Thanks.

Destee

ladyfyre
11 Jan 2003, 00:26
well granted, my forums have a lot of hacks installed, but despite having checked, double checked, and triple checked the path for global.php, i am still getting a blank screen. Any ideas?

SkuZZy
11 Jan 2003, 08:41
Originally posted by Destee
Thank you for sharing this hack Xenon and SkuZZy.

The installation went well and appears to be working properly.
http://www.destee.com/forums/archives

I noticed that there are many posts in this thread where folk
talk about Google spidering their archives/history ... yet when
I did a search on "modified/released by SkuZZy" ... I was returned
only 242 results <??>.

Thanks Again ... Clicking Installed.

Destee

I really must say, I love your archive. Nice job styling it! Added you to the top of the list ;)

Like NTLDR mentioned, it takes google a few weeks to update all pages. No pages should even be in google as of now and they will be gone with the next few days (what you're seeing is called everflux). At the end of the month however, there should be alot ;)

Thanks for installing the hack.

SkuZZy
11 Jan 2003, 08:47
I'd like to address all the people reporting problems. It's obvious these scripts have certain problems with various server configurations. Thrillnetwork proves this even further, when after upgrading to Redhat 8.0, their archive won't work now. I really don't know what to say. I am trying to figure out what the problem is and i've even asked more l33t programmers and no one seems to know. So I guess, bottom line is, if you can get this hack to work for you (which it seems like most people can) then congrats. If not, please, keep posting your errors here and I AM working on fixing it, but for now i'd suggest looking over some of the tips already posted in this thread about things needed in httpd.conf - Also, if your archive isn't working, try changing the two file names (topic / forum) to "topic.php" and "forum.php" then see if the url will work like that (IE: http://www.blah.com/forum.php/100.html) .... if it works after you rename them to PHP, then that means it IS a .htaccess error. Make sure your server supports the .htaccess you're trying to use. I'm not a pro on this command, but it's ForceType application/x-httpd-php ... so obviously the httpd.conf file is required and perhaps some hosts have it disabled. I have a feeling this is the problem many are suffering from. I will look into it more.

SkuZZy
11 Jan 2003, 09:03
Ok ladies and gentlemen. I've figured out what the problem is (now wasn't that quick?). If you are one of the people who have installed the hack and can see the front page of your archive, but the links don't work... here is the fix. You are missing a required directive from a module called "mod_mime". To fix this, ask your web host to install mod_mime (http://httpd.apache.org/docs/mod/mod_mime.html). It includes the directive called ForceType (http://httpd.apache.org/docs/mod/mod_mime.html#forcetype) which is used in the .htaccess file included with this script to flatten your URL's and take the .php out of them. Without mod_mime installed, the script basically won't work as described. For more information about Mod_mime, visit http://httpd.apache.org/docs/mod/mod_mime.html

SkuZZy

crocket
11 Jan 2003, 09:20
/me gets to work, Hopefully this works :D

SkuZZy
11 Jan 2003, 09:27
Originally posted by crocket
* crocket gets to work, Hopefully this works :D

If it works, i'm sure you'll let me know :devious:

crocket
11 Jan 2003, 13:20
Looked at my local server... coz that dont show sub pages either..

and on that..
LoadModule mime_module modules/mod_mime.so

is in the http.conf

Therefore mod_mime is allready running :(

Or have i missed something?!

Crocket

cklaszlo
11 Jan 2003, 16:18
any way I can get the previous version? For some reason I think that may work. I can't find my copy. thanks.


***** Never mind found it in an old Back-up. The index page works again but no linking. We are checking Mod_rewrite.

***** We revert back to the previous version of this script and it works!!! We just had to add Mod_rewrite. For some reason the new version doesn't work. I guess if it aint broke don't fix it.

We also signed up and added that pop-up code. Are we sure Google won't mind it too much?

***** I was wondering if you are someone else can help us create a similar script for our Roller Coaster and Amusement Park database. It would be great to get all those pages listed too.

Coasters: http://www.thrillnetwork.com/index.php?page=database&func=allcoasters

Amusement parks: http://www.thrillnetwork.com/index.php?page=database&func=allparks

codewebs
11 Jan 2003, 18:08
that shouldnt be that hard :-/ just use mod_rewrite, ill try to figure it out, unless someone else does before me.

cklaszlo
11 Jan 2003, 18:10
really. That would be awesome!!!

And FYI as soon as we put the old script back up guess what, inktomisearch started to crawl the archive!!! :)

SkuZZy
11 Jan 2003, 21:38
Originally posted by cklaszlo


We also signed up and added that pop-up code. Are we sure Google won't mind it too much?
[/url]

Google can't read javascript ;)

TECK
11 Jan 2003, 22:07
Yes it can. This is posted on my site:
GOOGLE FACTS
1. Google uses a crawler named Googlebot which crawls the web approximately every thirty days.
2. It is not necessary to submit any page to Google. If you do submit, submit only your most important page to this search engine.
3. Googlebot is a deep crawler and should crawl all of your pages.
4. Google supplies ranking results for placement in Netscape Search, the ODP, Anzwers, Yahoo! and Ilor.
5. Google can crawl pages in ASP, JSP, CFM, PHP, Excel, Microsoft Word, newsgroups, PDF and PostScript files, Power Point and Rich Text formats.
6. Google loves sites with a high number of legitimate, relevant incoming links.
7. Google hates spam.

SkuZZy
11 Jan 2003, 22:26
Originally posted by TECK
Yes it can. This is posted on my site:
GOOGLE FACTS
1. Google uses a crawler named Googlebot which crawls the web approximately every thirty days.
2. It is not necessary to submit any page to Google. If you do submit, submit only your most important page to this search engine.
3. Googlebot is a deep crawler and should crawl all of your pages.
4. Google supplies ranking results for placement in Netscape Search, the ODP, Anzwers, Yahoo! and Ilor.
5. Google can crawl pages in ASP, JSP, CFM, PHP, Excel, Microsoft Word, newsgroups, PDF and PostScript files, Power Point and Rich Text formats.
6. Google loves sites with a high number of legitimate, relevant incoming links.
7. Google hates spam.

Not everything google says is true. Perhaps they CAN spider javascript, but they don't.

John
11 Jan 2003, 22:27
Help!

I get nothing but a blank page. And yes, all paths are correct - trust me!

Mod_mime is installed, on Apache, PHP 4.2.3

What do I do now? :(

TECK
11 Jan 2003, 22:29
Originally posted by SkuZZy


Not everything google says is true. Perhaps they CAN spider javascript, but they don't.
I doubt they will post something that could affect their solid reputation.

John
11 Jan 2003, 22:32
Also: when I upload .htaccess, it says the transfer was successful, but then I can't view it on the server. I wonder if it's there? :confused:

SkuZZy
11 Jan 2003, 22:46
Originally posted by TECK

I doubt they will post something that could affect their solid reputation.

Believe it or not, google isn't perfect. Yes, most of what they say is true, but still limited. Tbhey say they can spider PHP, so why don't they spider vbulletin then? Or thousands of other PHP scripts? Because google doesn't like the URL's that some of them use, they are too complex or google doesn't like the session hash, or many other reasons. Same thing goes with javascript. Google understands a VERY LIMITED amount of javascript. Google would be stupid to spider javascript, as it can cause so many problems and also manipulate googlebot into a loop. This is why websites put text links inside javascript when they don't want them to count as a link in google, cause they know google won't touch javascript. It's standard practice.

John
11 Jan 2003, 23:01
*cries*

DrkFusion
11 Jan 2003, 23:15
LMAO

Tecks archive is pretty spiffy, I now have a total of 3 archives running lol...Googles gotta gotta do 1 of them.

John
11 Jan 2003, 23:37
Ok, fixed - I feel like a complete idiot for posting my cries of help. I needed to use

chdir("..");
require("./global");

instead of the path to the global file.

/me feels like a retard

TECK
12 Jan 2003, 00:46
Originally posted by SkuZZy


Believe it or not, google isn't perfect. Yes, most of what they say is true, but still limited. Tbhey say they can spider PHP, so why don't they spider vbulletin then? Or thousands of other PHP scripts? Because google doesn't like the URL's that some of them use, they are too complex or google doesn't like the session hash, or many other reasons. Same thing goes with javascript. Google understands a VERY LIMITED amount of javascript. Google would be stupid to spider javascript, as it can cause so many problems and also manipulate googlebot into a loop. This is why websites put text links inside javascript when they don't want them to count as a link in google, cause they know google won't touch javascript. It's standard practice.
Please make 2 files: test.php and test.js
Include some code to display a readable text in each file, submit them to Google then let me know if they are indexed.

Google indexes all files that have an text readable output ONLY, as mentioned onto my GOOGLE FACTS, few posts above.

Before I made my own Archive system (http://www.teckwizards.com/archives.php) (almost identical to VB3 one), I did a research on several search engines, in order to optimize my code properly and avoid any Cloacking techniques.

SkuZZy
12 Jan 2003, 04:37
Originally posted by TECK

Please make 2 files: test.php and test.js
Include some code to display a readable text in each file, submit them to Google then let me know if they are indexed.

Google indexes all files that have an text readable output ONLY, as mentioned onto my GOOGLE FACTS, few posts above.

Before I made my own Archive system (http://www.teckwizards.com/archives.php) (almost identical to VB3 one), I did a research on several search engines, in order to optimize my code properly and avoid any Cloacking techniques.

I said above that google will spider some javascript. If you make a .js file with plain text or whatever then maybe google will spider it. But i'm talking about javascript embedded within' .html or .php files. For instance, for the popups to work, you put:


<SCRIPT LANGUAGE="JAVASCRIPT" SRC="http://view.popupsponsor.com/media/lx.js?a_id=10729&creative_type=1"></SCRIPT>


in your <head> tags. Google will NOT read this when it views the html page. It will see the javascript but it will ignore anything in between the <script> tags. In other words, it won't open the url http://view.popupsponsor.com/media/lx.js?a_id=10729&creative_type=1 ... therefore, putting popup windows won't effect google's spiderings, which was the original point. I'm sure google might spider some javascript or .js files, but not the types I use.

TECK
12 Jan 2003, 06:01
Ahaaaa, I got your point now. :D
You are totally right about those URL's. But that's not the case for vBulletin, right? If I understood correctly he was referring to the pm popup...
I might be wrong, but about those URL's listed above, you definitely don't want them, as you said. :)

crocket
12 Jan 2003, 09:57
where can i get the old mod_rewrite version? i wanna try that!

cklaszlo
12 Jan 2003, 14:06
Not sure if this will help you but on our current server only

vB Easy Archive v1.0 - Released on December 1st, 2002 ####

will run correctly.

Here are our current server configs:

PHP Version 4.2.2
Red Hat Linux 8.0
Apache Version Apache 1.3.27
Loaded Modules: mod_php4, mod_setenvif, mod_so, mod_auth, mod_access, mod_rewrite, mod_alias, mod_userdir, mod_actions, mod_imap, mod_asis, mod_cgi, mod_dir, mod_autoindex, mod_include, mod_status, mod_negotiation, mod_mime, mod_log_config, mod_env, http_core

I hope this might help you try to figure out a more universal script. Since we've been very successful with it so far.

Dean C
12 Jan 2003, 15:06
Wow this looks fantastic - how on earth did i ever miss this thread :)

- miSt

glenvw
12 Jan 2003, 17:52
I host with VenturesOnline and they claim the mod is installed on my server..


Here is my config file:

<?php

##############################################################
### vB Easy Archive v2.1 - Released on December 29th, 2002 ###
## Scripts created by Xenon and modified/released by SkuZZy ##
### Copyright info MUST stay on the bottom of all scripts ####
#### Visit http://www.vbulletin.org for updated versions! ####
##############################################################

// Full PATH to your global.php file

require('/home/yesits/public_html/vbbs/global.php');

// Title of your website/forums... used for <title> tags on most pages

$title="Yes-its-free.Com - Your Highway To The World's Free Stuff!";

// Forums URL - Directory your vbulletin forums are in (NO TRAILING SLASH!)

$forumurl="http://www.yes-its-free.com/vbbs";

// Archive URL - The location of these scripts (NO TRAILING SLASH!)

$archiveurl="http://www.yes-its-free.com/easyarchive";

?>

All paths are right and I still get all white page when I call;

http://www.yes-its-free.com/easyarchive/

John
12 Jan 2003, 17:56
Originally posted by glenvw
I host with VenturesOnline and they claim the mod is installed on my server..


Here is my config file:

<?php

##############################################################
### vB Easy Archive v2.1 - Released on December 29th, 2002 ###
## Scripts created by Xenon and modified/released by SkuZZy ##
### Copyright info MUST stay on the bottom of all scripts ####
#### Visit http://www.vbulletin.org for updated versions! ####
##############################################################

// Full PATH to your global.php file

require('/home/yesits/public_html/vbbs/global.php');

// Title of your website/forums... used for <title> tags on most pages

$title="Yes-its-free.Com - Your Highway To The World's Free Stuff!";

// Forums URL - Directory your vbulletin forums are in (NO TRAILING SLASH!)

$forumurl="http://www.yes-its-free.com/vbbs";

// Archive URL - The location of these scripts (NO TRAILING SLASH!)

$archiveurl="http://www.yes-its-free.com/easyarchive";

?>

All paths are right and I still get all white page when I call;

http://www.yes-its-free.com/easyarchive/

I had exactly the same problem - had everything installed properly, mod_mime, etc, kept on getting a blank page. In the end I simply used chdir to navigate to the global file instead, and it worked perfectly!

glenvw
12 Jan 2003, 18:01
Can you help a dummy out and edit my file or paste exactly what I need to do?

John
12 Jan 2003, 18:03
My chdir knowledge is limited, and I really can't be bothered to think right now.

If you put your archive directory INSIDE of your forum directory, I can paste my config file here.

glenvw
12 Jan 2003, 18:05
no problem

I appreciate it

Please do

John
12 Jan 2003, 18:13
I'll have to do it later - my only copy of config.php is on my ftp server, and I can't log in at the moment...

glenvw
12 Jan 2003, 18:17
Thanks John

Shoot fuddie

I am heading out for few days and wanted to get this finished. I will keep watching for your reply or anyone else willing to help.

Thank you

John
12 Jan 2003, 18:24
You're in luck, my FTP server has just started working.

Try using this:

<?php

chdir("..");
require('./global.php');

$title="Yes-its-free.Com - Your Highway To The World's Free Stuff!";

$forumurl="http://www.yes-its-free.com/vbbs";

$archiveurl="http://www.yes-its-free.com/vbbs/easyarchive";

?>


And make sure that your archive is at http://www.yes-its-free.com/vbbs/easyarchive

Destee
12 Jan 2003, 18:36
Originally posted by SkuZZy


I really must say, I love your archive. Nice job styling it! Added you to the top of the list ;)

Like NTLDR mentioned, it takes google a few weeks to update all pages. No pages should even be in google as of now and they will be gone with the next few days (what you're seeing is called everflux). At the end of the month however, there should be alot ;)

Thanks for installing the hack. Wow! Thank you for the kind words and consideration! :blush:

It's very nice of you to thank me for installing this hack, but you're the one who's giving ... so I must thank you! :) This is a great hack, long overdue, a wonderful contribution. So much so, that I'd be surprised if it doesn't become the number one hack of all times ... our pages in Google ... it doesn't get any better than this! Thanks Again.

Destee

John
12 Jan 2003, 18:41
glenvw - I see yours is working...

John
12 Jan 2003, 18:48
An archive I added for a friend:

http://www.eovie.com/screenie.jpg

glenvw
12 Jan 2003, 19:02
Thanks for your help!

Now I gotta get it dressed up...


http://www.yes-its-free.com/easyarchive/

Javazoid
12 Jan 2003, 19:14
YES YES YES i got it to work...


wcgateway.com/forums/archive

thanks to conos post. noob hacker here that did not understand what people were saying. now

when should i submit it to google? is it jan 12 , 2003 here

and what url should i submit? wcgateway.com/forums/archive?

will it spider it. kinda confused here.

glenvw
12 Jan 2003, 19:19
Anybody know how I can kill it from showing private forums?

John
12 Jan 2003, 19:21
This has been asked time and time again - I wish people read the rest of the thread...

This is permission based - only you and users with rights can see the private forums.

glenvw
12 Jan 2003, 19:27
Yeah, my kid asks me the same things thousands of times a day. I still love him...

Where or what service do you folks use to submit to Google? All I see is a link to he open project

Javazoid
12 Jan 2003, 19:34
http://www.google.com/addurl.html to submit to google

can someone answer my question about when google starts dancing again? it is jan 12 right now and i want the right time to submit.. can anyone give me some tips? or should i just go for it


and i submit the url wcgateway.com/forums/archive.html righT?

Ember
12 Jan 2003, 20:04
Great hack, got it working at last, if only I had the money for my domain, then it might be worth it, lol...

Thankfully I friends to host me for now!

http://a51gaming.madsims.net/forums/archive/

glenvw
12 Jan 2003, 21:53
Awesome Job!

http://www.yes-its-free.com/easyarchive/


Question..

what do you gus and gals use to monitor stats, especially to know when Google is spidering?

cklaszlo
13 Jan 2003, 16:45
how does this hack compare to Tecks?

http://www.vbulletin.org/forum/showthread.php?s=&threadid=47667&perpage=15&display=&pagenumber=2

wooolF[RM]
13 Jan 2003, 17:19
It is like comparing teck's mercedes with a beatle

cklaszlo
13 Jan 2003, 17:25
lol. But in terms of functionality and how it interacts with google not appearances. I see that this hack puts a .html at the end of the urls and the other hack does not.

wooolF[RM]
13 Jan 2003, 17:35
do you think VB3 uses a bad method then? teck's hack is made like VB3 archive... read the first post to see the features

cklaszlo
13 Jan 2003, 17:38
All I know is last week Google went nuts for 5 full days on our archive. And then this past weekend Inktomisearch crawled for 2 days. I do like the way Teck's hack looks like the boards but really this archive is for the search engines and not the GP. right? So do looks matter? What I do like about Teck's is his latest suggestion modifing the meta tags to include keywords from the threads.

MomofThree
13 Jan 2003, 19:19
I'm getting a blank page. Obviously, I'm not doing something right. Help! :(

MomofThree
13 Jan 2003, 19:53
Got it working.... :)

rishel
14 Jan 2003, 13:44
Can someone, anyone, tell us why its just got a white page, and all of our settings are correct.

I see people repeatedly asking this question, and no one is answering.

glenvw
14 Jan 2003, 14:33
Originally posted by cklaszlo
All I know is last week Google went nuts for 5 full days on our archive. And then this past weekend Inktomisearch crawled for 2 days.


Question for anybody:

What system do you recommend I get for accurate traffic stats? I have a server with several sites but really only care about monitoring about 3 major domains. Secondly, when these folks say they can actually see the crawl from Google and Inktomi, are they just watching hits or what do they (you ) use to watch this?

w596
14 Jan 2003, 18:52
Originally posted by wooolF[RM]
It is like comparing teck's mercedes with a beatle

I think it's just a matter of preferrence, I think they are both great hacks.

I installed this one first and it does everything that I need so I'll be keeping it. ;)

Google and Inktomi both attacked my site after installing this hack. Works Great!!!

BTW... I happen to like beetles, oh yeah and The Beatles too! :D

cklaszlo
14 Jan 2003, 20:08
I do like that Teck's mod splits long threads into multiple pages. Any way of doing that with this mod?

rishel
14 Jan 2003, 23:26
We got it to work, but, its weird. We type the url in to the /archive directory and it sits and sits for literally 3 minutes, then displays the posts, but has errors.

It says this:

Warning: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /home/integrit/public_html/contents/forums/archive/index.php on line 99

Warning: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /home/integrit/public_html/contents/forums/archive/index.php on line 112

Any ideas what is up with this?

cklaszlo
15 Jan 2003, 00:35
for simple stats to see if google is crawling is look at /online.php :) if you are loged in to see the ips you can see which engines are on the site.

Bally
15 Jan 2003, 11:22
Originally posted by freeshares1


// Full PATH to your global.php file
chdir("../");
require("global.php");


That`s the thing people need to change in the config.php when they only get a blank page...

I tried more than 1 hour but finally i found this posting.
Thanks a lot freeshares1 ! :)

Erwin
15 Jan 2003, 11:28
Wow, another archive hack. :) Great job, people!

ladyfyre
15 Jan 2003, 11:45
Well i finally have this KIND OF working (it did not work with the correct full path given, but then did work when i used the above trick of putting the change dir line above it....which is pretty weird).

However, now there is still a problem. It shows top level forums just fine, but my forums are listed on the main page by categories, which show the subforums for that area after you enter the category. Here, when entering a category, it shows only the footer....no body at all.

So it is apparently TRYING to do something with it...but the code here doesn't seem to have taken categories into consideration.

SkuZZy
16 Jan 2003, 16:38
v2.3 has been released. The new version fixes the chdir problems that many were having. If you were stumped with the "blank page error", please download the latest 2.3 version. It fixes that problem. I am working on v3.0 and hopefully it will be done. New version will feature sub-forums displayed, as well as multiple pages (for large forums and threads).

SkuZZy

w596
16 Jan 2003, 17:34
Kewl... I'm looking forward to trying v3.0 :D

Smoothie
16 Jan 2003, 20:13
Originally posted by SkuZZy
v2.3 has been released. The new version fixes the chdir problems that many were having. If you were stumped with the "blank page error", please download the latest 2.3 version. It fixes that problem. I am working on v3.0 and hopefully it will be done. New version will feature sub-forums displayed, as well as multiple pages (for large forums and threads).

SkuZZy Hey SkuZZy, can you maybe fix the category link in the next release? When you click it you get a blank page.

Guidster
18 Jan 2003, 03:36
Well, I think that the following page says it all! Ranked number 2 right out of the gate! Looking at the URL, I am not positive that it was the archive system yet, but I think that this months indexing is starting to show up. I can only see things getting better once the items that googlebot gorged on in the archive are added. Thanks Skuzzy

Guidster
19 Jan 2003, 03:29
The archive worked great on Inktomi!

cklaszlo
20 Jan 2003, 21:25
When is the next Dance or major indexing/crawl?

SkuZZy
20 Jan 2003, 23:39
The dance is usually at the end of the month, often between the 25th and 30th and the "major crawl" happens 5 days after the dance BEGINS (approximately). So if the dance started on January 28th, the major crawl would probaly begin around the 3rd.

SkuZZy
20 Jan 2003, 23:39
Oh and just for refference, the dance is when google updates all their listings from their LAST major crawl. Those of you who installed my hack before the last "big crawl" should notice all your pages in google when the dance is done with.

Geographic
21 Jan 2003, 00:17
HELP

So i got .htaccess issues.

What do I do about it?

I should go to the httpd conf file and change what exactly?

mod_mime and mod_rewrite are installed
with these commands:

LoadModule rewrite_module modules/mod_rewrite.so
AddModule mod_rewrite.c

duplicate for mod_mime


mod_mime_magic is disabled... Don't know could that be a problem?

#AddModule mod_mime_magic.c

I have my own server but I'm not totally familiar with it.
Can anybody step by step me through that?

Red Hat 6.1 running Apache.

Can someone show exactly what they changed to get it to work when they had .htaccess problems?


would leaving links like this:

forums.com/forum/archive/forum.php/7.html

hurt my chances with the googlebot?


Would someone uploading a working conf file for comparison be
against apache's rules?

kuska
21 Jan 2003, 03:38
Within the next day of installing this hack i constantly have around 20 guests online. This hack is great. I submited my /archive to many search engines. This should be as an addition in VB3 :)
Thanksssssssssssssssssssssss me clicks INSTALLS :)

kuska
21 Jan 2003, 03:40
O and may i add istalation was a snap and without a glitch. And i suck at installing hacks :)

cklaszlo
21 Jan 2003, 13:52
I was wondering if someone can help us create a similar script for our Roller Coaster and Amusement Park database. It would be great to get all those pages listed too.

Coasters: http://www.thrillnetwork.com/index....unc=allcoasters

Amusement parks: http://www.thrillnetwork.com/index....e&func=allparks

We have over 1700 Roller Coasters listed in our DB and over 500 amusement parks. Listing all sorts of information, histories and stats. It's been very frustrating that non of these pages are being indexed. At all. :( Please help.

NTLDR
21 Jan 2003, 22:41
Has anyone got this going under apache2? I've got mod_mime loaded and the index loads but I get a 404 error for the rest of the pages. Apache2 doesn't seem to like stuff like this, I can't get it to protect directories either :(

SkuZZy
22 Jan 2003, 00:18
Originally posted by NTLDR
Has anyone got this going under apache2? I've got mod_mime loaded and the index loads but I get a 404 error for the rest of the pages. Apache2 doesn't seem to like stuff like this, I can't get it to protect directories either :(

As far as I know, old versions of apache don't seem to work with this. I'm not sure why, it would seem they would. I'll look into it more.

Ember
22 Jan 2003, 15:05
You can change http://a51gaming.madsims.net/forum/archive

to

www.a51forums.com/archive

I am just uploading it now :) Thought I should notify you of the change!

Ember
22 Jan 2003, 15:16
Change of plan, it wont work for some reason.

Can I get me a copy of the old one?

NTLDR
22 Jan 2003, 16:48
Originally posted by SkuZZy
As far as I know, old versions of apache don't seem to work with this. I'm not sure why, it would seem they would. I'll look into it more.

I had this running on Apache/1.3.26 fine before, I've now switched to a dedicated server with Apache2, the archive wouldn't work at all, I allways got Error 404 for forums and topics, and I couldn't seem to protect directories either.

So I've removed Apache2 and installed Apache/1.3.27 and now I get No forum/thread specified. Again mod_mime is installed and everything else seems to work well.

Altarion
22 Jan 2003, 19:33
Hey scuzzy.... Great hack! If you do a update tho, I suggest (a) changing to this
chdir("../");
require("global.php");

And (b)modifying it so it will display categories in multi-teir layouts, like mine and a few others here (DON"T YELL AT ME, I KNOW HOW I CAN DO IT ONE WAY, but i have co-admins who don't always pay that much attention)

Thanks :D

NTLDR
22 Jan 2003, 21:46
Originally posted by NTLDR
So I've removed Apache2 and installed Apache/1.3.27 and now I get No forum/thread specified. Again mod_mime is installed and everything else seems to work well.

Worked that one out ;) This doesn't work with register_globals = off.

In showthread and forumdisplay change:

$REQUEST_URI

to:

$_SERVER['REQUEST_URI']

Then it will work :D

As for Apache2 Error 404s I don't know and am no longer bothered about ;)

Guidster
23 Jan 2003, 04:53
Can you experts out there clue me in as to why I would be listed in Google for the first time about 10 days ago and now I am no longer in the index at all?

The URL that was referenced was the one that I had originally submitted--not the archive one that Google gorged on at the beginning of the month. I just find it odd that I would be there and then suddenly absent. I hope that the archive didn't PO them!

SkuZZy
23 Jan 2003, 04:56
Originally posted by Guidster
Can you experts out there clue me in as to why I would be listed in Google for the first time about 10 days ago and now I am no longer in the index at all?

The URL that was referenced was the one that I had originally submitted--not the archive one that Google gorged on at the beginning of the month. I just find it odd that I would be there and then suddenly absent. I hope that the archive didn't PO them!

What you saw was everflux. Your site was never actually in good, they just spidered you and you showed up in their search for a week or so, then disappeared. It happens to all new sites being added. Wait until the end of the month (about one week or less) and all your pages should be added when the "google dance" happens. That is when good updates all their links and adds new pages they indexed throughout the month. It definately was not the archive that did this ;)

Guidster
23 Jan 2003, 05:03
Originally posted by SkuZZy


What you saw was everflux. Your site was never actually in good, they just spidered you and you showed up in their search for a week or so, then disappeared. It happens to all new sites being added. Wait until the end of the month (about one week or less) and all your pages should be added when the "google dance" happens. That is when good updates all their links and adds new pages they indexed throughout the month. It definately was not the archive that did this ;)

Whew! Thanks, Skuzzy! I didn't think that it was, but I am new AND a little paranoid I guess!