PDA

View Full Version : vbArchive - Search Engine Indexer for vBulletin


Pages : [1] 2 3 4

TECK
01-12-2003, 10:00 PM
vbArchive v1.3 Released
240,000 Google pages (http://www.google.ca/search?q=showthread/t-&hl=en&lr=&ie=UTF-8) (and counting...) indexed so far. Congratulations to all users!

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

I also added a new meta tag (http://www.robotstxt.org/wc/meta-user.html) for crawlers:
<meta name="robots" content="index,follow">

To upgrade from 1.2, simply upload the new archive.txt and forumdisplay.txt files.
Then REVERT to original all templates and run the NEW installer script to un-install/install the templates.

IMPORTANT
If you already installed version 1.3, check the "archive_forumtitle" template and see if you have there a variable called "$archiveurl".
If you do, clean your browser temp files and redownload the package, it was a mistake I made in the code.
The file is now updated with the new code.

Not convinced this is a good script? A picture (https://vborg.vbsupport.ru/showpost.php?s=&postid=346237) and it's Google results (https://vborg.vbsupport.ru/showpost.php?s=&postid=347922) is worth 1000 words (thanks xiphoid).
Is funny that few people rated 1 my script, we wonder who they might be? ;)

DEMO WEB SITE: vBulletin.org Archive (https://vborg.vbsupport.ru/archive/) (Google Results (http://www.google.com/search?q=site%3Ateckwizards.com+archive&ie=UTF-8&oe=UTF-8&hl=en) for TeckWizards.com Archive)
ESTIMATED INSTALL TIME: 2 minutes

Script Information
IF YOU WANT TO READ fastforward's EVALUATION ABOUT THE TECHNIQUE USED, READ MORE HERE (https://vborg.vbsupport.ru/showthread.php?postid=342375#post342375).

This script will install the Search Engine Indexer Add-On for vBulletin.
Is the little brother of vbHome (lite) Archive Add-On (https://vborg.vbsupport.ru/showthread.php?t=56617).

NOTE
The script uses Apache's ForceType directive. Most of Apache servers have it installed by default.
Check with your host to make sure the module is installed.
If you use another server then Apache, the script will NOT work.
The only solution I found for IIS is the ISAPI Rewrite (http://www.isapirewrite.com/) module.

The script uses only 6-12 queries, depending on what page you view, and it works with any 2.2.x vBulletin version.

Some of it's cool features are:
- vBulletin 3 style
- listings based on forum/thread permissions
- forums architecture followed [example (https://vborg.vbsupport.ru/forumdisplay/f-3.html)]
- classic .html extension usage
- dynamic meta tags (unique for each forum/thread/post, extremely important for good indexing)
- no broken links while using no_permission functions
- navigation bar
- multiple pages (200 threads or 100 posts per page) [example (https://vborg.vbsupport.ru/forumdisplay/f-4.html)]
- template based, so you can edit it's look easy
- installer included

You will ask: So what the script does?
It makes all your forum URL's as search engine friendly, so they can be easy indexed by all search engines.
For example, the URL:
forum/forumdisplay.php?forumid=9&daysprune=365&sortorder=&sortfield=lastpost&perpage=25&pagenumber=2
will look like:
forum/forumdisplay/f-9-p-2.html
That will allow any search engine to index properly all your forum contents, in no time.

IMPORTANT
Do NOT get "creative" and start adding crazy stuff (popups, etc.) and links to the actual templates.
The most 2 important things for your pages are:
1. good meta tags
2. clean html code that won't upset the crawlers

The script was optimized to perform at it's best the way it is now, so crawlers gravitate only onto the archives files, not outside.
You can edit the archive_homekeytag to enter your web site key words.

The link to forums page is needed (image logo), because some search engines might consider this as URL cloacking, if you don't link it back to your actual forums. Don't worry about the rest, if you performed the first 3 steps in Forums Optimizations (listed below), they will go back and forward to the archives, without any problems.
Also, follow the readmefirst.htm instructions carefully. :)

Upgrade from previous version (lower then 1.2)
Estimated time for uninstall-install process: 5 minutes
Follow these steps (clear your browser temporary files before you download the new file):
1. Revert to original all archive templates.
2. Run the OLD Installer script and un-install the script components.
3. Follow the NEW instructions in the readmefirst file, included in v1.2 package.
NOTE: Overwrite the OLD code with the NEW one, in functions.php file.

Other similar scripts
Those scripts are alternatives to my code. Have your pick for the one it suit better your taste or forum performance. :)
SkuZZy's vB Easy Archive (https://vborg.vbsupport.ru/showthread.php?s=&threadid=47087) - another script coded by Xenon
fastforward's Spider Friendly URL's (https://vborg.vbsupport.ru/showthread.php?s=&threadid=18035&highlight=fastforward) - it uses the mod_rewrite

Forums Optimizations
You MUST perform also some the mods listed below if you want your forums optimized properly for search engines indexing.
Steps 1 to 3 are vital, the rest is optional.

1. TO STRIP THE sessionhash FROM TEMPLATES (ONLY FOR CRAWLERS), READ MORE HERE (https://vborg.vbsupport.ru/showthread.php?postid=342706#post342706).
2. TO BLOCK CRAWLERS GO TO CERTAIN PAGES, READ MORE HERE (https://vborg.vbsupport.ru/showthread.php?postid=342923#post342923).
3. TO LINK EACH FORUM/THREAD DIRECTLY TO ARCHIVE FILES, READ MORE HERE (https://vborg.vbsupport.ru/showthread.php?postid=344457#post344457).
4. TO DISPLAY NICE LOCATIONS, THE FIX FOR online.php FILE IS HERE (https://vborg.vbsupport.ru/showthread.php?postid=342218#post342218).
5. TO DISPLAY CRAWLER NAME INSTEAD OF GUEST ON FRONTPAGE AND ONLINE PAGE, READ MORE HERE (https://vborg.vbsupport.ru/showthread.php?postid=352073#post352073). (mod by Inphinity and xiphoid)
6. TO DISPLAY CRAWLER NAME INSTEAD OF GUEST ON ONLINE PAGE only, READ MORE HERE (https://vborg.vbsupport.ru/showthread.php?postid=351786#post351786).
7. IF YOU WANT THE MAIN ARCHIVE FILE TO HAVE A .php EXTENSION, READ MORE HERE (https://vborg.vbsupport.ru/showthread.php?postid=342448#post342448).
8. TO CHANGE THE threads/posts per page NUMERIC VALUES, READ MORE HERE (https://vborg.vbsupport.ru/showthread.php?postid=342451#post342451).
9. TO DISPLAY THE SMILIES AS image parsed, READ MORE HERE (https://vborg.vbsupport.ru/showthread.php?postid=346995#post346995) (mod by Logician).

IMPORTANT
Kill crawler918.com! READ MORE HERE (https://vborg.vbsupport.ru/showthread.php?postid=343893#post343893).

Other Users Demo's
Feel free to post your archive link, so I can display it here.

TeckWizards.com Archive https://vborg.vbsupport.ru/external/2003/01/1.gif (http://www.teckwizards.com/archive.html)
eva2000's Anime Boards (http://animeboards.com/archive/) archive
overgrow's Edge Forums (http://www.overgrow.com/edge/archive/) archive
glenvw's Yes-Its-Free (http://www.yes-its-free.com/vBs/archive/) archive
codeweb's Code Webs (http://www.codewebs.com/archive/) archive
xiphoid's Open Forum (http://www.creations.nl/forum/archive/) archive
Hwulex's Xaprief (http://www.xaprief.com/forums/archive/) archive
BiggieSwolls' Steroidology (http://www.steroidology.com/forum/archive/) archive
GearedUp's FitnessGeared (http://www.fitnessgeared.com/archive/) archive
saint_seiya's VG City (http://www.vgcity.com/forum/archive/) archive

Search Engine Submission
You should follow these guidelines to get listed in every major search engine:
(also visit those forums (http://www.searchengineforums.com/) for more information)

DO NOT CHEAT
- do not use URL cloaking (https://vborg.vbsupport.ru/showthread.php?postid=351150#post351150)
- do not use automatic search engine submitters, do it manually
- do not use 1 pixel images to link your archive file
- do not make invisible your link text, by masking it with the same background color
- do not use 1-4 pixels text at the top of your page, to display the site contents
- do not link your archives file to an image without using the alt="" tag

GOOGLE INDEX STATUS
To see how your site is doing, related to links, go to Google Web Site (http://www.google.com) and type:
site:yourwebsite.com archive

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.

GOOGLE TECH SUPPORT E-MAIL [LINKS ARE "DROPPED"? NO]
If your site is new, or hasn't shown up in Google for long, it may because our "fresh crawl" (which runs each day) was finding your site instead of our main crawl (which runs about once a month). Our "fresh crawl" is a newer feature, and we're still experimenting with which pages to crawl, how deeply to crawl, etc. We even reserve the right to (gasp!) not do a fresh crawl on some days because we're doing tests or reviewing new code. Someone wrote in recently and said "my site got in Google three weeks ago, and you've dropped me four times!" Nope, it's just that we don't always crawl the same pages in our fresh crawl, and we don't always crawl to the same depth. As we do a full crawl of the web, we find most of the sites from our fresh crawl and put them in our regular index. My advice on our fresh crawl is to view it as a nice "bonus" on top of Google's deep index. Users can always search our full index, but sometimes we can serve up even fresher pages as an extra nicety.

What does this mean for the average webmaster? In the word of the great Hitchhiker's Guide, "Don't Panic."
Just do the normal things you should do:
1. Create a great site.
2. Submit your site to Google on our "add url" form.
3. Get a link from the Open Directory Project or other directories (Yahoo, etc.).
4. Don't panic if your site takes a little while to show up in Google. Be patient, and start to look around the web--there's lots of great advice about improving your site for users and search engines.

Hope this helps,
xxxxxxxxxx

RECOMMENDED SEARCH ENGINES
1. Google - The largest and best index at the time.
Submit your link here (http://www.google.com/addurl.html).

2. Inktomi - This is the database that feeds iWon, 4anything, AOL Search, HotBot, GoTo, ICQ, LookSmart, MSN Search & Snap.
Submit your link here (http://www.hotbot.lycos.co.uk/submit.html) and here (http://submitit.bcentral.com/msnsubmit.htm).

3. Fast / AllTheWeb - This Norwegian index is almost as good as Google.
Submit your link here (http://www.alltheweb.com/add_url.php).

4. AltaVista - Still one of the big guns, despite its temperamental ranking system.
Submit your link here (http://addurl.altavista.com/).

5. Walhello - Mysterious new index with great results. Get listed, it is on its way up.
Submit your link here (http://www.walhello.com/addlinkgl.html).

6. Non-English Indexes - The people of these countries use their own search engines. It helps if your site is in their language, because they will be searching for keywords in their own language.
Caloweb France - Submit your link here (http://fr.caloweb.com/html/ajouter_url.php).
Caloweb Germany - Submit your link here (http://www.caloweb.de/html/url_anmelden.php3).
Caloweb Spain - Submit your link here (http://es.caloweb.com/html/registrar_url.php).

DEAD ENGINES
There is no point trying to submit to these search engines:
Excite - dead, now uses pay-per-click results
Direct Hit - will be retired shortly
Northern Light - no longer available to the general public
Lycos - now use AlltheWeb's index

Once you done all this, watch the incoming traffic that will arrive to your site.
Good luck. :)


Copyright Permissions
1. You ARE NOT allowed to REMOVE or MODIFY the copyright text at the bottom of the page.
The copyright MUST be in a distinctive color and easy readable by visitors.
2. You ARE NOT allowed to ALTER in any way the URL links listed in the copyright text.
The Search Engine Indexer link pointing to TeckWizards.com MUST stay intact.
You can remove ONLY the vBulletin version or replace the direct link to vBulletin site with your referral link.
3. You ARE NOT allowed to DISTRIBUTE the contents of downloaded .zip file.
4. You ARE NOT allowed to COPY ANY PARTS of the code and use it for distribution.

TECK
01-13-2003, 05:50 AM
A little note, this was tested on normal URL's:
http://www.yoursite.com/forum

If you use an URL like:
http://forum.yoursite.com/
you will have to hack yourself the files, since I don't provide support for the script.
If you want a working version no matter how it is the forum URL, then use vbHome (lite) (https://vborg.vbsupport.ru/showthread.php?s=&threadid=36756) and it's Archive Add-On.

Chris Gwynne
01-13-2003, 05:58 AM
Beautiful.

TECK
01-13-2003, 06:17 AM
I did an extensive research to compile all this information for you guys...
I hope you will enjoy it. :)

Chris Gwynne
01-13-2003, 06:41 AM
Hehe, well I've been checking it out on your forums and it's great. vB3 includes this as default?

Floris
01-13-2003, 08:23 AM
Nice work nakkid,

I noticed that each page archived has this in their meta tags

<meta name="keywords" content="vbhome,indexer,search,submit,portal,news,frontpage ,teckwizards,vbulletin,forum,bbs,discussion">
<meta name="description" content="Search Engine Indexer will create friendly URL's for vBulletin software. To visit the author's website, go to http://www.teckwizards.com/ .">

And I have also removed the Powered by Search Engine Indexer part from the <img> tag that is in front of the navbar. I see no reason why it is there - it replaces the original vbulletin part, which I have replaced with my own title.

I kind of dislike that since they are not words I would like to use and they are not part of the copyright. I removed those and replaced with my own, doubt you mind this.

It was easy to install, and done in a matter of minutes. There are a few things that I noticed - the templates are put in their own group, and there were only a few little file changes. Nice job.

For anybody who wants to see another live-demo:
http://www.creations.nl/ and click on the 'Archives' link in the bottom menu. Or go directly to http://www.creations.nl/forum/archives.php

If you want to see differences between styles, you can also goto creations main site and click on 'Click here to load the new mozilla style' and then goto the archives link.

And I have just submitted the url http://www.creations.nl/forum/archives.php to all the above search engines.

TECK
01-13-2003, 08:33 AM
Originally posted by xiphoid
Nice work nakkid,

1. I noticed that each page archived has this in their meta tags

2. It was easy to install, and done in a matter of minutes. There are a few things that I noticed - the templates are put in their own group, and there were only a few little file changes. Nice job.
1. You can edit them the way you like in the archive template, in fact you are supposed to do this, in order to match your site content. :)
2. Thanks. I'm glad you like it. The idea was to release something that is performant, code efficient and very easy to install.

TECK
01-13-2003, 09:04 AM
Floris, don't use the sessionhash link onto your forum home page.
Use instead this link:
$bburl/archives.php

Look at VB3 the way they link it, is search engine friendly. ;)

Hmm I noticed also you made a mistake: do not link at the top your graphics logo to the main page.
That will make the crawler go nut, in circles. Leave the template the way I made it, it was designed especially this way, except for the metatags and other minor cosmetics things you like to change (like the vbulletin bullet).

As long as the copyright stays intact at the bottom, you can change anything you like, onto your templates. :)
However, the code is optimized based on my research related to crawlers.

Floris
01-13-2003, 09:07 AM
Originally posted by TECK
Floris, don't use the sessionhash link onto your forum home page.
Use instead this link:
$bburl/archives.php

Look at VB3 the way they link it, is search engine friendly. ;) Force of nature :banana:

But they have index.php/ so index.php is a directory - rather then a file. Dir's are better archived.

I will make the link $bburl/archives.php/

TECK
01-13-2003, 09:08 AM
To fast for me, heh... check the added text above, in my previous post...
But they have index.php/ so index.php is a directory - rather then a file. Dir's are better archived.
Not really true, check the Google facts, they aply for all search engines I listed in the first post.

Floris
01-13-2003, 09:17 AM
Originally posted by TECK
To fast for me, heh... check the added text above, in my previous post...

Not really true, check the Google facts, they aply for all search engines I listed in the first post. Well, I just updated, and the / at the end works.

I will update the top image to not link

Nag: Does the link in the footer to your site make the bot crawl your site too?

TECK
01-13-2003, 09:22 AM
No, because the crawler looks at the first think on the page always. In your case, it was the logo, with a link.
So here it is the way a crawler does the job:
It goes to the very first link and goes through it's roots all the way to the end, then it grabs the next available link and go to it's roots, etc.

So basically, the last links the crawler will visit are the copyright ones, but not before the hole forums will be indexed, due to it's root scanning.
If you have the same link at the top, in every page spidered by the crawler, it will get it confused... you get the idea. :)

Elem
01-13-2003, 09:58 AM
hi, i think this is a great hack and was really easy to install, however i am in fact using a forums.mydomain.com

When i try to click a link in archive.php it gets 404. Although it says the url is pointing to forums.mydomain.com/forumdisplay/f-1 which is exactly like how it shows on Xiphoid's site.

I realize that the redirect must be screwed up somewhere, is there any way you could point me in the right direction to start looking for the fix?

cheers

Floris
01-13-2003, 10:09 AM
A nice addition to your hack would be the update for who is currently online.

Unknown Location: /forum/archives.php/ ...
Unknown Location: /forum/forumdisplay/ ...
etc

TECK
01-13-2003, 10:13 AM
Elem, set the $bburl (vBulletin forum URL) to a normal URL type. (best way)

OR

Try setting in each file (above eval( 'dooutput) and each function (below function archive...) this code:
$cleanurl = 'http://www.yoursite.com/forum';

where the clean URL listed above is the un-redirected one.

Then replace in all script files and templates $bburl with $cleanurl

I don't offer support for this issue, so hack it at your own risk, since I will never use this type of redirection who creates only problems with cookies and many other issues.

Floris
01-13-2003, 10:13 AM
Originally posted by TECK
No, because the crawler looks at the first think on the page always. In your case, it was the logo, with a link.
So here it is the way a crawler does the job:
It goes to the very first link and goes through it's roots all the way to the end, then it grabs the next available link and go to it's roots, etc.

So basically, the last links the crawler will visit are the copyright ones, but not before the hole forums will be indexed, due to it's root scanning.
If you have a link at the top, it will get it confused... you get the idea. :)

EDIT: do not use /archive.php/, leave it as a normal file the way it is intended, when you link it onto your forums page, at the bottom.
If you really want to use it as a folder, do this:
FILE: htaccess.txt
ADD:
<files archives>
ForceType application/x-httpd-php
</files>
Upload it to your server and rename it.
In all functions, simply replace archives.php with archives
Then rename onto your server the archives.php file to archives and you are done, now you have a directory instead of a file.

Directory or .php file, is the same thing for Mr. Crawler, as long as the URL is friendly. :)

Ok, but I have the link as .php/ now and it gives no errors and works just fine. Why shouldn't it be used like this?

KuraFire
01-13-2003, 10:19 AM
Originally posted by xiphoid
...
- the templates are put in their own group,
...

That's quite easy though. Here's how to do that with your own templates that are part of a group:

(this is also in the install instructions, but a not-important part so I doubt anyone'd mind me explaining it here)

In admin/template.php there is a line:

unset($only);

Below that, there are a whole bunch of lines that are basically this:

$only['<startofthetemplatenamegoeshere>'] = 'Pretty Group Name Goes Here';

(for the Archive templates, it's:
$only['archive'] = 'Archive';
And therefore all templates that start with archive will be placed in that group).

You can do that with any group of templates, just make sure you put the templates in your vB's default template set, and not your custom styleset (for they'll be considered "Custom Templates" and appear in their own list)


Nice hack, I'll be adding it to my board later :):up:

TECK
01-13-2003, 10:19 AM
Floris, do you normally use a slash at the end when you link to a .php file? ;)
Do it my way, you make only 2 small changes to the functions and you are sure it will look as a directory, or leave it as archives.php, it will not hurt at all.
I just did it onto my site, it took me 30 seconds to edit everything, including upload...
http://www.teckwizards.com/archive/

TECK
01-13-2003, 10:22 AM
KuraFire, he said the templates ARE put in their own group.
Floris was making a review for others to find out more about the script.

Floris
01-13-2003, 11:21 AM
I have a seperate statements.php and contact.php file and some others, I installed FireFly's whoisonline hack where you can enter such info, but .. they all work, I just can't seem to add archives.php - it won't recognize it. Maybe because of some subdir, because this is how the whois online looks when someone presses on the archives.php file:

Unknown Location: /forum/archives.php/images/mozilla/cat_09.gif?s=<removed>

Velocd
01-13-2003, 01:12 PM
Looks like a well done hack, I'll have to install it after I get the new design of my forum going.

Great job Teck ;)

TECK
01-13-2003, 01:29 PM
I have an idea, what if I add to the meta tags the forum title as well as few forum threads? In this way every page will have different tags... So the search engines will have even a better variety of words for each page...

Also I just found out that, according to the new crawling rules, is recommended NOT to separate the meta keywords by commas???? :confused:
Normally keywords in meta tags are separated by commas. Comma is take as "Or" while space is taken as "And". However there is some evidence that when keywords are separated by a space the search engines make their own combination of keyword by itself.
LINK: http://www.webdesigns2000.com/WebPage1/metatags.htm

It will be even easier to make the mod then...

Dean C
01-13-2003, 03:23 PM
Looks extremely nice Floren - i'll check this out for definate :D

- miSt

TECK
01-13-2003, 04:22 PM
Glad you like it Dean... almost done with dynamic meta tags mod... so it will index different value tags for each page. :)

Floris
01-13-2003, 04:53 PM
Is your meta tag mod ready for only this hack, or is it a new hack that can be inserted into the style > header - and therefor work on each page ? - and if so : could it be two parts? 1 - default words, and 2 - dynamic words

glenvw
01-13-2003, 04:58 PM
Hi Guys and Gals

You all never fail to impress me with these awesome hacks..

I originally installed a different crack found on vbulletin.org from Xenon and Skuzzy but then ran acoross yours...

There's is here:

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

Yours is here:

http://www.yes-its-free.com/vbbs/archives.php

Obviously I do not know what I am doing since I was not successful in the template change. Can you explain to a novice how I edit, and what I edit to get my template design to work with yours?

Thanks!1111111111111111111111111111111111111111111 111111111111111111111

TECK
01-13-2003, 05:15 PM
You want to add the header from first archive to the second one?
vBulletin Options > Templates > Modify > [expand list] > Archive Templates [expand]

If you wait another hour, I will release a better version with dynamic meta tags... Wait for the template editing... orelse you will have to revert them back to original, in order to install the new version.

glenvw
01-13-2003, 05:31 PM
sitting on the edge of my seat..

please make sure to tell a novice how to upgrade :-)

TECK
01-13-2003, 05:43 PM
It will be a snap to upgrade... :)
Hold on still working on it... I'm testing some extra options.

drumsy
01-13-2003, 06:18 PM
I've installed, eagerly waiting for the revised templates.

Also, in your instructions, in the Final Step you specify to run the "vbhlarchive.php" script installer. I believe you meant to say "vbarchive.php". :)

Also, (don't know if you'll fix this problem in this new version) but when I add
$header, the links to my buttons are messed up. It starts looking in a forumdisplay directory, which it shouldn't. Why is that?

TECK
01-13-2003, 06:42 PM
Do not add the $header! It will ruin the indexing. And please do not customize the templates, they will need to be reverted to original, in order to upgrade to the new version.

Almost done with it guys... the dynamic meta tags rock. :)

KuraFire
01-13-2003, 07:41 PM
Originally posted by TECK
KuraFire, he said the templates ARE put in their own group.
Floris was making a review for others to find out more about the script.

I know :)
I merely elaborated for other people so that they know how it works, if they didn't already :)

drumsy
01-13-2003, 08:30 PM
Originally posted by TECK
Do not add the $header! It will ruin the indexing. And please do not customize the templates, they will need to be reverted to original, in order to upgrade to the new version.

Almost done with it guys... the dynamic meta tags rock. :)

Understood. I've modified the avatar template slightly to remove the unsightly color and vBulletin logo. Clash is not good.

glenvw
01-14-2003, 12:32 AM
I just got back in.. YOu're not ready yet are you with the upgrade?

TECK
01-14-2003, 12:46 AM
I just got home. :) In 5min the files will be up, I didn't have time to do it earlier, my wife's fault... :D

TECK
01-14-2003, 01:03 AM
Version 1.1 released. please do NOT get 'fancy" and start adding crazy stuff to the templates, just to drive nuts the crawlers.
Leave it the way it is now... read more on the first post about the meta tags, where to change them.
DEMO:
http://www.teckwizards.com/archive/

glenvw
01-14-2003, 01:28 AM
Not quite sure where to check this:

Before you run the vbarchive.php script installer, you must make sure how the {imagesfolder} replacement variable is set.
If you have it set to the full URL, you will need to edit the script installer and replace any:
$bburl/{imagesfolder} with {imagesfolder}.

glenvw
01-14-2003, 01:36 AM
Still didn't get my current template style.

does that mean I have to edit each of the new templates?

TECK
01-14-2003, 01:38 AM
What did you do exacly? Did you read the upgrade procedure posted in the first post?
The imagesfolder replacement variable, is in Replacements.

glenvw
01-14-2003, 01:39 AM
yepper

Did it all, un installed an reinstalled everything.

New url:

http://www.yes-its-free.com/vbbs/archive/

It works awesome but I must not be doing something right...

Real template style:
http://www.yes-its-free.com/vbbs/

TECK
01-14-2003, 01:50 AM
No, is ok like that. :) Leave it as simple as it is now, you will not regret it.
Do not add those links from your current header, you will NOT get indexed onto search engines because all crawlers will follow the top links, instead of going to your actual web site links, listed in the archive.

TECK
01-14-2003, 02:02 AM
There is a minor typo I made in the forumdisplay.txt file.
Find:
$meta['title'] = '$bbtitle';
Replace with:
$meta['title'] = $bbtitle;

Sorry guys. File updated.

glenvw
01-14-2003, 02:04 AM
Does it look better now?

Is there a problem with my http linking the Logo?

TECK
01-14-2003, 02:07 AM
Ya, that's a big problem. Every time a crawler goes to a new archive page, the first link it sees is your forum link, so it will leave the archive.

Remember, I did it in purpose like that guys, not for fun.

TECK
01-14-2003, 02:14 AM
Look how useful is the pagination for large forums:
http://www.yes-its-free.com/vbbs/forumdisplay/f-4

ManagerJosh
01-14-2003, 07:11 AM
Great hack Teck...

just think you might want to that I'm pretty sure google powers aol search

Gonna install in 30 day to see if it really works :)

drumsy
01-14-2003, 01:13 PM
Upgraded! :)

glenvw
01-14-2003, 01:39 PM
Originally posted by TECK
There is a minor typo I made in the forumdisplay.txt file.
Find:
$meta['title'] = '$bbtitle';
Replace with:
$meta['title'] = $bbtitle;

Sorry guys. File updated.


I think I did the upgrade before I caught this. My system seems to be working. Should I be concerned?

Dean C
01-14-2003, 05:55 PM
TECK - ok i have a question/suggestion :)

Does this actually duplicate the threads into indexable (??) form ? :)

So in other words does this use up any extra database space?

- miSt

Floris
01-14-2003, 05:56 PM
Originally posted by Mist
TECK - ok i have a question/suggestion :)

Does this actually duplicate the threads into indexable (??) form ? :)

So in other words does this use up any extra database space?

- miSt If so, I will uninstall it :) But I don't think so, and why do you think so?

Dean C
01-14-2003, 06:12 PM
Because im curious ^

TECK
01-14-2003, 07:11 PM
Originally posted by glenvw
I think I did the upgrade before I caught this. My system seems to be working. Should I be concerned? Open the file and check the line, to make sure. :)
Originally posted by Mist
TECK - ok i have a question/suggestion :)
Does this actually duplicate the threads into indexable (??) form ? :)
So in other words does this use up any extra database space?
- miSt No, it doesn't use any extra space or duplicates any threads, etc.

nighteyes
01-14-2003, 07:37 PM
Is it safe to stick a banner up on top or will that screw with the search engines too? Using Adcycle to rotate ads.

Thanks. Cool hack.

TECK
01-14-2003, 08:07 PM
Originally posted by nighteyes
Is it safe to stick a banner up on top or will that screw with the search engines too? Using Adcycle to rotate ads.

Thanks. Cool hack.
I would not do it, in your place, you give a chance to a crawler to leave your archive page to another direction, from the start... Is up to you.

Now guys, can you make me a favor and search for me on the internet (or ask, or post if you know) if it is recommended to have only directories or is better to have .htm extentions at the end?
Personally, I did it the exact same look like VB3 archive... but I want to make sure, our goal is to make this script as friendly engine as possible...

Let me know please. Thanks.

codewebs
01-14-2003, 08:34 PM
has google spidered vbulletin.com s archive??? Im just curious :p

thought id add this: :)

Fact: We do not require submission nor do we penalize sites for 'over-submission'. You are free to submit as often as you wish. However, given the nature of our inclusion process, your time is better spent improving the content and links of your site

TECK
01-14-2003, 08:47 PM
Me too I want to know, that's why I asked in previous post. :)

codewebs
01-14-2003, 08:58 PM
I guess vbulletin.com s new archive doesnt work, if you search for:

"Click here for full thread:"

on google you only get 1 link thats not even vbulletin. I could be wrong though :(

TECK
01-14-2003, 09:15 PM
Changing the extentions to .htm at the end should not be hard at all.
But I wonder if we have any experts related to this issue with the extensions onto search engines? Feel free to post here and let us all know.

nuno
01-14-2003, 11:18 PM
Ask fastforward, he knows the answer. :)

TECK
01-15-2003, 12:43 AM
It looks like I will release a new version with .html extensions. :)
Let me get back to work... I will release it in 30 minutes max, after I finish my supper.

TECK
01-15-2003, 03:20 AM
The fix for online.php file, to display nice links, is below.
There are 2 methods, the easy or the hard way. :)

METHOD 1 (easy)
FIND:
$loc=preg_replace("/\?s=[a-z0-9]{32}(&)?/","?",$loc);
REPLACE WITH:
$loc=preg_replace("/\?s=[a-z0-9]{32}(&)?/","?",$loc);
$loc = preg_replace( '~archive/~' , 'forumdisplay.php?forumid=' , $loc );
$loc = preg_replace( '~forumdisplay/f-~' , 'forumdisplay.php?forumid=' , $loc );
$loc = preg_replace( '~showthread/t-~' , 'showthread.php?threadid=' , $loc );
$loc = preg_replace( '~-p-[0-9]~' , '' , $loc );
$loc = preg_replace( '~.html~' , '' , $loc );
METHOD 2 (cool way)
FIND:
case 'spider':
$userinfo[where] = "Search Engine Spider";
break;
REPLACE WITH:
case 'spider':
$userinfo[where] = "Search Engine Spider";
break;
case 'archive':
$userinfo[where] = "$bbtitle <b>Archive</b> <a href='archive/'>Main Index</a>";
break;
case 'archiveforumdisplay':
if (!$forum[forumid][$userinfo[forumid]] or (!$forum[canview][$userinfo[forumid]] and $hideprivateforums)) {
$userinfo[where] = "Viewing <b>Archive</b> Forum";
} else {
$userinfo[where] = "Viewing <b>Archive</b> Forum <a href='forumdisplay/f-$userinfo[forumid].html'>".$forum[forumid][$userinfo[forumid]]."</a>";
}
break;
case 'archiveshowthread':
if (!$thread[title][$userinfo[threadid]] or !$forum[canview][$thread[forumid][$userinfo[threadid]]] or (!$forum[canviewothers][$thread[forumid][$userinfo[threadid]]] and $thread[postuserid][$userinfo[threadid]] != $bbuserinfo[userid])) {
$userinfo[where] = "Viewing <b>Archive</b> Thread";
} else {
$userinfo[where] = "Viewing <b>Archive</b> Thread <a href='showthread/t-$userinfo[threadid].html'>".$thread[title][$userinfo[threadid]]."</a>";
}
break;
FIND:
$loc=preg_replace("/\?s=[a-z0-9]{32}(&)?/","?",$loc);
REPLACE WITH:
$loc=preg_replace("/\?s=[a-z0-9]{32}(&)?/","?",$loc);
$loc = preg_replace( '~archive/~' , 'archive.php' , $loc );
$loc = preg_replace( '~forumdisplay/f-~' , 'archiveforumdisplay.php?forumid=' , $loc );
$loc = preg_replace( '~showthread/t-~' , 'archiveshowthread.php?threadid=' , $loc );
$loc = preg_replace( '~-p-[0-9]~' , '' , $loc );
$loc = preg_replace( '~.html~' , '' , $loc );
FIND:
case '/robots.txt':
$userinfo[activity] = 'spider';
break;
REPLACE WITH:
case '/robots.txt':
$userinfo[activity] = 'spider';
break;
case 'archive.php':
$userinfo[activity] = 'archive';
break;
case 'archiveforumdisplay.php':
$blowup = explode('=', $token1);
$forumid = intval($blowup[1]);
$forumids .= ",$forumid";
$userinfo[activity] = 'archiveforumdisplay';
$userinfo[forumid] = $forumid;
break;
case 'archiveshowthread.php':
if (strstr($token1,'threadid')) {
$blowup = explode('=', $token1);
$threadid = intval($blowup[1]);
$threadids .= ",$threadid";
$userinfo[activity] = 'archiveshowthread';
$userinfo[threadid] = $threadid;
} else if (strstr($token2,'threadid')) {
$blowup = explode('=', $token2);
$threadid = intval($blowup[1]);
$threadids .= ",$threadid";
$userinfo[activity] = 'archiveshowthread';
$userinfo[threadid] = $threadid;
}
break;

Erwin
01-15-2003, 10:15 AM
Nice hack, TECK. Just saw this one. Great work, as always. :)

Dean C
01-15-2003, 03:35 PM
Originally posted by TECK
Open the file and check the line, to make sure. :)
No, it doesn't use any extra space or duplicates any threads, etc.

Wow this is such a cool hack - extra traffic at NO cost whatsoever :)

Sounds too good to be true :D

I'll be telling my friends about this TECK ;)

- miSt

TECK
01-15-2003, 04:31 PM
This the evaluation made by fastforward, an expert related to search engine optimizations.
TECK wrote on Today 02:11 AM:
Hello fastforward,
I released a similar hack to yours and I would like to have your opinion on a issue.
My script uses Apache's ForceType directive. So "archive" will be treated as index.php or archive.php type.
Now, will this affect the crawlers to browse the archive, if I point them to:
http://www.teckwizards.com/archive/
and that represents for them the link to forcetyped "archive" file?

Thanks for taking the time to read this message.

fastforward wrote on Today 03:16 PM:
Hello TECK,

The ForceType directive will be completely invisible to a crawler in the same way as using mod_rewrite. There should be no problems whatsoever.
I personally would use the 'archive' version without the extension. There is no evidence that Google or any other search engine identifies a dynamic file and handles it differently, but that could change if the capabilities of using dynamic pages are abused. (this is just my paranoid preference and not based on any hard facts).

It looks very nice by the way :)
I think I'll use that on my site that doesn't have the the friendly urls.

Paul

TECK
01-15-2003, 11:02 PM
If you want to have the main archive file with a PHP extension and not as sub-folder, make the following changes to functions.php file:

FIND:$bburl . '/archive/REPLACE WITH:
$bburl . '/archive.phpNOTE: The code appears 2 times, change it in both places.
Rename the "archive" to archive.php.

I personally don't recommend you to do this, instead use both ways...
Leave the script unchanged but upload also archive.txt and rename it to archive.php, the crawlers will hit both files.

TECK
01-15-2003, 11:11 PM
The actual settings are optimal for any server.
But, if you want to change the number of threads/posts displayed on each page, do the code change listed below.

FILE: forumdisplay.txt and showthread.txt
FIND:$perpage =Replace the numeric value with the one that suits best for your forum.
The bigger it is the faster the crawers will index your pages.

Do not go over value 400, just to make sure you give a break to your server also. :)

wooolF[RM]
01-16-2003, 09:45 AM
]Great Hack TECK. You r00lez ;] Keep up the good job!

* wooolF[RM] clicks INSTALL :> w00t :D

glenvw
01-16-2003, 01:23 PM
I got a little lost here at the end...

You guys are too smart and techie for me :-)

Are you saying you re-released it so it has html extensions now and if yes, is it better to have the standard html extensions?

Thanks!

glenvw
01-16-2003, 01:53 PM
[QUOTE]Originally posted by TECK
[B]Version 1.2 released.

Html extension were added to all dynamic pages.
I also fixed a minor bug related to dynamic meta tags.

Here it is also the fix for online.php file (requested by xiphoid):

Re:
Here it is also the fix for online.php file (requested by xiphoid):

I looked through the thread and cannot find reference to this.

What does the edits to the online.php file do?
Trying to decide it it is necessary..

TECK
01-16-2003, 04:06 PM
If you view your online.php page, you see there the location (forum/thread/etc.) your users browse.
If it's a archive location, it will show you an Unknown Location:, instead of the actual link to the forum, for example.
The fix will display any links as VB links. Try it yourself, open 2 windows:
1. in the first window, go to go your online listings
2. in the second window go to your archive and browse to a forum or thread
3. refresh the first window to see the location you browse...

glenvw
01-16-2003, 04:15 PM
I am lost :-)

I edited my online.php and uploaded it:

Here is my archive:

http://www.yes-its-free.com/vbbs/archive/

Please splain what I should be seeing

BTW, if I have not said it before, let me say it a couple more thousand times....AWESOME JOB!

TECK
01-16-2003, 04:38 PM
You remember the Unkown Location, when you view active users brosing the forums (online.php)? Is gone now, you see the actual text and link instead. :p
You will not see nothing new in the archive files.

TECK
01-16-2003, 04:50 PM
Ok, another idea I came up with... If the crawler is Google, for example, and it's hitting the actual forum pages, not the archive, you could use this trick to remove the sessionhash from the templates:
FILE: functions.php
ADD ABOVE ?> THIS CODE:
function no_sessionhash()
{
global $session;

$agent = array(
'crawl',
'googlebot',
'gulliver',
'ia_archiver',
'internetseer',
'linkalarm',
'mercator',
'openbot',
'pingalink',
'psbot',
'scooter',
'slurp',
'slysearch',
'zeus',
'zyborg',
'otheruseragentcrawleryouwant'
);

foreach( $agent as $useragent )
{
if ( stristr( getenv( 'HTTP_USER_AGENT' ) , $useragent ) )
{
$session['sessionhash'] = '';
}
}
}FILE: /forum global.php
ADD ABOVE $header=''; THIS CODE:no_sessionhash();The list above will cover all major crawlers.
Make sure you enter the actual AGENT name ONLY.
To test it, enter for example:
'mozilla',

It will remove all your session hashes, if you browse with Internet Explorer for example.

wooolF[RM]
01-16-2003, 05:27 PM
]wiKKid! :D

TECK
01-17-2003, 12:43 PM
To block the crawlers go to certain pages, create a robots.txt file with the content:
User-agent: *
Disallow: /forum/admin/
Disallow: /forum/images/
Disallow: /forum/mod/
Disallow: /forum/attachment.php
Disallow: /forum/avatar.php
Disallow: /forum/editpost.php
Disallow: /forum/member.php
Disallow: /forum/member2.php
Disallow: /forum/memberlist.php
Disallow: /forum/misc.php
Disallow: /forum/moderator.php
Disallow: /forum/newreply.php
Disallow: /forum/newthread.php
Disallow: /forum/online.php
Disallow: /forum/poll.php
Disallow: /forum/postings.php
Disallow: /forum/printarticle.php
Disallow: /forum/printthread.php
Disallow: /forum/private.php
Disallow: /forum/private2.php
Disallow: /forum/register.php
Disallow: /forum/report.php
Disallow: /forum/search.php
Disallow: /forum/sendtofriend.php
Disallow: /forum/threadrate.php
Disallow: /forum/usercp.php
and upload it onto your main (not /forum, the one above it) directory. Crawlers will look ONLY onto the root folder for the robots.txt file.
Make sure you change the /forum folder to your actual folder name.

For more info on robots.txt file, go here (http://www.robotstxt.org/).

codewebs
01-17-2003, 06:38 PM
i saw a similar version of that google thing on vbulletin.com but i added yours, and your shure it works right, like it wont mess it up for google since we cant test it? (the user agent thing)

TECK
01-17-2003, 06:52 PM
To see if it's working, simply use:
no_sessionhash( 'mozilla' );

There is no more sessionhash displayed after.
Make sure you remove it, orelse all IE (or whatever browser you use) users will not have anymore sessions...

Chris M
01-17-2003, 08:35 PM
Nice TECK:)

*installs*

Satan

TECK
01-18-2003, 03:27 PM
Btw, the script is wise enough to work with .html extensions or not... so if you upgraded from an old version and Google already indexed your files, it will still point to that page. :)
Let's see:
http://www.teckwizards.com/forumdisplay/f-8.html
http://www.teckwizards.com/showthread/t-577.html

and:
http://www.teckwizards.com/forumdisplay/f-8
http://www.teckwizards.com/showthread/t-577

Same results. :)
Go ahead and upgrade your script.

Floris
01-18-2003, 03:35 PM
I don't need to upgrade the version I first installed. it is working as i wanted it to work. thank you for letting me know on vbulletin.com with a pm that there was an upgrade :)

TECK
01-18-2003, 03:38 PM
The difference are the meta tags. :)
You want dynamic meta tags, unique for each page, period.

codewebs
01-19-2003, 03:37 AM
Originally posted by TECK
To see if it's working, simply use:
no_sessionhash( 'mozilla' );

There is no more sessionhash displayed after.
Make sure you remove it, orelse all IE (or whatever browser you use) users will not have anymore sessions...

session hashes are still there when i do that....

codewebs
01-19-2003, 03:43 AM
:tired: :angry: it would have been nice if you would have told all of us that installed the session hash thing right when you posted it,..... that you changed it.... it works right now :)

TECK
01-19-2003, 05:34 AM
I thought is obvious... Btw, you are not using my archive but only my extras... What's the reason?

codewebs
01-19-2003, 05:43 AM
i got to confused with taking out the template for the other one :-p i really didnt understand how to get rid of the one template that is used by both :(

and yes it should be obvious, but i didnt check that page after the thread got to this one.

TECK
01-19-2003, 07:52 AM
That's not an excuse, it feels good to use my add-ons but not the code I made, huh?
The previous script comes with an un-installer (or the one you used for vbHome), simply run it and it will remove all templates you want, is explained. You don't care, in other words...
What template you want to remove?
Is really easy, revert all your templates you want to remove to original, then run this query for each template you want to drop:
DELETE FROM template WHERE title='yourtemplate' AND templatesetid=-1
Of course, this was hard to ask. You see, people like you make me wonder why should I release any hacks?
Is a damn insult to me what you said above that you got confused, when the script is so easy to un-install or change it's options... at least be honest and tell me that you don't care what archive you run, but you rather ripp bits of code from others to obtain "the same" results.

Fersy
01-19-2003, 10:19 AM
hi,

sorry fir my bad english...

i have a problem,

i have some hidden forums on my board, they don't displayed on searchengines..

how to exclude the hidden forums ???

codewebs
01-19-2003, 02:04 PM
you know what teck im not going to install your hack now, i did ask how to do it before, and got no answer and gave up. I tryed to install your archive, and i just didnt know what to do... You really need to get anger management classes or just stop making hacks if you treat newbs like this! I really wanted to install this hack, but i got no responce when i asked how to delete the template, and if there was a uninstaller it wouldnt matter, because i deleted the zip.

You think your better than everyone, well your definately not!

codewebs
01-19-2003, 02:27 PM
Originally posted by TECK
Ok, another idea I came up with... If the crawler is goglebot.com, for example, and it's hitting the actual forum pages, not the archive, you could use this trick to remove the sessionhash from the templates:

This is the only addon i used, which you didnt even make first... Someone on vbulletin.com made this days before you did... it wasnt the same and i didnt trust them, so i didnt use it but....

(Ok, another idea I came up with) no you got this idea from vbulletin.com ......

TECK
01-19-2003, 05:51 PM
Originally posted by codewebs
This is the only addon i used, which you didnt even make first... Someone on vbulletin.com made this days before you did... it wasnt the same and i didnt trust them, so i didnt use it but....

(Ok, another idea I came up with) no you got this idea from vbulletin.com ......
Heh, I didn't make it? Post the code to compare it.
You contradict yourself, you say that I didn't even make the code first... but that the code is not the same...
I don't ripp code from others. Use their code instead, since is not my own code, ok?

eva2000
01-19-2003, 05:57 PM
what's the best way to turn off certain private forums from being viewed altogether regardless of usergroup permissions ?

Dean C
01-19-2003, 06:00 PM
Wow fancty seeing you here eva :)

- miSt

TECK
01-19-2003, 06:04 PM
George, you have 2 choices. Either add your forum info onto the robots.txt file (easiest way):
Disallow: /forum/forumdisplay/f-32.html
Or change this onto your forumdisplay.txt (or archive.txt) file:
if ( $forumperms['canview'] )
{To: if ( $forumperms['canview'] and !in_array( $forum['forumid'] , array( 15 , 23 , 48 ) ) )
{EDIT: what's the archive URL? so I add it in the first post...

eva2000
01-19-2003, 06:18 PM
awesome works great http://animeboards.com/archive/?styleid=18 :)

TECK
01-19-2003, 06:22 PM
There is something wrong there with your style, you are supposed to have an arrow in front of each forum...
Right click on the little arrow, on my archive to see the location...
What is your $bburl set at? It looks like it doesn't see the {imagesfolder} replacement variable.
Let me know please.

Also, remove the link to the forums front page, it was done in purpose this way (quote from first post):
Important
Do NOT get "creative" and start adding crazy stuff and links to the actual templates. The script was optimized to perform at it's best the way it is now, so crawlers gravitate only onto the archives files, not outside, to the actual forums.
You can edit the archive_homekeytag to enter your web site key words.

eva2000
01-19-2003, 06:28 PM
Originally posted by TECK
There is something wrong there with your style, you are supposed to have an arrow in front of each forum...
Right click on the little arrow, on my archive to see the location...
What is your $bburl set at? It looks like it doesn't see the {imagesfolder} replacement variable.
Let me know please.

Also, remove the link to the forums front page, it was done in purpose this way (quote from first post):
all i had to do was upload arrow.gif to each styles image directories :)

TECK
01-19-2003, 06:30 PM
Ok, now remove the link to the forums home page in the header. :p

eva2000
01-19-2003, 06:31 PM
Originally posted by TECK


Also, remove the link to the forums front page, it was done in purpose this way (quote from first post):
from what i understand, some search engines if they don't find a link back to the main site, might think it was spammed

but either way my whole forum is spider friendly via mod_rewrite, so doesn't matter which way they spider :D

TECK
01-19-2003, 06:36 PM
Hmm really? That's interesting, where did you read this George?
Let me know please...

I added your link to the first post. :)

eva2000
01-19-2003, 07:07 PM
Originally posted by TECK
Hmm really? That's interesting, where did you read this George?
Let me know please...

I added your link to the first post. :) i read it at http://searchengineforums.com/ - use to be a frequent member there :D

eva2000
01-19-2003, 07:08 PM
i believe under the heading of doorway pages

http://searchengineforums.com/searchengine.forums/action::topiclist/forum::Forum14/

TECK
01-19-2003, 07:13 PM
Aha, they don't day nothing about linking to the front page?
I know for a fact that if you place a link to the front page the crawlers will spend less time on your archive.
Look the way he posted the explanation:
You do not need to submit each page of your site to search engines. Instead spend more time in collecting links.
Link your doorway pages from your home page.In other words, you link your home page to archive page, not viceversa.

Floris
01-19-2003, 08:09 PM
Ok, I have time now to upgrade to 1.2, but I no longer have the previous install script. So .. guess I am out of luck :) Unless you want to send it to me.

codewebs
01-19-2003, 08:19 PM
Originally posted by TECK

Heh, I didn't make it? Post the code to compare it.
You contradict yourself, you say that I didn't even make the code first... but that the code is not the same...
I don't ripp code from others. Use their code instead, since is not my own code, ok?

im saying it isnt your original idea! I didnt want to argue but your additude makes me so mad!

TECK
01-19-2003, 08:25 PM
So? Is vBulletin software the first bulletin board released to the public? No.
And the idea was in my mind, I didn't borrow it from others, the same way like vBulletin did also with their software. Is the way you write your code that counts.

BTW, your attitude also made me mad, especially when you know I do help many people on my forums (including you) and I try to be useful to all.
Remarks like "is not your code", etc... are very unpleasant.

TECK
01-19-2003, 08:26 PM
Floris, I don't have the old script.
However, the code changes can be performed easy.
Related to the templates, run this query for each template name you want removed (make sure you revert it to original BEFORE you run the query):DELETE FROM template WHERE title='yourtemplate' AND templatesetid=-1

Floris
01-19-2003, 08:27 PM
Can you girls stop +++++ing at eachother?

Floris
01-19-2003, 08:28 PM
Originally posted by TECK
Floris, I don't have the old script.
However, the code changes can be performed easy.
Related to the templates, run this query for each template name you want removed (make sure you revert it to original BEFORE you run the query):DELETE FROM template WHERE title='yourtemplate' AND templatesetid=-1

Ah, so all uninstall did was remove those added templates? ok.

codewebs
01-19-2003, 08:30 PM
:( I cant figure out how to:

DELETE FROM template WHERE title='home_archive' AND templatesetid=-1

i looked at how to run queries, but at the bottom of the right page is (in phpmyadmin:

Create new table on database codeweb_vbulletin :
Name :
Fields :

TECK
01-19-2003, 08:31 PM
Ok, I'll make a script for you, hold on....

codewebs
01-19-2003, 08:37 PM
eeks i got it :( so will the vbhome addon work like forums.site.com and www.site.com/forums? but not this one? i might be misunderstanding u

TECK
01-19-2003, 08:41 PM
Create a file with the contents:
<?php
error_reporting( E_ALL & ~E_NOTICE );
include_once( './global.php' );

cpheader();

$DB_site->reporterror = 1;

function killtemplate( $title , $templatesetid=-1 )
{
global $DB_site;

$DB_site->query("
DELETE FROM template
WHERE title='" . addslashes( $title ) . "' AND templatesetid=-1
");
echo "Removing <font color='#006699'><tt>$title</tt></font> template... Done.<br>\n";
}

// Change the teplate names for the ones you want removed
// (make sure you revert them to original before that)

$tplname01 = 'home_archive';
$tplname02 = 'home_archiveforum';
// $tplname03 = 'home_archivethread'; // add in the same way other template names

killtemplate( $tplname01 );
killtemplate( $tplname02 );
// killtemplate( $tplname03 ); // add for each new template title a line, like this one

cpfooter();

?>Make SURE you include in the file all templates you want to remove.
Also, make SURE they are reverted to original.

Save the file as removetemplate.php and run it onto your /admin folder.
Hope that helps.

TECK
01-19-2003, 08:43 PM
Originally posted by codewebs
eeks i got it :( so will the vbhome addon work like forums.site.com and www.site.com/forums? but not this one? i might be misunderstanding u Both will, if you edit the code.
The vbHome one works as default because it has it's own global.php file.

In the vBulletin one, all you have to do is add, at the top of each archive file, the $bburl variable, unmasked.
Sort of like:<?php
// +--------------------------------------------------------------
// | Search Engine Indexer for vBulletin (Script by TECK)
// | http://www.teckwizards.com/
// | + archive
// +--------------------------------------------------------------
error_reporting( E_ALL & ~E_NOTICE );

$templatesused = 'archive,archive_homekeytag,archive_forumbit,archi ve_categorytitle,archive_forumtitle,archive_homein fo';
require_once( './global.php' );
$bburl = 'http://yoursite.com/forums';If you search my forums, you will see why is better to use the vbHome add-on.

codewebs
01-19-2003, 08:55 PM
i guess i just do everything wrong :(

http://www.codewebs.com/archive

no forums

TECK
01-19-2003, 08:57 PM
This is an vbHome add-on, go over my forums, I will help you there. :)

VampireMan
01-19-2003, 09:20 PM
I purchased Vb.29 yesterday , i must say there are a lot of hacks out there , but this is the first i have installed properly & full time...

Re-Setup the forum about 3 times so far just testing out various hacks and addons.

But by far this is the best i have installed & am impressed at the level of coding. Nice job ....

Now i have the wonderfull task of finding a portal to install :/

TECK
01-19-2003, 11:46 PM
Glad you like it...
The hack was designed to be very user friendly, with very little code to be edited.

Btw, codeweb have a new shiny archive online now:
http://www.codewebs.com/archive/

Look how Inktomi is spidering my archive as we speak...

TECK
01-20-2003, 05:26 AM
Hmmmmmm... I'm really pissed... you see the crawler918.com in the pic above?
That's a spy. Read more here (http://www.advogato.org/article/610.html) about it.

To block the scums, add onto htaccess.txt file, at the top, this information:Order allow,deny
Allow from all
Deny from 12.148.196.
Deny from 12.148.209.then upload the file and rename it to .htaccess
That will block them for good, damn crooks.

eva2000
01-20-2003, 04:38 PM
Originally posted by TECK
Hmmmmmm... I'm really pissed... you see the crawler918.com in the pic above?
That's a spy. Read more here (http://www.advogato.org/article/610.html) about it.

To block the scums, add onto htaccess.txt file, at the top, this information:<limit GET>
order allow,deny
deny from 12.148.196.
deny from 12.148.209.
allow from all
</limit>then upload the file and rename it to .htaccess
That will block them for good, damn crooks. thanks for that :)

crocket
01-20-2003, 07:53 PM
Fatal error: Call to undefined function: archive_navbar() in /home/lcdmod/public_html/forums/forumdisplay on line 23

Im getting that error when i click on a link :(

whats the problem :)


http://lcdmod.com/forums/archive

Thank You
Crocket

TECK
01-20-2003, 08:35 PM
You did not read the readme file properly. Did you add to functions.php the needed code?

Floris
01-20-2003, 08:44 PM
You removed the 'No' part
rofl :)

TECK
01-20-2003, 08:47 PM
:)
Floris, did you updated the archive? So I can link it to the first post?

EDIT: I posted in the first post an useful info from Google, related to links crawling...
So patience if you don't see your links next day up. :)

TLucent
01-21-2003, 01:59 AM
Thank you!

eva2000
01-21-2003, 11:19 AM
so far 17,787 links in alltheweb http://www.alltheweb.com/search?cat=web&cs=utf-8&q=animeboards.com&phrase=on&_sb_lang=en

before indexing this vBarchive links :)

crocket
01-21-2003, 01:56 PM
Originally posted by crocket
Fatal error: Call to undefined function: archive_navbar() in /home/lcdmod/public_html/forums/forumdisplay on line 23

Im getting that error when i click on a link :(

whats the problem :)


http://lcdmod.com/forums/archive

Thank You
Crocket

Yes i have installed the Hack into the functions.php file

I have gone thru the install process.. And checked it and it seems fine. But i still get the error message! :(

TECK
01-21-2003, 02:12 PM
You are getting this error message because you don't have that function present in functions.php file.
Check your installation.

crocket
01-21-2003, 02:31 PM
Sorry but i dont get what you mean.

Your saying i dont have that function in function.php..

But what do you mean by this? Am i looking for something in particular that i need to change?

If your on about are the lines from add_to_functions.php in functions.php - Yes i have done that step!

Here is the ending of the functions.php file

// update user table from session table in bulk
mt_srand ((double) microtime() * 1000000);
if (mt_rand(1,100)=='50') {
$oldsessions=$DB_site->query("SELECT userid,lastactivity FROM session WHERE lastactivity<'".(time()-$cookietimeout)."'");
while ($oldsession=$DB_site->fetch_array($oldsessions)) {
$DB_site->query("UPDATE user SET lastactivity=$oldsession[lastactivity] WHERE userid=$oldsession[userid] AND lastactivity<$oldsession[lastactivity]");
}
$DB_site->query('DELETE FROM session WHERE lastactivity<'.(time()-$cookietimeout));

//searches expire after a week:
$DB_site->query("DELETE FROM search WHERE dateline<".(time()-(7*24*60*60)));
}

// bye bye!
}

if (!$noshutdownfunc) {
register_shutdown_function("doshutdown");
}
// ###################### Start archive_nopermission ####################### function archive_nopermission() { global $headinclude,$headnewpm,$bburl,$bbtitle,$homeurl,$ hometitle,$titleimage,$copyrighttext,$versionnumbe r; $metakeytags = ''; $headertitle = 'Message'; $pagetitle = '' . $bbtitle . ' Message'; $navbar = '' . $bbtitle . ' Archive'; $pagenav = ' '; $showforumbits = ''; $showthreadbits = ''; $showpostbits = 'You do not have permission to access this page.'; eval( 'dooutput( "' . gettemplate( 'archive' ) . '" );' ); exit; } // ###################### Start archivenavbar ####################### function archivenavbar( $id , $idtype='forum' , $highlightlast=1 ) { global $bbtitle,$bburl,$navbits,$navbar; $navbits = archivenav( $id , $idtype , $highlightlast ); $navbar = '' . $bbtitle . ' Archive > ' . $navbits; return $navbar; } // ###################### Start archivenav ####################### function archivenav( $id , $idtype='forum' , $highlightlast=1 ) { global $DB_site,$bburl,$threadcache; $code = ''; if ( $id != -1 ) { if ( $idtype == 'thread' ) { if ( !isset( $threadcache["$id"] ) ) { $getforumid = $DB_site->query_first(" SELECT forumid FROM thread WHERE threadid=$id "); } else { $getforumid['forumid'] = $threadcache["$id"]['forumid']; } $code = archivenav( $getforumid['forumid'] , 'forum' , 1 ); if ( $highlightlast ) { $code .= '' . $threadinfo['title'] . ''; } else { $code .= $foruminfo['title']; } } else { $foruminfo = getforuminfo( $id ); if ( $foruminfo['parentid'] != -1 ) { $code = archivenav( $foruminfo['parentid'] , $idtype , 1 ); } if ( strlen( $code ) > 0 ) { $code .= ' > '; } if ( $highlightlast ) { $code .= '' . $foruminfo['title'] . ''; } else { $code .= $foruminfo['title']; } } } return $code; } // ###################### Start archivepagenav ####################### function archivepagenav( $results , $address ) { global $perpage,$pagenumber; if ( $results <= $perpage ) { return; } $totalpages = ceil( $results / $perpage ); while ( $curpage++ < $totalpages ) { if ( $curpage == $pagenumber ) { $pagenav .= '[' . $curpage . ']'; } else { $pagenav .= ' ' . $curpage . ' '; } } $pagenav = 'Pages: ' . $pagenav; return $pagenav; }
?>

TECK
01-21-2003, 03:03 PM
Ya, I was right, you do not have the code in functions.php file.
In other words, you mixed an old installation with a new one.
You downloaded a previous version and install it, then update it, but you forgot to update the code in functions.php, because that's not the functions.php code available in the latest version.

Clear your browser temp files, redownload the package and follow the upgrade instructions listed in the first post.

EDIT: Use a decent editor, like TextPad or EditPlus2, look at the messed code you posted above...

crocket
01-21-2003, 04:29 PM
OMG It works!

Thank You very much for your support / help!

Ive allways wanted a working archive and im pleased to say im extremely pleased!

Thank You once again!

Crocket

If you want to add it as a working archive.. http://www.lcdmod.com/forums/archive

TECK
01-21-2003, 04:32 PM
Glad, you got it up and running. :)

Now, guys, make me favor... can you search and find out if it's recomended to have a link back to the actual forums home page (from the archive pages)?
I want to make sure if the crawlers need this...
My theory is that they don't need it, but you never know, better be safe then sorry.

Let me know please. Thanks.

TECK
01-21-2003, 04:43 PM
Here it is another interesting mod I made to my forums, to link back to archives.
This will help because the crawlers will see the friendly URL's easier.
Basically the mod links every forum/thread to the archive.
To test it, mouse over each forum or thread icon, while viewing my forums (http://www.teckwizards.com/forum/).
Also, check the link I added under the thread title, while viewing the actual (not archived) thread.

TEMPLATE: forumhome_forumbit_level1_post
FIND: <td valign="top"><img src="{imagesfolder}/$forum[onoff].gif" border="0" alt=""></td>REPLACE WITH:
<td valign="top"><a href="forumdisplay/f-$forum[forumid].html"><img src="{imagesfolder}/$forum[onoff].gif" border="0" alt="$forum[title] Archive"></a></td>TEMPLATE: forumhome_forumbit_level2_post
FIND: <td valign="top"><img src="{imagesfolder}/$forum[onoff].gif" border="0" alt=""></td>REPLACE WITH:
<td valign="top"><a href="forumdisplay/f-$forum[forumid].html"><img src="{imagesfolder}/$forum[onoff].gif" border="0" alt="$forum[title] Archive"></a></td>TEMPLATE: forumdisplaybit
FIND: <td bgcolor="{firstaltcolor}"><img src="{imagesfolder}/$thread[newoldhot].gif" border="0" alt=""></td>REPLACE WITH:
<td bgcolor="{firstaltcolor}"><a href="showthread/t-$thread[threadid].html"><img src="{imagesfolder}/$thread[newoldhot].gif" border="0" alt="Archive: $thread[title]"></a></td>TEMPLATE: forumdisplay_forumbit_level1_post
FIND: <td valign="top"><img src="{imagesfolder}/$forum[onoff].gif" border="0" alt=""></td>REPLACE WITH:
<td valign="top"><a href="forumdisplay/f-$forum[forumid].html"><img src="{imagesfolder}/$forum[onoff].gif" border="0" alt="$forum[title] Archive"></a></td>TEMPLATE: forumdisplay_forumbit_level2_post
FIND:
<td valign="top"><img src="{imagesfolder}/$forum[onoff].gif" border="0" alt=""></td>REPLACE WITH:
<td valign="top"><a href="forumdisplay/f-$forum[forumid].html"><img src="{imagesfolder}/$forum[onoff].gif" border="0" alt="$forum[title] Archive"></a></td>TEMPLATE: showthread
FIND:
$navbarREPLACE WITH:
$navbar<br>
<img border="0" src="{imagesfolder}/firstnew.gif" width="14" height="14" align="middle" alt=""> <a href="showthread/t-$thread[threadid].html">Friendly URL Link</a>

crocket
01-21-2003, 05:28 PM
You know i had it all working! Well everything has gone down now!

The forums aswell as the archive are giving server 500 errors!

I looked at the error log and this is what it has been inputing


[Tue Jan 21 19:18:48 2003] [alert] [client 212.104.129.218] /home/lcdmod/public_html/forums/.htaccess: Invalid command 'RedirectMatch', perhaps mis-spelled or defined by a module not included in the server configuration
[Tue Jan 21 19:18:41 2003] [alert] [client 212.104.129.218] /home/lcdmod/public_html/forums/.htaccess: Invalid command 'RedirectMatch', perhaps mis-spelled or defined by a module not included in the server configuration
[Tue Jan 21 19:18:41 2003] [alert] [client 212.104.129.218] /home/lcdmod/public_html/forums/.htaccess: Invalid command 'RedirectMatch', perhaps mis-spelled or defined by a module not included in the server configuration
[Tue Jan 21 19:18:40 2003] [alert] [client 212.104.129.218] /home/lcdmod/public_html/forums/.htaccess: Invalid command 'RedirectMatch', perhaps mis-spelled or defined by a module not included in the server configuration
[Tue Jan 21 19:18:39 2003] [alert] [client 212.104.129.218] /home/lcdmod/public_html/forums/.htaccess: Invalid command 'RedirectMatch', perhaps mis-spelled or defined by a module not included in the server configuration
[Tue Jan 21 19:18:36 2003] [alert] [client 212.104.129.218] /home/lcdmod/public_html/forums/.htaccess: Invalid command 'RedirectMatch', perhaps mis-spelled or defined by a module not included in the server configuration
[Tue Jan 21 19:09:20 2003] [alert] [client 193.167.100.93] /home/lcdmod/public_html/forums/.htaccess: Invalid command 'RedirectMatch', perhaps mis-spelled or defined by a module not included in the server configuration
[Tue Jan 21 18:43:15 2003] [alert] [client 24.201.91.230] /home/lcdmod/public_html/forums/.htaccess: Invalid command 'RedirectMatch', perhaps mis-spelled or defined by a module not included in the server configuration
[Tue Jan 21 18:42:59 2003] [alert] [client 24.201.91.230] /home/lcdmod/public_html/forums/.htaccess: Invalid command 'RedirectMatch', perhaps mis-spelled or defined by a module not included in the server configuration
[Tue Jan 21 18:42:47 2003] [alert] [client 24.201.91.230] /home/lcdmod/public_html/forums/.htaccess: Invalid command 'RedirectMatch', perhaps mis-spelled or defined by a module not included in the server configuration
[Tue Jan 21 18:42:17 2003] [alert] [client 24.201.91.230] /home/lcdmod/public_html/forums/.htaccess: Invalid command 'RedirectMatch', perhaps mis-spelled or defined by a module not included in the server configuration
[Tue Jan 21 18:38:19 2003] [alert] [client 81.5.138.29] /home/lcdmod/public_html/forums/.htaccess: Invalid command 'RedirectMatch', perhaps mis-spelled or defined by a module not included in the server configuration
[Tue Jan 21 18:38:19 2003] [alert] [client 81.5.138.29] /home/lcdmod/public_html/forums/.htaccess: Invalid command 'RedirectMatch', perhaps mis-spelled or defined by a module not included in the server configuration
[Tue Jan 21 18:38:17 2003] [alert] [client 81.5.138.29] /home/lcdmod/public_html/forums/.htaccess: Invalid command 'RedirectMatch', perhaps mis-spelled or defined by a module not included in the server configuration
[Tue Jan 21 18:38:17 2003] [alert] [client 81.5.138.29] /home/lcdmod/public_html/forums/.htaccess: Invalid command 'RedirectMatch', perhaps mis-spelled or defined by a module not included in the server configuration
[Tue Jan 21 18:37:54 2003] [alert] [client 81.5.138.29] /home/lcdmod/public_html/forums/.htaccess: Invalid command 'RedirectMatch', perhaps mis-spelled or defined by a module not included in the server configuration
[Tue Jan 21 18:37:54 2003] [alert] [client 81.5.138.29] /home/lcdmod/public_html/forums/.htaccess: Invalid command 'RedirectMatch', perhaps mis-spelled or defined by a module not included in the server configuration
[Tue Jan 21 18:37:52 2003] [alert] [client 81.5.138.29] /home/lcdmod/public_html/forums/.htaccess: Invalid command 'RedirectMatch', perhaps mis-spelled or defined by a module not included in the server configuration
[Tue Jan 21 18:37:52 2003] [alert] [client 81.5.138.29] /home/lcdmod/public_html/forums/.htaccess: Invalid command 'RedirectMatch', perhaps mis-spelled or defined by a module not included in the server configuration
[Tue Jan 21 18:37:51 2003] [alert] [client 81.5.138.29] /home/lcdmod/public_html/forums/.htaccess: Invalid command 'RedirectMatch', perhaps mis-spelled or defined by a module not included in the server configuration
[Tue Jan 21 18:37:51 2003] [alert] [client 81.5.138.29] /home/lcdmod/public_html/forums/.htaccess: Invalid command 'RedirectMatch', perhaps mis-spelled or defined by a module not included in the server configuration
[Tue Jan 21 18:37:42 2003] [alert] [client 81.5.138.29] /home/lcdmod/public_html/forums/.htaccess: Invalid command 'RedirectMatch', perhaps mis-spelled or defined by a module not included in the server configuration
[Tue Jan 21 18:37:42 2003] [alert] [client 81.5.138.29] /home/lcdmod/public_html/forums/.htaccess: Invalid command 'RedirectMatch', perhaps mis-spelled or defined by a module not included in the server configuration
[Tue Jan 21 18:37:41 2003] [alert] [client 81.5.138.29] /home/lcdmod/public_html/forums/.htaccess: Invalid command 'RedirectMatch', perhaps mis-spelled or defined by a module not included in the server configuration
[Tue Jan 21 18:37:41 2003] [alert] [client 81.5.138.29] /home/lcdmod/public_html/forums/.htaccess: Invalid command 'RedirectMatch', perhaps mis-spelled or defined by a module not included in the server configuration
[Tue Jan 21 18:37:39 2003] [alert] [client 81.5.138.29] /home/lcdmod/public_html/forums/.htaccess: Invalid command 'RedirectMatch', perhaps mis-spelled or defined by a module not included in the server configuration
[Tue Jan 21 18:37:39 2003] [alert] [client 81.5.138.29] /home/lcdmod/public_html/forums/.htaccess: Invalid command 'RedirectMatch', perhaps mis-spelled or defined by a module not included in the server configuration
[Tue Jan 21 18:37:00 2003] [alert] [client 81.5.138.29] /home/lcdmod/public_html/forums/.htaccess: Invalid command 'RedirectMatch', perhaps mis-spelled or defined by a module not included in the server configuration
[Tue Jan 21 18:37:00 2003] [alert] [client 81.5.138.29] /home/lcdmod/public_html/forums/.htaccess: Invalid command 'RedirectMatch', perhaps mis-spelled or defined by a module not included in the server configuration
[Tue Jan 21 18:36:58 2003] [alert] [client 81.5.138.29] /home/lcdmod/public_html/forums/.htaccess: Invalid command 'RedirectMatch', perhaps mis-spelled or defined by a module not included in the server configuration
[Tue Jan 21 18:36:58 2003] [alert] [client 81.5.138.29] /home/lcdmod/public_html/forums/.htaccess: Invalid command 'RedirectMatch', perhaps mis-spelled or defined by a module not included in the server configuration
[Tue Jan 21 18:36:57 2003] [alert] [client 81.5.138.29] /home/lcdmod/public_html/forums/.htaccess: Invalid command 'RedirectMatch', perhaps mis-spelled or defined by a module not included in the server configuration
[Tue Jan 21 18:36:57 2003] [alert] [client 81.5.138.29] /home/lcdmod/public_html/forums/.htaccess: Invalid command 'RedirectMatch', perhaps mis-spelled or defined by a module not included in the server configuration
[Tue Jan 21 18:36:21 2003] [alert] [client 81.5.138.29] /home/lcdmod/public_html/forums/.htaccess: Invalid command 'RedirectMatch', perhaps mis-spelled or defined by a module not included in the server configuration
[Tue Jan 21 18:36:10 2003] [alert] [client 81.5.138.29] /home/lcdmod/public_html/forums/.htaccess: Invalid command 'RedirectMatch', perhaps mis-spelled or defined by a module not included in the server configuration
[Tue Jan 21 18:36:10 2003] [alert] [client 81.5.138.29] /home/lcdmod/public_html/forums/.htaccess: Invalid command 'RedirectMatch', perhaps mis-spelled or defined by a module not included in the server configuration
[Tue Jan 21 18:36:09 2003] [alert] [client 81.5.138.29] /home/lcdmod/public_html/forums/.htaccess: Invalid command 'RedirectMatch', perhaps mis-spelled or defined by a module not included in the server configuration
[Tue Jan 21 18:36:09 2003] [alert] [client 81.5.138.29] /home/lcdmod/public_html/forums/.htaccess: Invalid command 'RedirectMatch', perhaps mis-spelled or defined by a module not included in the server configuration
[Tue Jan 21 18:36:03 2003] [alert] [client 81.5.138.29] /home/lcdmod/public_html/forums/.htaccess: Invalid command 'RedirectMatch', perhaps mis-spelled or defined by a module not included in the server configuration
[Tue Jan 21 18:36:03 2003] [alert] [client 81.5.138.29] /home/lcdmod/public_html/forums/.htaccess: Invalid command 'RedirectMatch', perhaps mis-spelled or defined by a module not included in the server configuration
[Tue Jan 21 18:35:47 2003] [alert] [client 212.104.129.218] /home/lcdmod/public_html/forums/.htaccess: Invalid command 'RedirectMatch', perhaps mis-spelled or defined by a module not included in the server configuration


I suspect its to do with this hack! Is there a way to fix this? delete the .htaccess file!?

TECK
01-21-2003, 07:03 PM
No need to suspect nothing related to my hack because there is nothing wrong with it.
Since you had it working perfectly and all of the sudden it didn't work anymore, you should ask your host (or yourself) what it was changed onto your server settings between the laps of time you had it working and the one it did not.

The log show it clearly that is a host problem.

TECK
01-22-2003, 07:15 PM
Looks like your host fixed their problem...
http://www.lcdmod.com/forums/archive/

crocket
01-22-2003, 07:21 PM
what i did was.. delete the .htaccess file and reuploaded it.. and its working now..

I figured out that the problem happened 2 hours after everything was working.. ie hack installed..

The forums have been up for longer then 2 hrs with hack functional!

So hopefully it seems ok and stable with no errors!

Feel free to add the link to the "archives working" on the front page! to make people install :)

Once again thank you!

TECK
01-22-2003, 07:57 PM
Is already there. :)
BTW, always upload a .htaccess file as htaccess.txt, then rename it on the server, as mentioned in the readme file.
I guarantee you it was related to your host, they probably fixed their error there...

EDIT: You forgot to upload your arrow.gif image in this folder:
/forums/blueimages

TECK
01-23-2003, 08:31 AM
As I said, optimizing the forums with all the tips I posted in the first link, will make your site visible in any major search engine.
Google likes my site, take a look below...

TECK
01-23-2003, 09:06 AM
There is a minor but very important bug that I noticed, while accesing the main archive file.
To fix it, add this line, at the bottom of your htaccess.txt file:
RedirectMatch 301 /archive$ http://www.yoursite.com/forum/archive/Replace the highlighted part with your web site URL.
I updated the .zip files.

Floris
01-23-2003, 09:53 AM
Hi,

I have finally found the time to take 5 minutes to uninstall the previous version and install the 1.2 version.

http://www.creations.nl/forum/archive/

Looking great. Feel free to add me in your first post.

styleid=1 (open forum default style)
styleid=5 (open forum mozilla style)

TECK
01-23-2003, 10:16 AM
Done Floris, I added your link. Did you updated your .htaccess file with the fix listed in the first post?
Is really important! Serious, even if I'm smiling. :)

No, the online.php is a different story, you have to hack your file.

Floris
01-23-2003, 10:17 AM
Yeah I did,
it was step 1 in the new instructions html file included in the .zip too right?

The online.php stuff has been updated too, let me check how whois online looks like now.

Floris
01-23-2003, 10:19 AM
floris Unknown Location: /forum/archive/images/mozilla/cat_09.gif?s={my sessionshash} 13:12
Guest Unknown Location: /forum/archive/images/catbgtitle.gif?s={guest's sessioshash}

TECK
01-23-2003, 10:19 AM
Ya.
Let me know about the online.php file, it's working great for me, although I'm using a more complex version... :p

Wh00T?? What are you doing??? :)
Those are graphs, they should never show in the online file unless you are viewing an image only.

Floris
01-23-2003, 10:23 AM
Well,
I dunno :D

I just goto archive/ and so will guests
and the whois online shows up like that.

*scratch head*

TECK
01-23-2003, 10:31 AM
Floris, I'll help you later on with it, on MSN. Check your PM's.
I have to run with my wife for some early shopping, I'll be back in few hours. :)

Floris
01-23-2003, 10:31 AM
I think I might know what could be causing this :D

TECK
01-23-2003, 10:33 AM
Just edit the archive templates then. Add the actual html code instead of the replacement ones... :D

Floris
01-23-2003, 10:35 AM
If I remove them from the styles part,
it will process the next one, like <body background..> etc etc etc, and I bet I won't be the only board who uses those kind of images :>

Floris
01-23-2003, 10:35 AM
Originally posted by TECK
Just edit the archive templates then. Add the actual html code instead of the replacement ones... :D

Guess so :/ hehe

Floris
01-23-2003, 11:03 AM
Well, I have altered as much as I can,
and there are indeed crawlers on my site, from alexa.com
But all unknown locations.
The t-xxx?hash doesn't show up as t-xxx.html?hash either.

eva2000
01-23-2003, 03:35 PM
Originally posted by TECK
There is a minor but very important bug that I noticed, while accesing the main archive file.
To fix it, add this line, at the bottom of your htaccess.txt file:
RedirectMatch 301 ^/archive$ http://www.yoursite.com/forum/archive/Replace the highlighted part with your web site URL.
I updated the .zip files. thanks updated the .htaccess

http://animeboards.com/archive/ :)

nuno
01-23-2003, 09:53 PM
TECK, have you tried this under windows?

TECK
01-23-2003, 09:54 PM
No, but it should work if you use Apache.

nuno
01-23-2003, 09:55 PM
Oops, i mean IIS. :)

TECK
01-23-2003, 09:55 PM
I explained in the first post how to get it work in IIS.

nuno
01-23-2003, 09:58 PM
It's not working. :(

TECK
01-23-2003, 09:58 PM
Did you used the ISAPI Rewrite? It works, at least the software says this.

nuno
01-23-2003, 10:00 PM
Yes, it is installed and up.
Should i add something to httpd.ini?

TECK
01-23-2003, 10:02 PM
I never try it... Try to post and ask for support on their site.
If you find a fix, I would apreciate to post it here so I can link it to the first post.
EDIT: I found this link at PHPBuilder:
http://www.phpbuilder.com/annotate/message.php3?id=1014827

Let me know if you got it working...

nuno
01-23-2003, 10:05 PM
Ok, will do. :)

TECK
01-23-2003, 10:09 PM
I reposted above... :p You are to fast.

nuno
01-23-2003, 10:13 PM
Working on it. :)

nuno
01-23-2003, 10:50 PM
hmm
Don't know if mod_rewrite is needed, now that i think of it. :rolleyes:
What i need is IIS to parse a file with no extension as php, and that's a no-can-do i think.

TECK
01-23-2003, 10:52 PM
There is no way to do this with a .htaccess file in IIS... the only way is the use the "mod_rewrite" for IIS.
Install Apache. :D

nuno
01-23-2003, 11:17 PM
Damn.
This is impossible to run with IIS. :(
Tell me something, what happens if i rename archive to archive.php and launch it?
Will the file be parsed?

TECK
01-23-2003, 11:24 PM
Ya.

nuno
01-23-2003, 11:27 PM
Odd.
All i get is a blank page.

TECK
01-24-2003, 07:41 AM
http://www.teckwizards.com/archive.php
I just rename it for you. :p

TECK
01-24-2003, 09:46 AM
vBulletin.org decided to install my script. Thank you!
https://vborg.vbsupport.ru/archive/

nuno
01-24-2003, 01:09 PM
Originally posted by TECK
http://www.teckwizards.com/archive.php
I just rename it for you. :p
Lol :D
Still no joy :(
Goddamn IIS.

TECK
01-24-2003, 01:19 PM
Is working on my localhost? For sure the links will not display properly (no .htaccess) but... that's a different story. I use also IIS.

nuno
01-24-2003, 01:49 PM
Same here, IIS localhost ONLY. :D
Although IIS6 seems to kick IIS5.x ass away. :p

drumsy
01-24-2003, 03:53 PM
Originally posted by TECK
Version 1.2 released.

Html extension were added to all dynamic pages.
I also fixed a minor bug related to dynamic meta tags.

Here it is also the fix for online.php file (requested by xiphoid):
FILE: online.php
FIND: $loc=preg_replace("/\?s=[a-z0-9]{32}(&)?/","?",$loc);REPLACE WITH: $loc=preg_replace("/\?s=[a-z0-9]{32}(&)?/","?",$loc);
$loc = preg_replace( '~archive/~' , 'index.php' , $loc );
$loc = preg_replace( '~forumdisplay/f-~' , 'forumdisplay.php?forumid=' , $loc );
$loc = preg_replace( '~showthread/t-~' , 'showthread.php?threadid=' , $loc );
$loc = preg_replace( '~-p-[0-9]~' , '' , $loc );
$loc = preg_replace( '~.html~' , '' , $loc );

I still am getting: Unknown Location: /forums/archives.php?

What to do?

TECK
01-24-2003, 04:03 PM
archives.php? You have an old version.
Did you cleared your browser temp files and downloaded the .zip file again, as explained in the first post?
In the readme file if should say at the top V1.2

drumsy
01-24-2003, 06:17 PM
Originally posted by TECK
archives.php? You have an old version.
Did you cleared your browser temp files and downloaded the .zip file again, as explained in the first post?
In the readme file if should say at the top V1.2

Thank you, I will review those procedures! :)

Alwaysmefirst
01-24-2003, 06:19 PM
Hi!

I am trying to install this script but have some troubles. All the installation (vbarchive.php script installer) went fine but when I go to forums/archive I see the content of vbarchive.php in plain text. Can you please help? Thank you.

Olly

drumsy
01-24-2003, 09:58 PM
Originally posted by TECK
archives.php? You have an old version.
Did you cleared your browser temp files and downloaded the .zip file again, as explained in the first post?
In the readme file if should say at the top V1.2

Upgrade successfully! :)

drumsy
01-24-2003, 10:09 PM
Originally posted by drumsy


Upgrade successfully! :)

...but, seems that the online portion still isn't working for me. All I see for my members who are in there is "Viewing Thread Need Trunk Piece," when I thought it would say, "Viewing Archive Thread Need Trunk Piece," like the image shows in this picture:

https://vborg.vbsupport.ru/external/2003/01/1.jpg

Hwulex
01-24-2003, 10:16 PM
Installed and [working perfectly (http://www.xaprief.com/forums/archive/)] first time, thank you. Great hack :)

TECK
01-24-2003, 11:49 PM
Originally posted by Alwaysmefirst
Hi!

I am trying to install this script but have some troubles. All the installation (vbarchive.php script installer) went fine but when I go to forums/archive I see the content of vbarchive.php in plain text. Can you please help? Thank you.

Olly
The steps are very well explained in the readme file.
Make sure you follow them, take your time to read them (every word), as well the first post in this thread.
I wrote a lot of information, for a reason, so you check everything is posted.

TECK
01-25-2003, 12:56 AM
Originally posted by Hwulex
Installed and [working perfectly (http://www.xaprief.com/forums/archive/)] first time, thank you. Great hack :) Very nice archive. :)
Now all you have to do is complete the steps 1-3 from Forum Optimizations. Please read all information listed in the first post, properly.

TECK
01-25-2003, 07:38 AM
Originally posted by drumsy


Upgrade successfully! :) You realize you installed this script for nothing, right? ;)
Your archives are protected so guests will get a no_permission page, due to your settings. In other words no search engine will index your friendly pages or forums.
You should allow guests to view your forums and threads.
I personally never understood why people block guests to view their forums and threads...

Kars10
01-25-2003, 07:57 AM
Hi Teck!!
Thanks for this cool hack!!
Installed without any Problems and tuned up with your addons from the First Page!
But one question: I have imported my PHPBB Forums into VBulletin. Now all written Threads after importing shows correct in the archive. But all other Threads bevor dont show the $post[username] . What can i do? In my Forums all Usernames are there... ;)

Thank you in advance

TECK
01-25-2003, 08:03 AM
Link to archive? I want to see this... :)

Floris
01-25-2003, 05:34 PM
Yesterday I have been getting a lot of visits from alexa.com and today from google.com.

Floris
01-25-2003, 05:52 PM
Originally posted by TECK
There is a minor but very important bug that I noticed, while accesing the main archive file.
To fix it, add this line, at the bottom of your htaccess.txt file:
RedirectMatch 301 /archive$ http://www.yoursite.com/forum/archive/Replace the highlighted part with your web site URL.
I updated the .zip files.

By the way:
RedirectMatch 301 /archive$ http://www.yoursite.com/forum/archive/
but the .zip says
RedirectMatch 301 ^/archive$ http://www.yoursite.com/forum/archive/

hence the ^.

TECK
01-25-2003, 07:02 PM
I corrected this a while ago. :)
Thanks for checking out for me Floris.

EDIT: I linked your screenshot to the first post, is a good example for a script in action. :)

TECK
01-25-2003, 07:06 PM
I wonder if is a good idea to block completly the /forum folder for crawlers?
Since the archive is there, they don't need to go to the forums... let me know what you think.

kuska
01-25-2003, 08:30 PM
Hey Teck what a awesome hack :)
Instalation was a SNAP !!!
Im using it on my Polish Community Forums at http://www.NaKazdyTemat.com/archive

3 Qestions.
1) Is there a way to make the smilies show up?
2) Is it a good idea to put my original header links on the arichive like i did with a different Search hack indexer ( http://www.NaKazdyTemat.com/forum ) <---Like i did here. Seach engines did index these even with my original header included.
3) Is it ok for the main logo to be a link to my main forum? I noticed that alot of the demo archives in your 1st post do not link the image with the main forum. Does this matter ?

Great Job... Waiting for spiders to crawl now :)

Floris
01-25-2003, 08:39 PM
Originally posted by TECK
I corrected this a while ago. :)
Thanks for checking out for me Floris.

EDIT: I linked your screenshot to the first post, is a good example for a script in action. :)

Great :) More cookies for me.



Originally posted by TECK
I wonder if is a good idea to block completly the /forum folder for crawlers?
Since the archive is there, they don't need to go to the forums... let me know what you think.

I never block anything, I rather have them link to a nopermission page then none at all :)

TECK
01-25-2003, 08:44 PM
Originally posted by kuska
1) Is there a way to make the smilies show up?
2) Is it a good idea to put my original header links on the arichive like i did with a different Search hack indexer ( http://www.NaKazdyTemat.com/forum ) <---Like i did here. Seach engines did index these even with my original header included.
3) Is it ok for the main logo to be a link to my main forum? I noticed that alot of the demo archives in your 1st post do not link the image with the main forum. Does this matter ?

Great Job... Waiting for spiders to crawl now :)
1. In showthread.txt file, replace:$post['pagetext'] , $forum['forumid'] , 0with::$post['pagetext'] , $forum['forumid'] , 12. Crawlers don't have access to those files so there is no need to add them (you did perform the first 3 steps in forums optimizations, right?).

3. I really can't answer this. I expect to see fastforward posting an answer related to this. Is controversial.
I searched many web sites for an answer. Some say is good not to have it, some say that some search engines could consider this as URL cloacking if you don't link back to the main forum page.

I really want you guys to search for issue no. 3, is hard for me to do everything... So we know for sure what is best.
Toghether we can make perfect this script. I still think is a good idea to block completly the /forum folder in robots.txt file... we will see what other experts say.

Go to:
http://searchengineforums.com/
and ask there for an answer, there are many people posting, including Google tech people.
If you find other forums, post them here so we all know about it.

kuska
01-25-2003, 09:35 PM
Well in question number 2, i thouth having a nav bar would encourage new users to visit links on it, but i dont want to do it in case it might ruin my indexing chance. I think ill leave that alone...
And smilies? I get a "X" image now ... Its linking them to /showthread/images instead of just /images .... Sorry for asking this im a newbie... How do i correct this problem?

And i also wanted to know from other people who installed this if leaving the main logo as a link is a good/bad idea. Thanks.

TECK
01-25-2003, 09:40 PM
You can add it if you want. Make sure you perform the forum optimizations.
Ahh ya, about the smilies... You cannot do it without further hacking and is a big one, you need to edit in several place the functions.php, not worth... so leave it like it is, no smilies... is better.

TECK
01-25-2003, 09:47 PM
Originally posted by xiphoid
I fixed the whois online locations, but now they are showing the normal threads title & url, and doesn't say 'archive' thread ..
I updated the post with 2 methods now. :)
Have fun Floris.

Alwaysmefirst
01-25-2003, 09:53 PM
Originally posted by TECK

The steps are very well explained in the readme file.
Make sure you follow them, take your time to read them (every word), as well the first post in this thread.
I wrote a lot of information, for a reason, so you check everything is posted.
Hi Floren,

You were right! The dot at the front of .htaccess was missing because the dot in the keypad didn't work (I didn't know until now) and I couldn't see the .htaccess file because it disappeared right after I renamed the htaccess.txt file to .htaccess
Thanks again. This is the best hack! :banana:

Olly

TECK
01-25-2003, 09:56 PM
There are some ftp clients that have options to show you the hidden files.
I use FlashFXP.com, I find it very good. :)

Also, I'm glad you got it working.
Floren.

TECK
01-25-2003, 09:59 PM
Originally posted by drumsy
...but, seems that the online portion still isn't working for me. All I see for my members who are in there is "Viewing Thread Need Trunk Piece," when I thought it would say, "Viewing Archive Thread Need Trunk Piece," like the image shows in this picture:

https://vborg.vbsupport.ru/attachment.php?s=&postid=343833 Ya, it was my extra taste... I hacked this for myself.
Is ok, I release it for everyone now, since you guys like it. :)
Check the second method I posted...

Martin64
01-25-2003, 10:18 PM
Excellent idea, TECK, I surely will install this. Thanks! :D

TECK
01-26-2003, 05:16 AM
Ok, I blocked today the /forum folder in robots.txt file.
Google went as usual through it's route... no problems there.
I will leave it like that for a while and let you know if everything is ok.

Here it is a screenshot with the crawlers going through the new posts.

Domenico
01-26-2003, 11:06 AM
Everything works except this ->
http://www.mydomain.com//forumdisplay/f-2.html

You see the double // ?
Everything still works but this is wrong and I don't know how the crawlers react on this.

How can I fix this?
Thank you!

Hwulex
01-26-2003, 02:50 PM
Originally posted by TECK
Very nice archive. :)
Now all you have to do is complete the steps 1-3 from Forum Optimizations. Please read all information listed in the first post, properly.
Hi TECK.
I had actually skipped over those bits :nervous:, but have been through 1-3 now, thankyou.
Only one small problem, $bburl doesn't seem to be set for me in index.php and forumdisplay.php. Whenever it's used, it just doesn't work.

If you go to my Forum Homepage (http://www.xaprief.com/forums/) and look at the links on the Forum Icons, it's not set correctly, despite using the exact code from your templates.

$bburl is set in my admin panel to:
http://www.xaprief.com/forums

I could set this manually in the code, but shouldn't need to. Any ideas?

<EdiT>
Looks like Domenico is having the same problem judging by his // (double slash).

TECK
01-26-2003, 03:09 PM
I updated the code, vBulletin.org site parsed the replacement code I had there...
I see that your icons don't have a link now? You can also use only:<td valign="top"><a href="forumdisplay/f-$forum[forumid].html"><img src="{imagesfolder}/$forum[onoff].gif" border="0" alt="$forum[title] Archive"></a></td>It will still work fine.
Try it again and let me know, first with $bburl/forumdisplay/f-... but leave it so I can see it with my own eyes.

Hwulex
01-26-2003, 03:22 PM
Hi, sorry, I'm working on a different template set, and forgot to link to it. Where I'm working is at: http://www.xaprief.com/forums/index.php?styleid=4

I'll have another look now, cheers...



Ok. I used the code you suggested, just:
<a href="forumdisplay/f-$forum[forumid].html">
And it works great. Cheers :)

kuska
01-26-2003, 03:29 PM
Does anyone know the dates of google dances? I had one google spider visit my forum yesterday but it did not pick up the link to my archive : \
I have the link to my archive visible but in my footer. Inktomi Slurp picked up on the link and was all over my archive forums but not Google. Any ideas?

TECK
01-26-2003, 04:09 PM
Read the first post, is explained in the email from Google tech support. Be patient. :)

TECK
01-26-2003, 04:16 PM
Originally posted by Hwulex
Hi, sorry, I'm working on a different template set, and forgot to link to it. Where I'm working is at: http://www.xaprief.com/forums/index.php?styleid=4Make SURE you leave the name in the alt="...Archive..." tag!!!
You have no idea how IMPORTANT this is. I didn't put it there for fun.
Search engines pick links ONLY from graphics that have no empty alt="" tags.

Floris
01-26-2003, 04:55 PM
Your second method to show online locations

It shows the viewing archive thread blahblah

But when you hover over blahblah it doesn't have the archive/ in the link! (uhoh) if you need to test, you can use my test/test account

the case in the method 2 for online.php has

case 'archiveforumdisplay.php':

are those correct?

Hwulex
01-26-2003, 05:06 PM
Originally posted by TECK
Make SURE you leave the name in the alt="...Archive..." tag!!!
You have no idea how IMPORTANT this is. I didn't put it there for fun.
Search engines pick links ONLY from graphics that have no empty alt="" tags.
Ah, sorry.
I didn't use your full template replacement codes, because my templates are different to default ones, and I didn't see those bits. I'll add them now :)

Hwulex
01-26-2003, 05:18 PM
I'd also just like to say a big thankyou to you TECK.
You've offered exemplary, and quite unrivalled, support for this hack. Not only fixing people's posted problems, but also checking their installations for them (ie, me!).

Hats off to you sir.

TECK
01-26-2003, 05:26 PM
Originally posted by Hwulex
I'd also just like to say a big thankyou to you TECK.
You've offered exemplary, and quite unrivalled, support for this hack. Not only fixing people's posted problems, but also checking their installations for them (ie, me!).

Hats off to you sir.Thanks big guy. Well I want to make sure everyone is happy, is important to me.
Plus, people know me for writing decent code, that performs well in vBulletin, so I don't want to break this little reputation I have... :D
Originally posted by xiphoid
Your second method to show online locations
It shows the viewing archive thread blahblah
But when you hover over blahblah it doesn't have the archive/ in the link!
Is ok, is supposed to be like that. The beauty of my script compared to others is that it will not add another subfolder to the actual /archive folder.
The crawler will think that you placed all .html "forum thread" files into a new folder called /forumdisplay.
Let's take an example Floris. This is what I use:
---[forum < your normal forum
------[archive < forcetyped archive main page folder
------[forumdisplay < all subforums and thread titles are listed here
------[showthread < all posts are listed here

Instead of:
---[forum
------[archive
---------[forumdisplay
---------[showthread

Is proven that search engines index faster if you have your subfolders closer to the root. That's why I used this technique.
Cool huh? :)the case in the method 2 for online.php has
case 'archiveforumdisplay.php':
are those correct?
Yes, the code is correct, don't panic. ;)

Logician
01-27-2003, 11:11 AM
Nice work Teck!

Is there any chance that you'll provide the template installations in a text file so that it can be manually installed too?

TECK
01-27-2003, 11:31 AM
Hi Logician,
Thanks for the comments. To install manually the templates, simply look in vbarchive.php file, they are at the top.
Copy and paste the template title/content.

Why do you want to add them as custom templates? The installer will create a "Archive Templates" group and set your templates for each style you have on your board. It will save you time and is easier, overall, using the installer...

Logician
01-27-2003, 02:53 PM
Originally posted by TECK
Why do you want to add them as custom templates? The installer will create a "Archive Templates" group and set your templates for each style you have on your board. It will save you time and is easier, overall, using the installer...
No big deal.. I usually prefer to work manually instead of using install scripts, that's why I asked. Nevermind, I installed it to a test board and acquired the templates from there.. ;)

I have installed it to my board and it's working very well. I have made some modifications&translations and still some work to do but as far as I can see, I can safely say that it's coded very well in every terms.. Very good work! :glasses:

Btw. I like smilies be parsed so coded a small add-on and it's doing well. Here it is, in case other people also want to parse smilies in archive driven pages:

Logician
01-27-2003, 02:56 PM
Originally posted by TECK
Thanks Logician. :)
Btw, your smilies file is empty...
sorry.. updated..

TECK
01-29-2003, 07:59 AM
Version 1.3 released. :)

Floris
01-29-2003, 08:51 AM
I will upgrade later today :)

Logician
01-29-2003, 09:12 AM
I wonder who is rating this thread with low scores? :rolleyes:

The hack is advanced and well written and FREE. It does not have any problems as far as I can see. It adds a very valuable asset to our boards. The thread is also useful to give a lot of information about search engine indexing. Hack author is giving support for every single posts.

So why low rating?!?

It's a shame..

It gets 5 stars from me..

Hwulex
01-29-2003, 12:37 PM
Email received, and quickly upgraded to v1.3.
Thanks again for the great hack.

Hwu

Domenico
01-29-2003, 01:41 PM
Cool upgrade! I will do the upgrade tonight. :)
Thanks Teck...

Dean C
01-29-2003, 03:35 PM
I'll upgrade tonight :)

Excellent job TECK :)

- miSt

Floris
01-29-2003, 05:24 PM
Updated to 1.3


Issue #1:
The Whois Online (http://creations.nl/forum/online.php?s=) page on my forum displayes the Viewing Archive Main Page (http://creations.nl/forum/archive/) part like this: http://creations.nl/forum/archive/ which is correct, but if a user goes 'deeper (Viewing Archive Forum The Lounge)', like into a forum, or a thread, then it shows like: http://creations.nl/forumdisplay/f-5.html and that isn't correct, it is missing the forum/ part in the url.

Issue #2:
The Archive Index (http://creations.nl/forum/archive/) page on my forum displayes the frontpage with Threads: x Posts: y - which is correct. But not the link it has. The forum category link is correct and works, but the threads/posts has the same link, just without the 'forum/' part in the url (like in issue 1 too).


I noticed there are some places where it doesn't say $bburl but $archiveurl .. where can I change $archiveurl ?

[update]
I have modified the archive_forumtitle template by replacing $archiveurl with $bburl and this solved issue #2. (Not sure about issue #1, since that is related to the online.php file I guess.

TECK
01-29-2003, 06:20 PM
Floris, I just went to your forums and it displays everything the way it supposed to be. I already answered to you earlier, it's supposed to be like this. :)
About the second issue, it was my mistake, sorry. I updated the file now and replaced the $archiveurl (2 times) with $bburl.
I was tired and pasted the code from my actual archive without checking... sorry.

Floris
01-29-2003, 06:27 PM
Originally posted by TECK
Floris, I just went to your forums and it displays everything the way it supposed to be. I already answered to you earlier, it's supposed to be like this. :)
About the second issue, it was my mistake, sorry. I updated the file now and replaced the $archiveurl (2 times) with $bburl.
I was tired and pasted the code from my actual archive without checking... sorry.

The screenshot does show the link nice,
but..

What I wrote was : hover your mouse over the link, it doesn't show creations.nl/forum/ .. but only creations.nl/ .. (see your status bar).


By the way, I just setup a subdomain to link to the archive :)

http://archive.creations.nl/ - another url to submit to the search engines! :)

TECK
01-29-2003, 06:31 PM
Ya, it's supposed to be like this Floris. :)
Read more here:
https://vborg.vbsupport.ru/showthread.php?postid=346597#post346597

Also, when you have time, post a tutorial on how you edited the forums to use the cached URL like the one you listed above.
Users will like this feature.

Edit: Sorry, I figured out what you mean, I will look at the online.php code now...

Floris
01-29-2003, 06:36 PM
By the way:
GOOGLE INDEX STATUS
To see how your site is doing, related to links, go to Google Web Site and type:
site:yourwebsite.com archive

I entered: site:creations.nl archive and it returned:
Results 1 - 10 of about 1,030. Search took 0.02 seconds

Wee :)

The vB Stats page also shows that the links are all search engines :)

Link Queue (http://creations.nl/forum/vbstats.php?s=): [search.yahoo.com] [www.google.com] [www.google.nl] [uk.search.yahoo.com] [www.vbulletin.com] [aolsearch.aol.com] [www.google.co.uk] [www.google.com.ar] [www.google.fr] [search.netscape.com] [www.google.ca] [www.vbulletin.org] [www.google.lt] [msxml.excite.com] [www.google.de] [srd.yahoo.com] [www.yahoo.com] [aolsearch.aol.co.uk] [www.google.fi] [www.google.it] [www.google.co.il] [search.virgilio.it] [www.google.ie] [www.ifind.freeserve.com] [www.google.com.au] [search.earthlink.net] [sg.google.yahoo.com] [www.google.co.kr] [www.google.pl] [www.goggle.it] [au.google.yahoo.com] [zoek.vinden.nl] [ca.google.yahoo.com] [www.hotbot.com] [fr.search.yahoo.com] [beta.jelsoft.com] [search.metacrawler.com] [www.google.be] [pesquisa.sapo.pt]

Wee2 :)

Floris
01-29-2003, 06:38 PM
Originally posted by TECK
Ya, it's supposed to be like this Floris. :)
Read more here:
https://vborg.vbsupport.ru/showthread.php?postid=346597#post346597

Also, when you have time, post a tutorial on how you edited the forums to use the cached URL like the one you listed above.
Users will like this feature.

Edit: Sorry, I figured out what you mean, I will look at the online.php code now...

Yeah, ok :D hehe
* Floris hits nakkid on the head.

cached? You mean the sub-domain ? I just added that through cpanel with a redirection to the forum/archive

TECK
01-29-2003, 06:39 PM
Ok I fixed the online.php issue. Just toss the "$bburl/" part in the 3 instances that appears ($bburl/archive/..., $bburl/forumdisplay/... and $bburl/showthread/...).

Who's nakkid? ;)
It shows you are a vB.org veteran... :D

Floris
01-29-2003, 10:52 PM
Originally posted by TECK
Ok I fixed the online.php issue. Just toss the "$bburl/" part in the 3 instances that appears ($bburl/archive/..., $bburl/forumdisplay/... and $bburl/showthread/...).

Who's nakkid? ;)
It shows you are a vB.org veteran... :D

I changed the $bburl to the real url which it should have (who cares about hard coded hehe)

Hwulex
01-29-2003, 11:35 PM
I just swapped the $archiveurl to $bburl in the archive_forumtitle template, and it's fine now. :)

Gonna look at online.php now.

zajako
01-30-2003, 01:44 AM
Originally posted by TECK
Who's nakkid? ;)
It shows you are a vB.org veteran... :D [/B]

heh, guess that makes me vetran too :P

limey
01-30-2003, 06:05 AM
Did you make a mistake with the file upload? looks like 1.2 still.

TECK
01-30-2003, 06:27 AM
Did you read the first post?

Floris
01-30-2003, 06:56 AM
I AM SEXY

TECK
01-30-2003, 06:58 AM
Huh? I think you are referring to your stats? They are pretty solid...
You basically have every single damn search engine listed, LOL.

Edit: overgrow installed the archive... :)
http://www.overgrow.com/edge/archive/

djr
01-30-2003, 10:11 AM
* djr installed!

A VERY BIG thank you Teck!

You can submit my archive to your links if you want:
http://archief.pdaclub.nl

djr
01-30-2003, 11:20 AM
(hopefully) small problem. We use a external stylesheet for our site (and also on the forums), but now it lists this in online.php:

jean-paul | Unknown Location: /forums/showthread/style.css? | 14:09 | **

This happens for every location. It just appends style.css to it.
Any info how to fix that?

- djr

limey
01-30-2003, 05:20 PM
Originally posted by TECK
Did you read the first post?

the blasted temp files....I really didn't think would matter. You wrote for a reason tho..

Floris
01-30-2003, 05:27 PM
Today I noticed some big visites allll over the day, turned out to be 'inktomisearch.com' - so that wasn't so bad :P hehe. This hack is starting to pay off. At least it works. Results within a month from 10 search engines +

I am glad I could add this to vbulletin 2 before switching to vbulletin 3 where this is a default feature.

Floris
01-30-2003, 05:28 PM
Originally posted by djr
(hopefully) small problem. We use a external stylesheet for our site (and also on the forums), but now it lists this in online.php:

jean-paul | Unknown Location: /forums/showthread/style.css? | 14:09 | **

This happens for every location. It just appends style.css to it.
Any info how to fix that?

- djr

Open the archive template and replace the style.css file with the actual content and make sure it doesn't link to images. Then try again (note that it will only show up corrected for newly visits due to cookie timeout)

Floris
01-30-2003, 06:23 PM
In the archive template in version 1.3 it says in the footer copyright (which we are not allowed to remove) 'yourtecksite/forum/vbulletin.php/' which kind of looks like a spam for the affiliate program. This was unsollicitated and not announced in your hack, previous versions didn't have this link? I ofcourse do not agree with this and immediatly removed that from the archive, and the cookies from my computer. I hope I am wrong and you just forgot to remove it when you made a new version?

Floris
01-30-2003, 07:19 PM
By the way, I just installed this on www.steroidology.com/forum/archive/ so feel free to add that to the first post. (Also made subdomain http://archive.steroidology.com/ for another access)

Floris
01-30-2003, 08:45 PM
I just entered
site:creations.nl archive in google again, and instead of 1030 results, it only had 10. EEEEEER ? /:/

djr
01-30-2003, 08:56 PM
Originally posted by xiphoid
Open the archive template and replace the style.css file with the actual content and make sure it doesn't link to images. Then try again (note that it will only show up corrected for newly visits due to cookie timeout)
Hai Floris,

Thanks for the suggestion, but the archive template is still the original one. The problem is the $headinclude. We have the style.css defined in the head template.
Should I take the style info from style.css and put it in the archive template as inline stylesheet?

- djr

Floris
01-30-2003, 08:57 PM
I have put everything from head include in the archive template, instead of the $headinclude, and each image or remote linked or whatever, has been hard coded.

djr
01-30-2003, 09:13 PM
ok, thanks for the heads up. Now I just have to wait until my cookie times out ;)

- djr

Floris
01-30-2003, 09:14 PM
Originally posted by djr
ok, thanks for the heads up. Now I just have to wait until my cookie times out ;)

- djr

Or .. logout, which clears the cookie.

TECK
01-30-2003, 10:15 PM
Originally posted by xiphoid
In the archive template in version 1.3 it says in the footer copyright (which we are not allowed to remove) 'yourtecksite/forum/vbulletin.php/' which kind of looks like a spam for the affiliate program. This was unsollicitated and not announced in your hack, previous versions didn't have this link? I ofcourse do not agree with this and immediatly removed that from the archive, and the cookies from my computer. I hope I am wrong and you just forgot to remove it when you made a new version?
Ya, I forgot to remove it, same like the $archiveurl variable. I will fix the file now, thanks for the head ups, Floris.
Remember when I told you I did it late at night and I was tired?

EDIT: Link fixed! :)

Originally posted by xiphoid
I just entered
site:creations.nl archive in google again, and instead of 1030 results, it only had 10. EEEEEER ? /:/
Is normal, read the email from Google tech support, in the first post.
Their words: "Don't panic, be patient..."

Overgrow
01-31-2003, 12:46 AM
Beautiful hack.. I've replaced my original archive (vBSpiderFriend) with this.

http://www.overgrow.com/edge/archive

1.9 million posts in there :D

Zombie
01-31-2003, 12:53 AM
Thanks a ton TECK for this hack

I've been having no luck with other "archive" hacks because search engines have never indexed any of those, but this one got search engines to index my site within 24 hours after adding this hack

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