View Full Version : vB Easy Archive - Search Engine Spiderable Hack!
Xenon
05-30-2004, 10:00 PM
Ok, as a lot of users have installed SkuZZy's and mine vB Easy Archive Hack i've decided to release a vB3 Version as well.
As vB3 already comes with an build in Archive System, it's not that needed than it was in vb2, but for all of you, who have installed the vb2 version and don't want to loose their indexed Pages, this one is for you :)
I'm lazy and therefore will copy the Releasetext of vb2 by SkuZZy.
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_mime. If you don't have mod_mime, you will still be able to install this hack, just read the install.txt for help then.
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 Demo
To view a demo of this script, visit this site:
http://www.strategy-forum.de/easy_archive/
Requirements
Apache
vBulletin 3.x
mod_mime installed (not absolutelly required, but recommended)
.htaccess
5 minutes of your time...
Known Problems/Confusion
Mod_mime - It is recommended to have mod_mime installed 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
If you want to run vb Easy Archive without mod_mie, please look into the install.txt
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 :)
Forumlist yes, but threadlist no - https://vborg.vbsupport.ru/showpost.php?p=543985&postcount=91
https://vborg.vbsupport.ru/showpost.php?p=631945&postcount=153
Credits
SkuZZy aka Adam J. de Jaray (http://www.dejaray.com), who gets my Special Thanks for his modifications, releasing and of course his Support to my Script's vb2 version. Note, he does not have anything to do with the vb3 version, but without him, there wouldn't have been the vb2 version and therefore i would never have released the one for vb3 :)
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 I ask :D
Download Final
To install, just download the file below and open the "install.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.
insanctus
05-31-2004, 04:56 PM
I think I will install this, even though vb3 has it, this is in another area = more for it to spider :)
Can not hurt.
Xenon
05-31-2004, 05:55 PM
true :)
msimplay
05-31-2004, 08:21 PM
i remember the old archive had some kind of addon that allowed direct access to the archive aswell
1 . The vbulletin on and off.gifs on forum home were turned into the direct link to the archive
same was done for forum display
and again the same for the thread itself
in the thread link said >> link to the archived post here
or something similar
oh yeh i found it now
this addon for the vbhome lite search indexer was great
found in this post (https://vborg.vbsupport.ru/showpost.php?p=429701&postcount=8)
wondering if it could be done for vbulletins indexer as my vbulletin 3 indexer is indexing all my posts like mad
but its weird coz my friend owns a really busy site yet none of his archived posts are getting indexed so i bet this new hack will fix it for him
Prince
06-01-2004, 02:33 AM
The old version worked perfectly, here is the error I get with this version:
Fatal error: Call to undefined function: archive_output() in /home/admin/public_html/history/index.php on line 82
can see here:
http://www.ironmagazineforums.com/history/
drumsy
06-01-2004, 03:25 AM
Are the archive pages created by vB3 also spidered by search engines? I don't seem to see them around anymore.
Natch
06-01-2004, 05:21 AM
I have this installed, but am gettingWarning: fetch_header(http://www.mobileforces.org/forums/search/header.php): failed to open stream: HTTP request failed! HTTP/1.1 406 Not Acceptable in /home/mofo/public_html/forums/search/archive_functions.php on line 33
Warning: fetch_header(): Failed opening 'http://www.mobileforces.org/forums/search/header.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/mofo/public_html/forums/search/archive_functions.php on line 33 above my content and
Warning: fetch_footer(http://www.mobileforces.org/forums/search/footer.php): failed to open stream: HTTP request failed! HTTP/1.1 406 Not Acceptable in /home/mofo/public_html/forums/search/archive_functions.php on line 44
Warning: fetch_footer(): Failed opening 'http://www.mobileforces.org/forums/search/footer.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/mofo/public_html/forums/search/archive_functions.php on line 44 below the content on every page?
Would there b e any problem in linking to the header and footer php scripts via a local connection, rather than a HTTP connections (caused by $archiveurl . "/header.php") ?
gmarik
06-01-2004, 07:59 AM
At last - I lvoe you, man!
Xenon
06-01-2004, 11:35 AM
@Prince: have you uploaded all files?
the archive_output() is defined within the functions file.
@natch: Should be possible as well, just replace
include($archiveurl . '/header.php');
in archive_functions.php with
include('./your archive folder here/header.php');
same with footer
0ptima
06-01-2004, 01:31 PM
I cant run the VB3 archive as my host did not compile PHP as a module. I think I will install this!
Natch
06-01-2004, 11:58 PM
@Prince: have you uploaded all files?
the archive_output() is defined within the functions file.
@natch: Should be possible as well, just replace
include($archiveurl . '/header.php');
in archive_functions.php with
include('./your archive folder here/header.php');
same with footer
Thanks Xenon - great job!
dstruct2k
06-02-2004, 04:02 AM
I cant run the VB3 archive as my host did not compile PHP as a module. I think I will install this!
Same problem here! Yeah, this is getting installed ASAP!
Natch
06-02-2004, 04:30 AM
Well one wierd thing is that my host didn't used to have PHP as a module, but after I installed this, the default Archive works :D
:w00t: hehe thanks anyway - I'll keep both (why not)
0ptima
06-02-2004, 12:41 PM
Well one wierd thing is that my host didn't used to have PHP as a module, but after I installed this, the default Archive works :D
:w00t: hehe thanks anyway - I'll keep both (why not)
what version of PHP do you have?
Natch
06-02-2004, 12:56 PM
Nah - it's looking like my hosting provider has installed PHP 4.3.5 as a module ! and I didn't even ask em :D
And again I say :w00t:
Xenon
06-02-2004, 02:04 PM
*gg*
the host fears you'll isntall more hacks if they don't compile php as a module ^^
Natch
06-02-2004, 02:16 PM
Little tdo they know that I'm moving server's again in the next week or so ...
Touch wood the new datacenter is modular as well :D
I modded your code just a little Xenon - there was a golden opportunity to use the Archive's CSS file (just sitting there :))
Find: <base href=\"$forumurl/\">Add afterwards: <link rel=\"stylesheet\" href=\"./archive/archive.css\" type=\"text/css\" />
With this then, it would be relatively trivial (sort-of) to make this archive look just like the vB3 default one ...
Xenon
06-02-2004, 02:26 PM
thx for the tip :)
i still prefere the easy version, but, i'm sure there are some, who prefere a better looking way ;)
monstergamer
06-02-2004, 02:53 PM
Little tdo they know that I'm moving server's again in the next week or so ...
Touch wood the new datacenter is modular as well :D
I modded your code just a little Xenon - there was a golden opportunity to use the Archive's CSS file (just sitting there :))
Find: <base href=\"$forumurl/\">Add afterwards: <link rel=\"stylesheet\" href=\"./archive/archive.css\" type=\"text/css\" />
With this then, it would be relatively trivial (sort-of) to make this archive look just like the vB3 default one ...could not find <base href="$forumurl/\">
in any of the file
found <base href=\"$forumurl/\">
and added the code there, and i get an error
Natch
06-03-2004, 04:49 AM
could not find <base href="$forumurl/\">
in any of the file
found <base href=\"$forumurl/\">
and added the code there, and i get an error
What error do you get ?
monstergamer
06-03-2004, 05:13 PM
i fixed it
this is what i had to do
find
<base href=\"$forumurl/\">
add under that
<link rel=\"stylesheet\" href=\"./archive/archive.css\" type=\"text/css\" />
Hello,
I get the same error except it shows the archive,but not the header and footer. I just get parse errors.
Xenon
06-04-2004, 09:40 AM
did you do the local include change i posted for Natch?
https://vborg.vbsupport.ru/showpost.php?p=517976&postcount=9
Onkel_Tom
06-06-2004, 10:48 PM
nice work Stefan, thank you ;)
another important hint is that the files "forum" and "topic" should be chmod to 755 after upload.
Xenon
06-07-2004, 09:58 AM
well, all vbulletin files should have this chmod ;)
Hayabusa Forum? Da muss ich mal meinen Dad hinlenken ;)
krohnathlonman
06-11-2004, 07:50 PM
well, it won't get that great of search positioning unless the thread titles are inserted into the HTML page titles.... Looks like it'll take a bit of rewriting to get this in it's current form.
Prince
06-11-2004, 08:02 PM
well, it won't get that great of search positioning unless the thread titles are inserted into the HTML page titles.... Looks like it'll take a bit of rewriting to get this in it's current form.
you're right, but it's simple!
open archive_functions.php
find:
$header = "
<html>
<head><title>$title</title></head>
<base href=\"$forumurl/\">
<body>
change to:
$header = "
<html>
<head>
<title>$threadinfo[title] - $title</title>
<meta name=\"keywords\" content=\"$threadinfo[title]\">
<meta name=\"description\" content=\"$threadinfo[title]\">
<base href=\"$forumurl/\">
</head>
<body>
krohnathlonman
06-11-2004, 10:58 PM
the threadinfo[title] is what I tried and it didn't work...
http://www.iamnotageek.com/history/topic/64131-1.html
basically threadinfo is defined well after the header and I haven't figured out what all needs to be rearranged yet for this to work....
Prince
06-11-2004, 11:05 PM
the threadinfo[title] is what I tried and it didn't work...
http://www.iamnotageek.com/history/topic/64131-1.html
basically threadinfo is defined well after the header and I haven't figured out what all needs to be rearranged yet for this to work....
oops, sorry I forgot to tell you to do this:
find:
global $archiveurl, $forumurl, $title;
change to:
global $archiveurl, $forumurl, $title, $threadinfo;
krohnathlonman
06-12-2004, 12:21 AM
Thanks for the help on the addition....
in the forum file I also did this:
$bah = str_replace(" ", "_", $thread[title]);
$threadbits .= "<li /><a href=\"$archiveurl/topic/$thread[threadid]-1$bah.html\">$thread[title]</a>\n";
Prince
06-12-2004, 01:53 AM
Thanks for the help on the addition....
in the forum file I also did this:
$bah = str_replace(" ", "_", $thread[title]);
$threadbits .= "<li /><a href=\"$archiveurl/topic/$thread[threadid]-1$bah.html\">$thread[title]</a>\n";
to make the URL the thread title... well you can do that but honestly it will not help you with Google.
krohnathlonman
06-12-2004, 05:07 AM
are you sure? I know alot of people that swear by it..... I'm trying to test it out myself, but don't think that it could hurt anything....
Xenon
06-12-2004, 10:54 AM
As for the page title, that's a good idea, will add it to the next version i upload here.
as for the thread_title in urls. It can even have a negative effect, if urls get too long...
so i suggest to keep the title out of there.
Prince
06-12-2004, 03:56 PM
are you sure? I know alot of people that swear by it..... I'm trying to test it out myself, but don't think that it could hurt anything....
people swear by many things that does not make them true. ;)
Xenon
06-15-2004, 04:19 PM
Ok, i have uploaded a new zip file.
Basically a lot of files have been edited.
Most of them, just slightly, to remove typos or such.
I also added the doctype tag, and made them XHTML1.0 Transitional.
Also the absolute include for the header/footer have been changed to relative ones.
all you need to do is, to upload all changed files, the rest should work :)
Natch
06-15-2004, 04:31 PM
thx man - great work btw
default files work a treat now :) only mod I re-did was the link to the archive.css stylesheet [hint hint ;)]
Xenon
06-15-2004, 04:59 PM
thx :)
yeah, i looked at that mod as well, but wasn't too sure, if i should add it or not.
i may try it on my own archive maybe, and then decide if i will add it to the next version or not ;)
Onkel_Tom
06-15-2004, 10:21 PM
Onkel_Tom updated the files and also Natch's stylesheet addition !
Works fine ;)
thanks you guys !
Xenon
06-16-2004, 02:00 PM
:)
freut mich zu h?ren.
Cold Steel
06-20-2004, 05:46 AM
I'm running Apache/1.3.31 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2634a mod_ssl/2.8.18 OpenSSL/0.9.7a PHP-CGI/0.1b
I chmod all files to 755. But I can only get the main page to work -- all links on the page give me 500 errors.
http://forums.asiansinc.com/search/
Any ideas?
The Realist
06-20-2004, 01:22 PM
Installed and working great.
Onkel_Tom
06-20-2004, 02:27 PM
I'm running Apache/1.3.31 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2634a mod_ssl/2.8.18 OpenSSL/0.9.7a PHP-CGI/0.1b
I chmod all files to 755. But I can only get the main page to work -- all links on the page give me 500 errors.
http://forums.asiansinc.com/search/
Any ideas?
I have to change the force type definition in .htaccess to get it work on my server.
My .htaccess looks like this:
<files topic>
ForceType x-mapp-php4
</files>
<files forum>
ForceType x-mapp-php4
</files>
perhaps it work also for you or you get an idea where to look ;)
Xenon
06-20-2004, 06:46 PM
@Cold Steel: well, from what i read, you do not have installed mod_mime which is required for this hack to work.
Cold Steel
06-20-2004, 06:54 PM
How do I find out if I have mod_mime installed?
In cpanel I see this:
Xenon
06-20-2004, 07:02 PM
it is in your httpd.conf file
just look if the mime module is outcommended or not.
I can't help much more, i'm not a server administrator ;)
Xenon
06-22-2004, 04:45 PM
It's me again ^^
I have released a new Version of this Hack (again).
People who already have that hack installed, don't need to upgrade.
I have just rewritten small parts of it, so now you can use a css file for the archive easily.
Also i have added support for renaming the forum/topic file so that mod_mime is no longer needed absolutelly. (it's still recommended, but not needed anymore)
Be careful, if you have already installed that hack, that you look at the config.php changes
I have renamed some variables, so be warned ;)
joeychgo
06-22-2004, 06:45 PM
[Step 2] Open up config.php and edit the variables inside it. Be sure not to include trailing slashes on any of the URL's.
edit what variables? edit them to what?
Xenon
06-22-2004, 06:56 PM
the variables are in config.php and you have to edit the forumurl archive url, title to represent your Forum, i'm sure your url isn't localhost, as it's in the default ;)
joeychgo
06-22-2004, 06:59 PM
yeah, I just figured it out and was coming back to alter my post.... forgive me, late night last night... :)
Xenon
06-22-2004, 07:00 PM
*gg*
no problem ;)
joeychgo
06-22-2004, 07:37 PM
How would I place ads on this page? (google)
Xenon
06-22-2004, 07:47 PM
no idea, i never tried google ads or such, but editing header.php or footer.php should be the correct way :)
Cold Steel
06-22-2004, 08:41 PM
Awesome. /me installs.
joeychgo
06-22-2004, 08:44 PM
no idea, i never tried google ads or such, but editing header.php or footer.php should be the correct way :)
yup header & footer
I installed
Thanks
http://www.lincolnvscadillac.com/Lincoln-cadillac-archive/index.php
joeychgo
06-22-2004, 09:01 PM
When I do a view source, no meta keywords or meta description can be found.
Is this a bug or a problem with my installation?
http://www.lincolnvscadillac.com/Lincoln-cadillac-archive/index.php
Xenon
06-22-2004, 10:16 PM
actually that's correct.
there are no metatags currently, as i did port over the vb2 version, and didn't think of the meta keywords and descriptions you can enter in the vb3 acp.
thx for reminding me, i'll add that :)
joeychgo
06-22-2004, 10:46 PM
actually that's correct.
there are no metatags currently, as i did port over the vb2 version, and didn't think of the meta keywords and descriptions you can enter in the vb3 acp.
thx for reminding me, i'll add that :)
as a new version or ??? Please give me instructions on how to get them in ..... :)
Xenon
06-23-2004, 05:54 PM
it will be needed to change the fetch_header() function a bit, so i'll upload the fixed version (once i did it ^^) and then all you have to do is to upload the archive_functions.php again :)
krohnathlonman
06-28-2004, 03:11 PM
This is getting MUCH better search engine support than VB3's /archive after installing it and tweaking it a bit I'm seeing MUCH better placement. It didn't seem to get indexed until I put the google ads on every page... I also added my lil mod to put the names in the URL. I need to modify it again for a character limitation.
You can see my mods in action:
Original:
http://www.iamnotageek.com/archive/index.php
This one:
http://www.iamnotageek.com/history/index.php
okrogius
06-28-2004, 07:46 PM
I think I will install this, even though vb3 has it, this is in another area = more for it to spider :)
Can not hurt.
Not quite the case. Google sees this as duplicate content, and penalizes for that.
PranK
06-30-2004, 07:45 AM
/me clicks install
thanks!
monstergamer
06-30-2004, 05:02 PM
/me Install
a great mod .. thanks but why u dont make it so they can reply or freat thread .. it hink this will be cool ..
peace.
smestas
07-09-2004, 08:06 AM
Xenon,
Thanks for the great Archive! I used to use it under v2 and was getting indexed like crazy. I thought the same thing would happen with the v3 archive but I was wrong. As mentioned in another post I dont think the spiders like the .php tags in the urls.
I'm a bit stuck since I installed your hack and I'm getting blank pages or 404 pages? I thought that maybe it was a mod_mime problem but I got the exact results when editing CONFIG, FORUM and ARCHIVE to have the .php extension.
Can you assist?
http://www.alfabb.com/bb/forums/arc/index.php
Xenon
07-09-2004, 01:21 PM
@H2K: well, of course it wouldn't be hard to add quick reply boxes or quick thread boxes to the archive, but the initial plan of that mod is, to keep it plain and simple, that's why it's called Easy Archive :)
@smetas: hmm, sounds like the mod_mime problem, you're right.
well, if you change the extensions of topic to topic.php and forum to forum.php and afterwards edit the config.php file, it should work.
I can't see a reason why it wouldn't
Let me take a look at it, after you renamed everything, right now it just shows that mod_mime doesn't work.
@H2K: well, of course it wouldn't be hard to add quick reply boxes or quick thread boxes to the archive, but the initial plan of that mod is, to keep it plain and simple, that's why it's called Easy Archive :)
Thankyou for your reply
I need to add it All this like NEw reply ...new thread... or quick reply and thankyou very mach for your help
i have post a topic about this Mod
https://vborg.vbsupport.ru/showthread.php?t=66991
in the php &MySQL forum ......
smestas
07-09-2004, 05:00 PM
Xenon.,
I changed the file extensions to PHP and also edited the config file to have the coresponding file names with the same results. Any clues?
http://www.alfabb.com/bb/forums/arc/
Xenon
07-09-2004, 10:26 PM
hmm, the files are working, it seems that your server does not execute files, if they are before a /.
that might be just a small setting to change, but actually i have no idea, where or what this setting may be :(
Jolten
07-10-2004, 12:03 AM
hmm, the files are working, it seems that your server does not execute files, if they are before a /.
that might be just a small setting to change, but actually i have no idea, where or what this setting may be :(
I'm in the exact same boat as smestas. :(
Oh well.. time to hound the host provider to install mod_mime. :)
Well it's installed and I am trying to use the PHP extentions but it does not archive anyhting, I get 404 pages!
Xenon
07-25-2004, 08:58 PM
Have you changed the config file as well as the extensions of the files?
If yes, i don't know, it works for me perfectly, so it might be a problem like smestas has, and that's a probl?em of the host, nothing i can resolve :(
NietzscheKid
07-30-2004, 11:21 PM
Have you changed the config file as well as the extensions of the files?
If yes, i don't know, it works for me perfectly, so it might be a problem like smestas has, and that's a probl?em of the host, nothing i can resolve :(
Works beautifully. Thank you so much for this great hack! :D
smestas
07-31-2004, 07:09 AM
so it might be a problem like smestas has
Woooooo Hoooooooooo!!!
I moved to a new server and it works GREAT!!
Thanks for the AWESOME hack Stefan!!! Now all I got to do is dress it up a bit.
http://www.alfabb.com/bb/forums/arc/
Xenon
07-31-2004, 10:57 AM
I'm glad to hear Simon :)
New server is something very usefull, isn't it ;)
Mr. Brian
07-31-2004, 07:41 PM
Let say if I've already submited my site to google before installing this hack, do I still need to re-submit it once over again? Or isit what u mean by submiting was using the different url? :- "http://www.myforum.org/forum/newarchive" ?
Thanks.
Mr. Brian
08-01-2004, 12:41 AM
I noticed one more thing, after installing it overwrite whatever style I using.
Xenon
08-01-2004, 11:11 AM
no, you don't have to resubmit again.
google will find it in it's turn itself when your site has been listed there already once.
and second: it's doesn't use any forumstyles, it's a plain archive optimized for spiders ;)
Mr. Brian
08-01-2004, 06:21 PM
no, you don't have to resubmit again.
google will find it in it's turn itself when your site has been listed there already once.
Ok, got it. Thanks. :)
and second: it's doesn't use any forumstyles, it's a plain archive optimized for spiders ;)
Yes, I knew that. My apologise, this got nothing to do with your hack in fact I'm the to be blamed. LoL *Corrupted cookies* make my life difficult.
Xenon
08-02-2004, 10:18 AM
*gg*
no prob, as long as you found out the real reason ;)
Cover Zero
08-06-2004, 09:29 PM
*gg*
no prob, as long as you found out the real reason ;)
I have installed this program, and as far I know I have mod_mime installed on my server as I've tested it with other scripts.
However, I'm still having trouble with this script when it comes to reading the archives of threads and posts. I called my directory "archive" so... (ex: "archive/forum (and forum.php)/1-1.html") shows up as a broken link. When using the function explode to make it read as a directory, to where is that exactly being directed to?
Mr. Brian
08-06-2004, 09:46 PM
Don't quite understand your question, can you be a bit more specific..
Cover Zero
08-06-2004, 10:06 PM
function fetch_vars_array()
{
$infos = explode('/', str_replace('.html', '', $_SERVER['PHP_SELF']));
$infos = $infos[count($infos) - 1];
$infos = explode('-', $infos);
$vars = array(
'id' => $infos[0],
'pagenumber' => $infos[1]
);
return $vars;
}
I see how it is creating the mod_mime/rewritten version of the link, but where exactly in its code does it recognize the .php file in its mod_mime html URL format? For some reason it does not recognize the URL change on my server except for the index page from this script.
Xenon
08-07-2004, 11:56 AM
that code block you posted doesn't care about the extension of your forum/topic files, it just cares about the things behind the last / speak the thread/forumid and the pagenumber
stryka
08-07-2004, 05:50 PM
Here;s the scenario... I installed VB3 and it overwrote my original ARCHIVE directory for this hack...
now... i didn't have time to fix it till 2months later (now) and of course my new archive pages have been googled already... but my ERROR LOG files is being filled each day with 404 ERRORS and "Call to undefined function: verifyid() " ERRORS... because GOOGLE and others have the old path...
Is there anyway to tell a browser to interpret/re-route the STORED GOOGLE LINK to what i currently have now??
Is there something else i can do?
I am getting the following error message if I try to open it:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, and inform them of the time the error occurred and anything you might have done that may have caused the error.
I tested everything that were mentioned here but always getting same error. Anybody have an idea?
Xenon
08-07-2004, 10:23 PM
@stryka: if you have mod_rewrite then you can use rewrite rules to make the old links forwarding to the new ones
@Kru: hmm, sorry no idea except from those which are already mentioned...
Cover Zero
08-11-2004, 05:34 PM
that code block you posted doesn't care about the extension of your forum/topic files, it just cares about the things behind the last / speak the thread/forumid and the pagenumber
Alright, after trying a modification then reuploading the original code I am still having issues. mod_mime should work on my server because I have already tested to see if mod_rewrite works, which it does. Do you have any other suggestions?
If this makes any difference, I have the forums uploaded in the root directory and uploaded your mod scripts overwriting the original archive folder provided by vB.
stryka
08-12-2004, 02:26 AM
Hey Xenon... can you give me some more info on how to do this with mod_rewrite...
currently my old URL looks like this "/archive/topic/5727-1.html" which causes the error...
but i want it to reroute to this" /archive/index.php/t-5727.html"
Thanx in advance...
@stryka: if you have mod_rewrite then you can use rewrite rules to make the old links forwarding to the new ones
porschinho
08-14-2004, 10:28 AM
Hey Xenon... can you give me some more info on how to do this with mod_rewrite...
currently my old URL looks like this "/archive/topic/5727-1.html" which causes the error...
but i want it to reroute to this" /archive/index.php/t-5727.html"
Thanx in advance...
here are my rewrite roules:
RewriteEngine on
RewriteBase /archive/
RewriteRule ^topic/([0-9]+)?(-[0-9]+)? index.php?a=t-$1$2
RewriteRule ^forum/([0-9]+)?(-[0-9]+)? index.php?a=f-$1$2
in addition i would rewrite the original URL
from /archive/index.php/t-xxx
to /archive/t-xxx
with this:
RewriteRule ^(f-|t-)+([0-9]+)?(-p-[0-9]+)? index.php?a=$1$2$3
Smitty
08-15-2004, 04:00 AM
here are my rewrite roules:
RewriteEngine on
RewriteBase /archive/
RewriteRule ^topic/([0-9]+)?(-[0-9]+)? index.php?a=t-$1$2
RewriteRule ^forum/([0-9]+)?(-[0-9]+)? index.php?a=f-$1$2
in addition i would rewrite the original URL
from /archive/index.php/t-xxx
to /archive/t-xxx
with this:
RewriteRule ^(f-|t-)+([0-9]+)?(-p-[0-9]+)? index.php?a=$1$2$3
If I remember correctly, add [R=301,L] to the end of each and it''ll throw a clean 301 (permanent move).
Cypjaxion
08-17-2004, 06:39 PM
Sorry if this has already been suggested (I didn't see it), but if some people are still having troubles running the scripts (seeing the actual threads and forums besides the forum listings) then try adding this line to the top of you .htaccess file:
AcceptPathInfo On
Now the hack works for me, where previously it didn't.
/me finally clicks install after getting it working!
dutchbb
08-26-2004, 04:31 PM
I installed it, when can I expect google to show pages? With vb3 own archive it wasn't working so great, but i see that other forum software makes html pages wich get listed mutch better...
Do I have to be patient?
Smitty
08-26-2004, 06:07 PM
Do I have to be patient?Yes.
porschinho
08-26-2004, 10:11 PM
If I remember correctly, add [R=301,L] to the end of each and it''ll throw a clean 301 (permanent move).
HMM .. i think that google will reindex the pages with the new adress, if you add the 301 (page moved) header. and then there will be indexed pages like this: index.php?a=$1$2$3 .. or not?
i fixed it in 2 steps. at first, rewrite the old archives to the new format:
RewriteRule ^topic/([0-9]+)?(-[0-9]+)? t-$1$2.html [R=301]
and then rewrite to the real index.php:
RewriteRule ^t-([0-9]+)?(-[0-9]+)? index.php?a=t-$1$2 [L]
with this google will change the URIs from /topic/12345-1.html to /t-12345-1.html
in its index.
i changed the rules 2 days ago and now i am waiting for the next freshbot ...
joeychgo
09-05-2004, 03:12 AM
Uploaded a new version???????????
What do I do with this???? How do I update??
Also --how do I make the index show in the "whos online" properly?
Xenon
09-05-2004, 05:39 PM
you just have to upload the changed files to install the new version.
or if more work would be required i would have mentioned it within the post i made when i released the new version
joeychgo
09-09-2004, 07:44 PM
how do I make the index show in the "whos online" properly?
Xenon
09-09-2004, 08:57 PM
Well, as it doesn't use the normal forum directory, i was actually too lazy to write that part right now ;)
teksigns
09-10-2004, 01:13 AM
Is Apache absolutely necessary to make this work ?
joeychgo
09-10-2004, 07:21 PM
Well, as it doesn't use the normal forum directory, i was actually too lazy to write that part right now ;)
Something I just noticed.........
vba CMPS pages are not listed. Is there some way to intergrate those? I am making alot of custom content on CMPS pages......It would be nice to have them listed.........
This really drives me nuts! I was so happy to find this hack, since I can't seem to have the vB archive working (php as cgi).
But after uploading the files from this hack to the (now empty) archive folder I changed the config file to set the right paths.
With this clean install I could see the messageboard in archive format (www.mydomain.com/archive/index.php). But as soon as I clicked on a link to a forum (http://www.mydomain.com/archive/forum/19-1.html) I received a normal vbulletin page with the message 'No Forum specified. If you followed a valid link, please notify the webmaster'. The pictures on that page didn't show up because they were linked to www.mydomain.com/archive/forum/images, instead of www.mydomain.com/images.
Anyhow, I thought the maybe the mime_mod wasn't installed on the server. So I changed forum to forum.php, just as topic to topic.php. I also changed that in the config.php file.
The result was more or less the same. The link changed to http://www.mydomain.com/archive/forum.php/19-1.html and I still received a standard vbulletin errorpage without the images showing up (but with all colours etc.).
So what should/can I do in order to have a good running archive on a server where php is installed as cgi and mod_mime isn't enabled? :disappointed:
GregCav
09-11-2004, 10:41 AM
I installed the non mod_mime version because I'm too impatient to wait around for my host to install something :) This worked great, though. I typed the URL of the newly indexed, spiderable list of my forums and it appeared easy as pie.
Thanks to whoever wrote this. Now let's see those hits start coming in :)
BTW - i submitted the URL to google as suggested in Install.txt. Do other search engines have places where you can add your URL? And about how long does it take for these search engines to crawl my pages? Do they do it cyclically, like every week or month or something? I'm just wondering when I should expect the traffic to start kicking up.
Thanks again. K+ for all :)
Greg
Xenon
09-11-2004, 03:59 PM
@Greg: Yes, at least most bigger searchengines have such places to add your url
@tek: AFAIK yes. At least other Servers have problems with executing files within the path of the url it seems.
@joey: hmm, my hack just displays the normal thread/forums. If the cpms has different db tables for it's content it won't be displayed of course :)
@TCB: sorry, there are some serverconfigurations where the archive doesn't work. I don't know exactly why, but it is so...
I have managed to get the original vBulletin to work with 3.0.3 on a server with php as CGI. I have copied to archive files from 3.0.1 over the new archive files (3.0.3) and edited the global.php and index.php files according to this thread: http://www.vbulletin.com/forum/showthread.php?t=106900&highlight=archive
Thanks for your hack and help though :D
MetalMilitia
09-14-2004, 07:39 PM
If its already been asked, you can point me to the post number.
Let's say I wanted to use this for an overall site map. What would I have to do in order to have this work in an alternate, non-forums directory.
Rather than having /forums/sitemap/ how could I get it to pull the info from the forums if it were in my main dir and just /sitemap/
Thank you in advance.
MaTT
Xenon
09-20-2004, 01:15 PM
hmm, not that easy, as the directory structure is needed for the includes aso.
It should be possible by doing a mod_rewrite and manually changing the urls within my hack, to not use the forumurl variable.
As said it SHOULD work like that but i haven't tested it, and cannot give any support for that
joeychgo
09-26-2004, 05:58 PM
Ive noticed yahoo doesnt seem to notice the archive, while google loves it........ I never see yahoo in the archive....
Any thoughts?
Xenon
09-26-2004, 09:41 PM
hmm, i'd wonder why, actually i don't see yahoo anywhere normally^^
TheComputerGuy
09-29-2004, 02:24 AM
Fatal error: Call to undefined function: verifyid() in /home/****/public_html/forums/archives/forum.php on line 18
I renamed it...any idea what I am doing wrong?
Xenon
09-29-2004, 12:07 PM
hmm, i have no idea, but the function is called verify_id()
and in the version i uploaded it's called like that, so i gues you have made a modification to the hack, and that went wrong.
lazserus
10-01-2004, 04:40 AM
vBulletin has a built in archiving feature. What's the big difference between this hack and vB's already built in sitemapping utility?
tfw2005
10-01-2004, 09:16 AM
vBulletin has a built in archiving feature. What's the big difference between this hack and vB's already built in sitemapping utility?
OK, I read every post in this thread, didnt see anything for this.
Have Apache, Mod_mime installed
Using mod_mime version
Forum index works, but when you click a link, I get a pop up window with
query_first(" SELECT COUNT(threadid) AS threads FROM " . TABLE_PREFIX . "thread AS thread LEFT JOIN " . TABLE_PREFIX . "deletionlog AS deletionlog ON(thread.threadid = deletionlog.primaryid AND type = 'thread') WHERE forumid = $forumid AND visible = 1 AND deletionlog.primaryid IS NULL "); $pagination = fetch_pagelinks($threadcount['threads'], $archive_options['forumfile'] . '/' . $forumid); $threads = $DB_site->query(" SELECT threadid, title FROM " . TABLE_PREFIX . "thread AS thread LEFT JOIN " . TABLE_PREFIX . "deletionlog AS deletionlog ON(thread.threadid = deletionlog.primaryid AND type = 'thread') WHERE forumid = $forumid AND visible = 1 AND deletionlog.primaryid IS NULL ORDER BY sticky DESC, lastpost DESC LIMIT " . (($pagenumber - 1) * 200) . ", 200 "); $threadbits = ''; while ($thread = $DB_site->fetch_array($threads)) { $threadbits .= "
$thread[title]\n"; } archive_output(" $pagination
$threadbits
"); ?>
Something Im missing? I had 500 and parse errors earlier, but got them fixed. This issue tho, everything seems configed and installed server side as discussed here.
Test it out at
www.tfw2005.com/boards/archive/
Xenon
10-01-2004, 12:37 PM
you may have uploaded a corrupted file.
try to download the zip again, and use an FTP program which takes care about your files.
there are some which can corrupt them.
tfw2005
10-01-2004, 02:38 PM
you may have uploaded a corrupted file.
try to download the zip again, and use an FTP program which takes care about your files.
there are some which can corrupt them.
I redownloaded it from here. Unpacked, edited config, uploaded via FTP again. CHMODed to 755 on all files, and directory archive. Set FTP to ASCII as default. Same error
I did notice that forum and topic were still uploading in Binary even tho I had ASCII set to be forced.
I then renamed them to forum.php and topic.php on my comp, uploaded in ascii, CHMODED to 755, and renamed on the server back to forum and topic.
Same issue.
A side note, I uploaded all via WINSCP, SFTP as root, and got 500 errors. Owner and group changed to root when I did that so I think that was the issue.
Is it possible the VB.org version of the file is corrupted, or, there is another server side issue?
Im running a Linux box, Apache, Proftpd 1.29 (which was just patched to work again), Mysql 4X.
Ill try with a different FTP program, but this is the issue so far.
EDIT: Via Core FTP, same issue.
Xenon
10-01-2004, 03:56 PM
hmm, wierd...
i have no idea, but the vb.org file is ok, as you're the only one having that error.
tfw2005
10-01-2004, 06:08 PM
hmm, wierd...
i have no idea, but the vb.org file is ok, as you're the only one having that error.
OK, well this is really weird.
I switched to the .php versions of this, edited config and forum / topic files accordingly, and now get a 500 error for anything under the index.
Any reason known as to why that issue would happen, aside from the other probelm?
Xenon
10-02-2004, 12:08 PM
Hmm?
it seems to be working regarding your link above?
tfw2005
10-02-2004, 04:57 PM
Hmm?
it seems to be working regarding your link above?
That is because I ditched this version, and found out how to get the VB version working. That wasnt working because PHP is installed as CGI on my server. I found a German HOW TO on converting the default VB archive to work under that, and ran with that.
Does your version rely on PHP being installed as a module in apache? If so, then it may not work just like the regular VB archive did not. I translated the German walk thru to english (not literal, just what I did) here:
http://www.vbulletin.com/forum/showpost.php?p=742612&postcount=43
I would still love to get yours installed as well, it just didnt seem within my scope to figure out why it wasnt working right now.
Xenon
10-02-2004, 05:02 PM
Actually i'm not very good at server configurations and problems, so you may be right that this is the reason.
Well actually i just wrote that hack, for those who had installed the vb2 version, so they won't loose any entries. :)
I may look at it when my schedule gets less busy, maybe i can find the reason behind.
joeychgo
10-03-2004, 06:17 AM
how can I change the title bar in a post?
The title now reads
Lincoln vs Cadillac forums - Thread Title
Id like to just have the thread title -or have my forum name afterward
Xenon
10-03-2004, 04:01 PM
in archive_functions.php that part:
// Build Page Title
$pagetitle = $archive_options['title'];
if ($threadinfo['title'] != '')
{
$pagetitle .= ' - ' . $threadinfo['title'];
}
else if ($foruminfo['title'] != '')
{
$pagetitle .= ' - ' . $foruminfo['title'];
}
joeychgo
10-04-2004, 02:47 AM
and what do I do with it????
Xenon
10-05-2004, 04:22 PM
well you see the order of the constructing variables there, just change em as you like it :)
joeychgo
10-06-2004, 12:50 AM
ive played wth it - and cant figure out what to do with that snippet.......
joeychgo
10-11-2004, 09:47 AM
we also havent got the title, desc and keyword tags in yet - important to search engines.
To complete the seo part of things we need these and the change I jsut talked about with the title of very page. DOing these things will help with SEO
Xenon
10-11-2004, 05:16 PM
Change it into.
// Build Page Title
$pagetitle = '';
if ($threadinfo['title'] != '')
{
$pagetitle .= $threadinfo['title'] . ' - ';
}
else if ($foruminfo['title'] != '')
{
$pagetitle .= $foruminfo['title'] . ' - ';
}
$pagetitle .= $archive_options['title'];
jd-inflames
10-25-2004, 01:34 PM
I'm beginning to get rather frustrated with archives...
The integrated one doesn't work, it just redirects me to the forum index.
I tried installing this one, and I was getting error-500 messeges until I changed my .htaccess to what was suggested in this thread about the forcetypes, now I'm getting 404's.
I know that I have mod_mime installed and that it is working, but I'm really not very "informed" when it comes to that...I sent a messege to my host and he said that it is installed and active, that I just need to set the directives in ControlPanel for the extension...Like I said, I'm rather uninformed when it comes to mod_mime and mime types, so can anyone tell me how to fix this?
I haven't installed it without using mod_mime yet just because I want to get it working while using it.
RWDF1
11-28-2004, 05:34 PM
Will this work with VB 3.0.3??
Rick Sample
11-28-2004, 06:07 PM
Will this work with VB 3.0.3??
Yes it will :)
RWDF1
11-28-2004, 06:21 PM
Ok, I installed it, the index page works, but when I click 1 of the links, I get this- Internal Server Error, this is an error with your script, check your error log for more information.
Xenon
11-29-2004, 07:32 PM
that's a server setting problem, which has been posted several times already.
nothing i can do...
RWDF1
11-29-2004, 07:41 PM
Yeah well thanks for the help.
pgowder
12-03-2004, 07:03 PM
Is there a hack for IIS??
Thanks
Just a small yet important question for me. Cud someone please tell me how can i get access to -> .htaccess
:rolleyes:
Very Easy install. :up:
how effective is it.... im not sure yet..
i have a question for Xenon. I use CMPS portal mod for my forums homepage.
If I add the url of this mod to the CPMS footer will it still be picked up by google
OR does my index page have to be in HTML in order for google to pick my site up.
damn!! did i explain my self.. im confused. :surprised:
Smitty
12-07-2004, 01:53 AM
how effective is it.... im not sure yet..I'd like any feedback anyone has as to effectiveness. Anecdotal 'evidence' (you did this hack and how and why you think it helps your listing 'rank' {not pagerank, necessarily}) appreciated.
vonedaddy
12-07-2004, 06:47 PM
Ok I accidently posted this in the wrong thread before sorry. anyway I installed this in my vb3 board and it works fine for the main forum index. When I click on something it give me the following message:
No Forum specified. If you followed a valid link, please notify the webmaster
Any ideas? Any help would be greatly appreciated.
Xenon
12-08-2004, 11:09 AM
@Viks: it's no problem if you have the link on your CPMS page, as long as it's a visible link (so no 1x1 pixel image lin)
vonedaddy
12-08-2004, 03:54 PM
Xenon. Any idea on the error I am getting?
Xenon
12-09-2004, 08:56 PM
nope, as you're getting the normal vB id error, i'd assume a incorrect installation.
but nothing to reproduce here.
at least it seems not to be a server problem
vonedaddy
12-12-2004, 12:40 AM
Ok I accidently posted this in the wrong thread before sorry. anyway I installed this in my vb3 board and it works fine for the main forum index. When I click on something it give me the following message:
No Forum specified. If you followed a valid link, please notify the webmaster
Any ideas? Any help would be greatly appreciated.
Anyone Help Please?
Guy G
12-15-2004, 12:44 PM
Ok i have found another tutorial which makes every thread and link in the forum to HTML.
so this only works for the archive right?
can i install both things?
link for tutorial is here:http://www.daniweb.com/techtalkforums/thread9379.html
Xenon
12-18-2004, 12:26 PM
i don't see a problem right now in installing both :)
joeychgo
01-09-2005, 10:49 PM
Installed - Again - On my second forum - Thanks for a great hack!!!!!!
Xenon
01-10-2005, 01:06 PM
glad you like it :)
joeychgo
01-10-2005, 05:23 PM
I do I do -- I recommend it to everyone
Xoxideforums
01-23-2005, 05:13 PM
<a href="http://www.mustangtuningforums.com/search/" target="_blank">http://www.mustangtuningforums.com/search/</a> I have no idea what is wrong... the MIME thing is installed and i've tried to get it to work without it... Um... yea i'm completely lost
Onkel_Tom
01-23-2005, 09:23 PM
http://www.mustangtuningforums.com/search/ I have no idea what is wrong... the MIME thing is installed and i've tried to get it to work without it... Um... yea i'm completely lost
Did you chmod the files forum and topic to 755 ?
Did you enter the corect syntax for the ForceType directive in your .htaccess file?
joeychgo
01-24-2005, 08:24 AM
http://www.mustangtuningforums.com/search/ I have no idea what is wrong... the MIME thing is installed and i've tried to get it to work without it... Um... yea i'm completely lost
Go through the installation instructions again - make SURE you did everything - double check it all.
Thought I'd drop a quick thanks for this hack.
I've recently placed adsense on my site and have since been looking for ways to optimise it - thanks again.
ChrisSy
03-16-2005, 10:26 AM
sorry for the bump, great hack
Just wondered if it would be possible to link the main forum folders to their matching forums in the archive?
Club3G
03-27-2005, 03:54 AM
I'm getting the index, but not the threads. I don't have mod_mime installed, but I renamed the files as such:
[x@x history]# ls
archive_functions.php footer.php header.php install.txt
config.php forum.php index.php topic.php
And edited my config.php as follows:
// and topic. into forum.php or something like.
$archive_options['forumfile'] = 'forum.php';
$archive_options['topicfile'] = 'topic.php';
Is there something I'm missing? Thanks! :)
My install is here:
http://www.sevenstring.org/forum/history/
*clicks install*
Club3G
03-27-2005, 01:47 PM
I got it working. With PHP compiled as a module, what I had to do to get this working was to create a file in the forums directory called .htaccess
In it, simply the following line:
AcceptPathInfo On
You'll also need so set Public phpinfo() Display Enabled in admincp > server settings.
Thanks again. :)
how would i make it so that threads in the forums also gets turned into the .html format?
Xenon
03-28-2005, 02:54 PM
good tip Club3G, i've added a link to you post into the description :)
joeychgo
03-30-2005, 09:34 AM
Was something updated??
asasi
04-01-2005, 11:42 AM
Hi!
This is great hack but I have problim with its correct work.
My Vb version is 3.0.7 I Followed your Advise for instalation.
My vbArchive page viewable like all threads and post. see:
http://www.irangamers.com/forums/search
but in google nothing listed.
Is the problem from submiting in google? What I have to doing?
submit site url (www.irangamers.com) or forums url (www.irangamers.com/forums) or archive url (www.irangamers.com/forums/search)
please help me Xenon!!! :nervous:
I Apologize for my weak english language :squareeyed:
joeychgo
04-02-2005, 11:11 AM
Google hasnt indexed your forums at all -
Xenon
04-03-2005, 03:29 PM
you have to wait :)
google doesn't index immediatelly :)
sportsoutlaw
04-04-2005, 02:36 AM
Im a little confused. I want my forum as Search Engine friendly as possible, so I am considering installing this. However it seems that I have read on the Vb sites that the archive is already optimized in Vb3. I run 3.0.7, so is this hack still beneficial to me in regards to SEO?
joeychgo
04-04-2005, 04:07 AM
This is better then the Stock archive.
Here is an example:
VBW Stock Archive (http://www.vbwebmaster.com/forums/archive/index.php)
VBW Archive Hack (http://www.vbwebmaster.com/forums/vbulletinforumhistory/)
Look at which one is cached deeper. The archive hack.
The archive hack is also easier to add things like google ads and banners to. See my other forum archive for an example. Lincoln vs Cadillac Archive (http://www.lincolnvscadillac.com/Lincoln-cadillac-archive/index.php)
noppid
04-04-2005, 04:13 AM
Im a little confused. I want my forum as Search Engine friendly as possible, so I am considering installing this. However it seems that I have read on the Vb sites that the archive is already optimized in Vb3. I run 3.0.7, so is this hack still beneficial to me in regards to SEO?
The stock archive is good. But if you compare, the Easy Archive is a better performer SEO wise.
One of the big issues I see to discount the archive, either or any version, is duplicate content. Be creative find that way to make every page, yes every page, and they are dynamic, unique. ;)
Cheers.
RichieBoy67
04-09-2005, 11:52 PM
Why am I unable to download any of these archivers now???
it was my winzip....taking care of now....
Trixi.com
04-11-2005, 08:48 AM
Help: Seems that I am to stupid to install well.
1. I run www.rickshawforum.com/forums
2. I created a directory for "Easy Archive" at
http://www.rickshawforum.com/forums/search
3. I changed in config.php
$archive_options['forumfile'] = 'forum.php';
$archive_options['topicfile'] = 'topic.php';
4. I changed also
// Forums URL - Directory your vbulletin forums are in (NO TRAILING SLASH!)
$archive_options['http://www.rickshawforum.com/forums'] = 'http://localhost/vb300';
// Archive URL - The location of these scripts (NO TRAILING SLASH!)
$archive_options['http://www.rickshawforum.com/forums/search'] = 'http://localhost/vb300/search';
Any idea why I get errors....? It seems that I have everything done well....I do not have any programers skills....
CHMOD 777.
Thanx for your Hilfe ;-)
Gerald
I installed Easy Archive
Xenon
04-11-2005, 07:51 PM
4. I changed also
// Forums URL - Directory your vbulletin forums are in (NO TRAILING SLASH!)
$archive_options['http://www.rickshawforum.com/forums'] = 'http://localhost/vb300';
// Archive URL - The location of these scripts (NO TRAILING SLASH!)
$archive_options['http://www.rickshawforum.com/forums/search'] = 'http://localhost/vb300/search';
that's your mistake ;)
you should change it into:
$archive_options['forumurl'] = 'http://www.rickshawforum.com/forums';
$archive_options['archiveurl'] = 'http://www.rickshawforum.com/forums/search';
Trixi.com
04-12-2005, 07:01 PM
Thank you for your help. It works now! :-)
Keep on your good work!
PS: Just an additional question: My background is grey. Where to change it to white?
See how it looks like Search (http://rickshawforum.com/forums/search/forum.php/13-1.html)
Saludos
Gerald
www.rickshawforum.com (http://www.rickshawforum.com )
Xenon
04-14-2005, 07:24 PM
you should be able to change the BG via the archive css file, i think it's the body setting, but i'm no css pro ;)
Q-v-n-s-Q
04-20-2005, 08:13 AM
thanks for the hacks, mind to try this?
http://www.efz-tm.net/forums/thread39.html
gtithesexy
04-29-2005, 10:15 AM
I had been using easyarchive without any problem on my previous host
I moved my site to a vps yesterday
but got this error when click any links on index page of easyarchive
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@xxxxx.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
--------------------------------------------------------------------------------
Apache/1.3.33 Server at www.xxxxxx.com Port 80
mod_mime and mod_rewrite is installed on my vps.
what's wrong?
artonex
05-10-2005, 02:38 PM
will this work for 3.0.7 ?
Xenon
05-10-2005, 05:54 PM
yes.
joeychgo
05-11-2005, 02:55 AM
works just fine on 3.07
Acers
05-13-2005, 05:41 AM
hey guys a bit of help here.
i did some modifications to the display of the archive .. and just when it was over i realized that i may have actually done all in vain cos this may stop search engine from spidering.
I have added just added some table borders..and rss global feeds with adsense
http://www.techenclave.com/forums/search/index.php
would it make any difference? or i have to go back to the old default presentation?
joeychgo
05-13-2005, 01:22 PM
Well - It looks nice, and it is spiderable.
But - the point of this hack is to make it as easy as possible for google to spider, i.e. the path of least resistance. The extras you added wont stop it from being spidered, but might slow the spiders down just a little. I do some minor modifications myself, although you did more then I do. You can see mine here: vBulletin Webmaster (http://www.vbwebmaster.com/forums/vbulletinforumhistory/)
-
Xenon
05-13-2005, 01:22 PM
search engines get better every day, and are indexing much more, than they did last year.
so there shouldn't be a problem with your archive pages beeing indexed
joeychgo
05-13-2005, 01:28 PM
right. Your is spiderable. but for this hack, the best method is KISS (Keep It Simple Stupid)
Thats not to say yours wont work. The difference will probably be negligable.
Acers
05-13-2005, 02:41 PM
k.. thanks.. i will probably keep this and see how it goes,
Btw any plans to integrate this to show in who's online. I tried to do some tinkering over there but didn't work. Right now i have just got it to show "viewing archives" when its on index page of archive. After that its "unknown location". If the actual thread title is tough, then any modification to just show "viewing archives" when user is anywhere on the archive page?(however deep)
Xenon
05-13-2005, 04:36 PM
nope, no plans to do so.
That's why it's called Easy Archive, i didn't want any modification in it which is not really needed ;)
smacklan
05-13-2005, 05:10 PM
very nice...thanks for the work!! **Installed**
Acers
05-13-2005, 05:26 PM
nope, no plans to do so.
That's why it's called Easy Archive, i didn't want any modification in it which is not really needed ;)
lol
never mind.. it was what you call a time pass modification anyway :D
btw i forgot to click install :squareeyed:
so /me click install
sdsvtdriver
05-17-2005, 08:03 AM
I installed the hack, renamed forum and topic with the .php extension, made change in config.php. The index displays fine, but the forum links return at 404 error.
From what I understand, the forum.php file does a conversion to html. I'm guessing there is a setting server side that needs to be enabled. What is it?
Server is IIS6+php4
DomesticMuscle.com EZArchive (http://www.domesticmuscle.com/dmforums/ezarchive)
Thanks
sdsvtdriver
05-25-2005, 06:47 AM
Has anyone gotten this to work with isapirewrite for IIS? I'm having difficulty with the rules.
Acers
05-29-2005, 06:53 AM
ok finally got this integrated with who's online. So now you will see what people are browsing when they are in archive along with thread title. Earlier it was shown as unknown location.
Might i add beforehand that this may NOT be the most optimized way of coding it. I did it in as less time as possible and it was working in the time i checked it. Maybe you can see the code and suggest changes if any to optimize.
lets start:
First plz determine the folder where you put this archive. eg in my case it was search In your case the name may be different.
now in includes/functions_online
find
case 'index':
$userinfo['action'] = $vbphrase['viewing_index'];
$userinfo['where'] = "<a href=\"$vboptions[forumhome].php?$session[sessionurl]\">$vboptions[bbtitle]</a>";
break;
replace that with
case 'index':
//start whos online mod by acers for easy archive
if(preg_match("/search/", $userinfo['location']))
{
$userinfo['action'] = 'In the Archives';
$userinfo['where'] = "<a href=\"search/index.php?$session[sessionurl]\">Viewing Archive Index</a>";
break;
}
//end whos online mod by acers for easy archive
$userinfo['action'] = $vbphrase['viewing_index'];
$userinfo['where'] = "<a href=\"$vboptions[forumhome].php?$session[sessionurl]\">$vboptions[bbtitle]</a>";
break;
replace search with whatever is your folder name.
in the same file find
else
{
// We were unable to parse the location
$userinfo['action'] = $vbphrase['viewing_index'];
$userinfo['where'] = "<a href=\"$vboptions[forumhome].php?$session[sessionurl]\">$vboptions[bbtitle]</a>";
}
underneath that add
after replacing search with whatever folder name you have
//start whos online mod by acers for easy archive
if (preg_match("/search\/forum\/(\d*)-\d*/", $userinfo['location'], $tester))
{
global $DB_site;
$titlefor = $DB_site->query("
SELECT forum.title as title
FROM " . TABLE_PREFIX . "forum AS forum
WHERE forum.forumid = " . intval($tester[1]) . "
");
$titleofforum = $DB_site->fetch_array($titlefor);
$fortitle = $titleofforum['title'];
$userinfo['action'] = 'Viewing forums archive';
$userinfo['where'] = "<a href=\"search/forum/$tester[1]-1.html\">$fortitle</a>";
}
if (preg_match("/search\/topic\/(\d*)-\d*/", $userinfo['location'], $tester1))
{
global $DB_site;
$titlethrd = $DB_site->query("
SELECT thread.title as title
FROM " . TABLE_PREFIX . "thread AS thread
WHERE thread.threadid = " . intval($tester1[1]) . "
");
$titleofthread = $DB_site->fetch_array($titlethrd);
$thrdtitle = $titleofthread['title'];
$userinfo['action'] = 'Viewing topic in archive';
$userinfo['where'] = "<a href=\"search/topic/$tester1[1]-1.html\"\">$thrdtitle</a>";
}
//end who's online mod by acers for easy archive
that should do it. Anyway i guess i am very new to modding so sorry beforehand if there are any errors here. :nervous: :nervous:
mindbuster
06-03-2005, 08:09 PM
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 I ask
Is there are Branding Free option for this ?
I dont like to clutter my website with hundreds of different copyright notices and links that has nothing to do with the content of my site :squareeyed:
Xenon
06-05-2005, 05:35 PM
hmm, to remove the jelsoft copyright, you would have to have a branding free license of vbulletin.
to remove my copyright and links, there is no branding free option nope, but you can contact me per pm, maybe we can come together ;)
mindbuster
06-09-2005, 03:21 AM
Hmm, wierd, some threads show up fine while others are just empty.
Here is a "working" thread...
http://www.entropiaforum.com/forums/history/topic/2620-1.html
And here is one that is empty, eventhough the original thread shows fine...
http://www.entropiaforum.com/forums/history/topic/1626-1.html
:disappointed:
I'm not getting any errors at all, it's just that some threads shows fine while others are empty :tired:
What could be wrong ?
mindbuster
06-09-2005, 04:31 AM
Now i just had MSN bot visiting, it was looking at...
http://www.entropiaforum.com/forums/archive/index.php/t-1864.html
What wierd URL is that ?
My easy-archive is at "forums/history", it was looking in "forums/archive" which i dont link to anymore, but the link works but it shows the old default style archive ?
:confused:
Acers
06-09-2005, 04:50 PM
bot must the old url still in its memory.
Anyway your new archive should soon be getting scanned. It takes some time.
Xenon
06-09-2005, 06:48 PM
yep, the old urls stay in memories some time
mindbuster
06-10-2005, 12:08 AM
I see, but what about this ? with the empty threads ?
Hmm, wierd, some threads show up fine while others are just empty.
Here is a "working" thread...
http://www.entropiaforum.com/forums/history/topic/2620-1.html
And here is one that is empty, eventhough the original thread shows fine...
http://www.entropiaforum.com/forums/history/topic/1626-1.html
:disappointed:
I'm not getting any errors at all, it's just that some threads shows fine while others are empty :tired:
What could be wrong ?
:confused:
joeychgo
06-10-2005, 08:07 PM
Do you plan to port this for 3.5?
Xenon
06-11-2005, 10:24 AM
hmm, that's very wierd.
never had any empty threads on all of my tests, and also there have been no reports like that before.....
@joey: i hope so.
unfortunatelly my time is limited, but if i find some, i will port it over :)
Acers
06-11-2005, 10:49 AM
has anything changed as far as archives go in 3.5 to warrant a change?
I mean what will be that will require a porting over?
Xenon
06-11-2005, 04:44 PM
a lot of variable names and function names have changed.
it shouldn't be too hard to port it over, as said, just renaming a lot of things ^^
Joep11
06-14-2005, 08:15 AM
A port to 3.5.0. would be really really really really nice! After the upgrade it doesn't work anymore, just empty pages and it was such a great add-on :(
Acers
06-16-2005, 01:22 AM
you shouldn't be upgrading to 3.5 live site now anyaway :D
but i am sure we will have this for 3.5. Its an awesome hack
Xenon
06-16-2005, 05:12 PM
i'll do my best :)
Marcus Lau
06-17-2005, 01:07 AM
hi all,
I am facing this errors can someone help me? thanks in advance!
Warning: fetch_header(./http://www.mysite.com/forums/search/header.php): failed to open stream: No such file or directory in /search/archive_functions.php on line 48
Warning: fetch_header(./http://www.mysite.com/forums/search/header.php): failed to open stream: No such file or directory in /search/archive_functions.php on line 48
Warning: fetch_header(): Failed opening './http://www.mysite.com/forums/search/header.php' for inclusion (include_path='.:/usr/local/lib/php') in /search/archive_functions.php on line 48
and there is no htaccess file in the download zipped.
Thanks in advance,
marc
Xenon
06-20-2005, 09:44 AM
maybe your download was corrupted.
all those files are included in the zip file
xtreme-mobile
06-20-2005, 09:48 PM
may be a dull question but how do i install the mime_mod thing? :(
Xenon
06-20-2005, 10:41 PM
you should look at the apache manual about how to load additional modules
xtreme-mobile
06-21-2005, 06:31 PM
as in that link thats posted above? that doesnt seem to tell me much i dont ujnderstand whats they are on about:(
Xenon
06-21-2005, 06:37 PM
it's a question about setting up servers.
you may want to ask at the server setting forum over at vbulletin.com
i'm a coder, no server guy, sorry ;)
xtreme-mobile
06-21-2005, 06:41 PM
oh mate no probs :D
ive asked my host no so if they do it all well and good :)
xtreme-mobile
06-21-2005, 07:00 PM
i installed it anyway and my host seems to think the mime mod is already installed
if i get the links showing fine and then a page can not be displayed message when i click them does that mean i have installed it correctly? its just a case of then sorting the mime mod out?
xtreme-mobile
06-22-2005, 08:51 PM
whats the error that will show if mime mod thing is not installed?
page can not be displayed or should it take you to an apache page :(?
cheers
dean
ive installed it here
http://www.extreme-mobile.com/forums/archive
xtreme-mobile
06-23-2005, 04:32 PM
anyone?
xtreme-mobile
06-27-2005, 09:30 PM
bump
Strike3ForumsMH
06-29-2005, 02:34 AM
I am not using Mod Mime so I did the changes neccessary when not using it. The forum list displays fine. But when I click on those I get 404 error's. I am nearly certain that everything was installed right and my guess of the error is due to the .htaccess. I upload the file (even with the changes suggested by two users on this thread) and it just doesnt appear with the other files. So this has lead me to believe I perhaps do not have .htaccess abilities (I did upload through ASCII mode) if that is the case what should I do?
I apologize for my noob questions. That was just the only thing that looked fishy to me in this process but likely it's something else that I am just oblivious to.
Any help would be appreciated.
Thanks
Xenon
06-29-2005, 03:07 PM
.htaccess should work on most apache servers.
i don't know if there is an equivalent on other server software as well, i'm just a coder, not a server guy ;)
xtreme-mobile
06-29-2005, 07:18 PM
i really dont get this :(
if the mod mime thing is not installed what error would it show?
can you give me an example of what i should have put in the config file please?
it shows up fine but i get errors when i click a link, i realy want this to work big time :(
my host says the mod mime is installed so i dont understand whats wrong
Xenon
07-03-2005, 01:41 PM
if it's not working, it would give you an 404 error on the forum/thread pages
jesus likes pie
07-05-2005, 02:04 AM
/me clicks install
KevinL
07-05-2005, 02:08 AM
I have to say this works awesome!
One minute after adding the link to it there was spiders crawling all over it. :)
Acers
07-06-2005, 01:27 PM
damn damn...
well shifted my site to new site5 servers and started getting 500 internal server errors... :(
saw posts on page 8 and it looks like there is no solution for this/// umm xenon proove me wrong and say there is a solution :D
damn damn
Acers
07-06-2005, 02:12 PM
hmm btw i got the default archive of vb working by putting a new php.ini file in as suggested at vb.com
http://www.vbulletin.com/forum/showpost.php?p=691453&postcount=13
<?php
cgi.fix_pathinfo = 1
?>
but on doing that, this hack is still not working...
EDIT:
Yipeee...
got it working.
just renamed the forum and topic to .php
edited the config and its working again...
:nervous:
Acers
07-06-2005, 04:11 PM
now i have run into another problem In fixing all this i have ended up getting my file names of this kind.
http://www.techenclave.com/forums/search/topic.php/4821-1.html
Notice the .php in between.
umm,,, earlier it was like
http://www.techenclave.com/forums/search/topic/4821-1.html
won't google ignore everything after .php?
and a sideeffect is that all the older cached links in google are giving a 404 errors due to this change. So am flooded with 404 errors guests. Anyway to fix this? or more importantly is that .php inbetween ok?
Xenon
07-07-2005, 07:01 PM
the .php in between is ok, directories can have extensions as well, it's jsut not popular ;)
fixing old links, would be doable by mod_rewrite and a nice htaccess hack, with regular expressions, but not sure what exactly it should be ;)
xtreme-mobile
07-12-2005, 08:52 AM
ok ive managed to get past the 404 error when i click a forum it now shows the topics.... BUT
when i click the topics it self i get a page can not be found error
also i dont know if this makes a differebce but when i click the topics the url is changed to this
http://localhost/forums/archive/topic/760-1.html
where as this is what it should be
http://extreme-mobile.com/forums/archive/topic/760-1.html
any way of how to fix this?
nearly there :)
Xenon
07-12-2005, 02:32 PM
are you sure you have edited the config files correctly?
xtreme-mobile
07-13-2005, 07:14 AM
all fixed now
great hack :D
Acers
07-13-2005, 07:20 AM
the .php in between is ok, directories can have extensions as well, it's jsut not popular ;)
fixing old links, would be doable by mod_rewrite and a nice htaccess hack, with regular expressions, but not sure what exactly it should be ;)
dunno why, but since the time i got this .php directory extension.. the google has just vanished from the archives.. i have resubmitted but still nothing :S
Earlier it was always flooded but now not even a single spider is there while google is still there in force on my normal site.
xtreme-mobile
07-13-2005, 07:22 AM
yeh ive noticed this.
when mine want working i submitted anyway and there was loads looking at the archive in minutes but now nothing after a day
Acers
07-13-2005, 08:37 AM
yeh ive noticed this.
when mine want working i submitted anyway and there was loads looking at the archive in minutes but now nothing after a day
in your case atleast your urls don't have .php in between. I my case cos of this silly cgi-php problem with site5 i have had to put .php in urls(you can check in my sig the archives and .php in topic and forum view)...and i was thinkings thats the cause of the prob
Xenon
07-14-2005, 04:45 PM
google isn't active every day, the spiders will visit your boards again.
mikehawk
07-18-2005, 02:40 AM
In config, do I alter these as well? Or just the options below? I'm noobed... chdir would be what?
require_once('./archive_functions.php');
chdir('../');
require('./global.php');
$archive_options = array();
Xenon
07-18-2005, 12:56 PM
just the options below :)
mikehawk
07-18-2005, 11:02 PM
just the options below :)
Yeah I figured it out shortly after I installed the hack. Thanks :)
krohnathlonman
07-22-2005, 01:09 PM
the index in 3.5 comes up with a permissions problem. All threads/forums are blank.... I'm trying to track down the function change list now
Acers
08-03-2005, 08:50 AM
hi xenon..
bit of prob here.. or maybe not.
I have your hack installed on my site. Now prob was that 1 month back i moved to site running php as cgi. Now i did some changes together with my host(No code change though) and have it working on my site in origianl form
like here
http://www.techenclave.com/forums/search/
Now i saw that google is crawling it too. Have the google sitemap integrated on forums and changed its code to use this forums url instead of stock archives.
But i just had a look at google today... and i see this :S
Google Search (http://www.google.co.in/search?q=site%3Ahttp%3A%2F%2Fwww.techenclave.com%2 Fforums%2Fsearch%2F&sourceid=mozilla-search&start=0&start=0&ie=utf-8&oe=utf-8&client=firefox-a&rls=org.mozilla:en-US:official)
err there are whole lot of urls there but no description at all...:(
i checked other sites running your archives like
http://www.howardforums.com/archive/
and
http://forum2.youceff.com/search/
and for them when you do a google query
you get results as
Result1 (http://www.google.co.in/search?q=site%3Ahttp%3A%2F%2Fwww.howardforums.com% 2Farchive%2F&sourceid=mozilla-search&start=0&start=0&ie=utf-8&oe=utf-8&client=firefox-a&rls=org.mozilla:en-US:official)
and
Result2 (http://www.google.co.in/search?q=site%3Ahttp%3A%2F%2Fforum2.youceff.com%2F search%2F&sourceid=mozilla-search&start=0&start=0&ie=utf-8&oe=utf-8&client=firefox-a&rls=org.mozilla:en-US:official)
Now as you can see they have descriptions also in the results...
Now what am i doing wrong or exactly whats the cause of this prob.
asasi
09-07-2005, 10:10 AM
Hi!
What is this error?
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@ziafat.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
is this for htaccess????? is it natural??? :disappointed:
http://www.ziafat.com/forums/search
Xenon
09-07-2005, 10:41 AM
that's when your apache is not installed correctly to work with this hack.
most likely mod_mime is not installed
xtreme-mobile
09-10-2005, 11:24 AM
added to my 2nd (new) forum great hack
Now working on
http://www.extreme-mobile.com/forums/archive
and
http://www.talk-365.com/archive
many thanks
dean
redspider
09-17-2005, 11:03 PM
my server guys wont install mod_mime because not enought demand for it .
can this hack still work 100% if I use files as php ?
Tia
Xenon
09-18-2005, 12:27 PM
normally yes, it's not designed to work that way, but my testings showed that it works.
be sure to change the configurations :)
David_R
09-28-2005, 10:44 AM
how can i include/embedd another php file into footer.php ? to enable digital point coop ads.
xenon please help me here
Smitty
10-04-2005, 11:26 AM
Found the new version (for vB 3.5) and it works. :)
puertoblack2003
10-08-2005, 12:56 AM
great hack, and almost done but ran into trouble (minor) i'm a noob, follow the instructions and read the post to the problem i have but not clear to resolve the problem
it took me to the site the archive but when you click on the link it gives me a page can not be found what else do i have to do?
thanks
EXAMPLE: PAGE CAN NOT BE FOUND (http://www.nievesidenshop.net/search/) :ermm:
Xenon
10-08-2005, 11:30 AM
from what i see you have not entered the urls correctly in you config file.
once it's /search/
and once it's vb300/search/
asasi
10-10-2005, 10:48 PM
forums in listed but after click eny forum (The Page cannot display) will come! :disappointed:
Scribbller
10-12-2005, 04:23 AM
Does this hack work on VB 3.0.9 ?
Xenon
10-12-2005, 11:03 AM
yep!
For those that have installed this wonderful hack, did you remove the /archive/ directory?
Or you have both the archive/ and the easy-archive/ directory together?
Just concerned about getting banned from Google due to double contents.
rossco_2005
11-03-2005, 08:39 PM
edit: wrong version of this. :P
I've removed the History mod/link because there is a high probability that Google will find out about the double content (which is against their TOS). Only using the archive which is already great. :)
MRGTB
11-08-2005, 03:38 AM
Are you saying that if you use this and have google adsence installed you will get banned becuase it will detect the "print archive versions" of threads as well as the "easy archive mod threads", and see them as double archive content and ban you from adsence?
MRGTB
11-10-2005, 10:34 PM
Is there anyway to have a link displayed in eaxh thread that will lead to the Easy Archive version of that thread?
Brandon Sheley
11-12-2005, 07:50 AM
will this work with 3.5.x ?
Xenon
11-15-2005, 09:30 PM
there is a version for 3.5, but there have been reports it does not work correctly
Brandon Sheley
11-16-2005, 05:37 AM
ah, bummer.. thx for the reply Xenon :)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.