PDA

View Full Version : vbArchive - Search Engine Indexer for vBulletin


Pages : [1] 2 3 4

TECK
13 Jan 2003, 06:19
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 (http://www.vbulletin.org/forum/showpost.php?s=&postid=346237) and it's Google results (http://www.vbulletin.org/forum/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 (http://www.vbulletin.org/forum/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 (http://www.vbulletin.org/forum/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 (http://www.vbulletin.org/forum/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 (http://www.vbulletin.org/forum/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 (http://www.vbulletin.org/forum/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 (http://www.vbulletin.org/forum/showthread.php?s=&threadid=47087) - another script coded by Xenon
fastforward's Spider Friendly URL's (http://www.vbulletin.org/forum/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 (http://www.vbulletin.org/forum/showthread.php?postid=342706#post342706).
2. TO BLOCK CRAWLERS GO TO CERTAIN PAGES, READ MORE HERE (http://www.vbulletin.org/forum/showthread.php?postid=342923#post342923).
3. TO LINK EACH FORUM/THREAD DIRECTLY TO ARCHIVE FILES, READ MORE HERE (http://www.vbulletin.org/forum/showthread.php?postid=344457#post344457).
4. TO DISPLAY NICE LOCATIONS, THE FIX FOR online.php FILE IS HERE (http://www.vbulletin.org/forum/showthread.php?postid=342218#post342218).
5. TO DISPLAY CRAWLER NAME INSTEAD OF GUEST ON FRONTPAGE AND ONLINE PAGE, READ MORE HERE (http://www.vbulletin.org/forum/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 (http://www.vbulletin.org/forum/showthread.php?postid=351786#post351786).
7. IF YOU WANT THE MAIN ARCHIVE FILE TO HAVE A .php EXTENSION, READ MORE HERE (http://www.vbulletin.org/forum/showthread.php?postid=342448#post342448).
8. TO CHANGE THE threads/posts per page NUMERIC VALUES, READ MORE HERE (http://www.vbulletin.org/forum/showthread.php?postid=342451#post342451).
9. TO DISPLAY THE SMILIES AS image parsed, READ MORE HERE (http://www.vbulletin.org/forum/showthread.php?postid=346995#post346995) (mod by Logician).

IMPORTANT
Kill crawler918.com! READ MORE HERE (http://www.vbulletin.org/forum/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://www.vbulletin.org/forum/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 (http://www.vbulletin.org/forum/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
13 Jan 2003, 06:50
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) (http://www.vbulletin.org/forum/showthread.php?s=&threadid=36756) and it's Archive Add-On.

Chris Gwynne
13 Jan 2003, 06:58
Beautiful.

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

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

Floris
13 Jan 2003, 09:23
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,b bs,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
13 Jan 2003, 09:33
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
13 Jan 2003, 10:04
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
13 Jan 2003, 10:07
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
13 Jan 2003, 10:08
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
13 Jan 2003, 10:17
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
13 Jan 2003, 10:22
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
13 Jan 2003, 10:58
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
13 Jan 2003, 11:09
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
13 Jan 2003, 11:13
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
13 Jan 2003, 11:13
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
13 Jan 2003, 11:19
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
13 Jan 2003, 11:19
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
13 Jan 2003, 11:22
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
13 Jan 2003, 12:21
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
13 Jan 2003, 14:12
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
13 Jan 2003, 14:29
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
13 Jan 2003, 16:23
Looks extremely nice Floren - i'll check this out for definate :D

- miSt

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

Floris
13 Jan 2003, 17:53
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
13 Jan 2003, 17:58
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!1111111111111111111111111111111111111111111111111111111111111111

TECK
13 Jan 2003, 18:15
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
13 Jan 2003, 18:31
sitting on the edge of my seat..

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

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

drumsy
13 Jan 2003, 19:18
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
13 Jan 2003, 19:42
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
13 Jan 2003, 20:41
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
13 Jan 2003, 21:30
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
14 Jan 2003, 01:32
I just got back in.. YOu're not ready yet are you with the upgrade?

TECK
14 Jan 2003, 01:46
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
14 Jan 2003, 02:03
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
14 Jan 2003, 02:28
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
14 Jan 2003, 02:36
Still didn't get my current template style.

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

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

glenvw
14 Jan 2003, 02:39
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
14 Jan 2003, 02:50
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
14 Jan 2003, 03:02
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
14 Jan 2003, 03:04
Does it look better now?

Is there a problem with my http linking the Logo?

TECK
14 Jan 2003, 03:07
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
14 Jan 2003, 03:14
Look how useful is the pagination for large forums:
http://www.yes-its-free.com/vbbs/forumdisplay/f-4

ManagerJosh
14 Jan 2003, 08:11
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
14 Jan 2003, 14:13
Upgraded! :)

glenvw
14 Jan 2003, 14:39
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
14 Jan 2003, 18:55
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
14 Jan 2003, 18:56
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
14 Jan 2003, 19:12
Because im curious ^

TECK
14 Jan 2003, 20:11
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
14 Jan 2003, 20:37
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
14 Jan 2003, 21:07
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
14 Jan 2003, 21:34
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
14 Jan 2003, 21:47
Me too I want to know, that's why I asked in previous post. :)

codewebs
14 Jan 2003, 21:58
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
14 Jan 2003, 22:15
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
15 Jan 2003, 00:18
Ask fastforward, he knows the answer. :)

TECK
15 Jan 2003, 01:43
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
15 Jan 2003, 04:20
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
15 Jan 2003, 11:15
Nice hack, TECK. Just saw this one. Great work, as always. :)

Dean C
15 Jan 2003, 16:35
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
15 Jan 2003, 17:31
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
16 Jan 2003, 00:02
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
16 Jan 2003, 00:11
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]
16 Jan 2003, 10:45
Great Hack TECK. You r00lez ;] Keep up the good job!

/me clicks INSTALL :> w00t :D

glenvw
16 Jan 2003, 14:23
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
16 Jan 2003, 14:53
[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
16 Jan 2003, 17:06
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
16 Jan 2003, 17:15
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
16 Jan 2003, 17:38
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
16 Jan 2003, 17:50
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]
16 Jan 2003, 18:27
wiKKid! :D

TECK
17 Jan 2003, 13:43
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
17 Jan 2003, 19:38
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
17 Jan 2003, 19:52
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
17 Jan 2003, 21:35
Nice TECK:)

*installs*

Satan

TECK
18 Jan 2003, 16:27
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
18 Jan 2003, 16:35
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
18 Jan 2003, 16:38
The difference are the meta tags. :)
You want dynamic meta tags, unique for each page, period.

codewebs
19 Jan 2003, 04:37
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
19 Jan 2003, 04:43
: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
19 Jan 2003, 06:34
I thought is obvious... Btw, you are not using my archive but only my extras... What's the reason?

codewebs
19 Jan 2003, 06:43
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
19 Jan 2003, 08:52
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
19 Jan 2003, 11:19
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
19 Jan 2003, 15:04
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
19 Jan 2003, 15:27
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
19 Jan 2003, 18:51
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
19 Jan 2003, 18:57
what's the best way to turn off certain private forums from being viewed altogether regardless of usergroup permissions ?

Dean C
19 Jan 2003, 19:00
Wow fancty seeing you here eva :)

- miSt

TECK
19 Jan 2003, 19:04
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
19 Jan 2003, 19:18
awesome works great http://animeboards.com/archive/?styleid=18 :)

TECK
19 Jan 2003, 19:22
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
19 Jan 2003, 19:28
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
19 Jan 2003, 19:30
Ok, now remove the link to the forums home page in the header. :p

eva2000
19 Jan 2003, 19:31
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
19 Jan 2003, 19:36
Hmm really? That's interesting, where did you read this George?
Let me know please...

I added your link to the first post. :)

eva2000
19 Jan 2003, 20:07
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
19 Jan 2003, 20:08
i believe under the heading of doorway pages

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

TECK
19 Jan 2003, 20:13
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
19 Jan 2003, 21:09
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
19 Jan 2003, 21:19
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
19 Jan 2003, 21:25
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
19 Jan 2003, 21:26
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
19 Jan 2003, 21:27
Can you girls stop +++++ing at eachother?

Floris
19 Jan 2003, 21:28
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
19 Jan 2003, 21:30
:( 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
19 Jan 2003, 21:31
Ok, I'll make a script for you, hold on....

codewebs
19 Jan 2003, 21:37
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
19 Jan 2003, 21:41
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
19 Jan 2003, 21:43
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,archive_categorytitle,archive_forum title,archive_homeinfo';
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
19 Jan 2003, 21:55
i guess i just do everything wrong :(

http://www.codewebs.com/archive

no forums

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

VampireMan
19 Jan 2003, 22:20
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
20 Jan 2003, 00:46
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
20 Jan 2003, 06:26
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
20 Jan 2003, 17:38
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
20 Jan 2003, 20:53
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
20 Jan 2003, 21:35
You did not read the readme file properly. Did you add to functions.php the needed code?

Floris
20 Jan 2003, 21:44
You removed the 'No' part
rofl :)

TECK
20 Jan 2003, 21:47
:)
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
21 Jan 2003, 02:59
Thank you!

eva2000
21 Jan 2003, 12:19
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
21 Jan 2003, 14:56
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
21 Jan 2003, 15:12
You are getting this error message because you don't have that function present in functions.php file.
Check your installation.

crocket
21 Jan 2003, 15:31
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,$copyrig httext,$versionnumber; $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
21 Jan 2003, 16:03
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
21 Jan 2003, 17:29
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
21 Jan 2003, 17:32
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
21 Jan 2003, 17:43
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
21 Jan 2003, 18:28
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
21 Jan 2003, 20:03
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
22 Jan 2003, 20:15
Looks like your host fixed their problem...
http://www.lcdmod.com/forums/archive/

crocket
22 Jan 2003, 20:21
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
22 Jan 2003, 20:57
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
23 Jan 2003, 09:31
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
23 Jan 2003, 10:06
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
23 Jan 2003, 10:53
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
23 Jan 2003, 11:16
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
23 Jan 2003, 11:17
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
23 Jan 2003, 11:19
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
23 Jan 2003, 11:19
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
23 Jan 2003, 11:23
Well,
I dunno :D

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

*scratch head*

TECK
23 Jan 2003, 11:31
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
23 Jan 2003, 11:31
I think I might know what could be causing this :D

TECK
23 Jan 2003, 11:33
Just edit the archive templates then. Add the actual html code instead of the replacement ones... :D

Floris
23 Jan 2003, 11:35
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
23 Jan 2003, 11:35
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
23 Jan 2003, 12:03
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
23 Jan 2003, 16:35
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
23 Jan 2003, 22:53
TECK, have you tried this under windows?

TECK
23 Jan 2003, 22:54
No, but it should work if you use Apache.

nuno
23 Jan 2003, 22:55
Oops, i mean IIS. :)

TECK
23 Jan 2003, 22:55
I explained in the first post how to get it work in IIS.

nuno
23 Jan 2003, 22:58
It's not working. :(

TECK
23 Jan 2003, 22:58
Did you used the ISAPI Rewrite? It works, at least the software says this.

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

TECK
23 Jan 2003, 23:02
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
23 Jan 2003, 23:05
Ok, will do. :)

TECK
23 Jan 2003, 23:09
I reposted above... :p You are to fast.

nuno
23 Jan 2003, 23:13
Working on it. :)

nuno
23 Jan 2003, 23:50
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
23 Jan 2003, 23:52
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
24 Jan 2003, 00:17
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
24 Jan 2003, 00:24
Ya.

nuno
24 Jan 2003, 00:27
Odd.
All i get is a blank page.

TECK
24 Jan 2003, 08:41
http://www.teckwizards.com/archive.php
I just rename it for you. :p

TECK
24 Jan 2003, 10:46
vBulletin.org decided to install my script. Thank you!
http://www.vbulletin.org/forum/archive/

nuno
24 Jan 2003, 14:09
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
24 Jan 2003, 14:19
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
24 Jan 2003, 14:49
Same here, IIS localhost ONLY. :D
Although IIS6 seems to kick IIS5.x ass away. :p

drumsy
24 Jan 2003, 16:53
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
24 Jan 2003, 17:03
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
24 Jan 2003, 19:17
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
24 Jan 2003, 19:19
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
24 Jan 2003, 22:58
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
24 Jan 2003, 23:09
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://www.vbulletin.org/forum/external/2003/01/1.jpg

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

TECK
25 Jan 2003, 00:49
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
25 Jan 2003, 01:56
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
25 Jan 2003, 08:38
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
25 Jan 2003, 08:57
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
25 Jan 2003, 09:03
Link to archive? I want to see this... :)

Floris
25 Jan 2003, 18:34
Yesterday I have been getting a lot of visits from alexa.com and today from google.com.

Floris
25 Jan 2003, 18:52
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
25 Jan 2003, 20:02
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
25 Jan 2003, 20:06
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
25 Jan 2003, 21:30
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
25 Jan 2003, 21:39
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
25 Jan 2003, 21:44
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
25 Jan 2003, 22:35
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
25 Jan 2003, 22:40
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
25 Jan 2003, 22:47
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
25 Jan 2003, 22:53
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
25 Jan 2003, 22:56
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
25 Jan 2003, 22:59
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:

http://www.vbulletin.org/forum/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
25 Jan 2003, 23:18
Excellent idea, TECK, I surely will install this. Thanks! :D

TECK
26 Jan 2003, 06:16
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
26 Jan 2003, 12:06
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
26 Jan 2003, 15:50
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
26 Jan 2003, 16:09
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
26 Jan 2003, 16:22
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
26 Jan 2003, 16:29
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
26 Jan 2003, 17:09
Read the first post, is explained in the email from Google tech support. Be patient. :)

TECK
26 Jan 2003, 17:16
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
26 Jan 2003, 17:55
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
26 Jan 2003, 18:06
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
26 Jan 2003, 18:18
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
26 Jan 2003, 18:26
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
27 Jan 2003, 12:11
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
27 Jan 2003, 12:31
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
27 Jan 2003, 15:53
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
27 Jan 2003, 15:56
Originally posted by TECK
Thanks Logician. :)
Btw, your smilies file is empty...
sorry.. updated..

TECK
29 Jan 2003, 08:59
Version 1.3 released. :)

Floris
29 Jan 2003, 09:51
I will upgrade later today :)

Logician
29 Jan 2003, 10:12
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
29 Jan 2003, 13:37
Email received, and quickly upgraded to v1.3.
Thanks again for the great hack.

Hwu

Domenico
29 Jan 2003, 14:41
Cool upgrade! I will do the upgrade tonight. :)
Thanks Teck...

Dean C
29 Jan 2003, 16:35
I'll upgrade tonight :)

Excellent job TECK :)

- miSt

Floris
29 Jan 2003, 18:24
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
29 Jan 2003, 19:20
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
29 Jan 2003, 19:27
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
29 Jan 2003, 19:31
Ya, it's supposed to be like this Floris. :)
Read more here:
http://www.vbulletin.org/forum/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
29 Jan 2003, 19:36
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
29 Jan 2003, 19:38
Originally posted by TECK
Ya, it's supposed to be like this Floris. :)
Read more here:
http://www.vbulletin.org/forum/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
/me 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
29 Jan 2003, 19:39
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
29 Jan 2003, 23:52
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
30 Jan 2003, 00:35
I just swapped the $archiveurl to $bburl in the archive_forumtitle template, and it's fine now. :)

Gonna look at online.php now.

zajako
30 Jan 2003, 02:44
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
30 Jan 2003, 07:05
Did you make a mistake with the file upload? looks like 1.2 still.

TECK
30 Jan 2003, 07:27
Did you read the first post?

Floris
30 Jan 2003, 07:56
I AM SEXY

TECK
30 Jan 2003, 07:58
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
30 Jan 2003, 11:11
/me installed!

A VERY BIG thank you Teck!

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

djr
30 Jan 2003, 12:20
(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
30 Jan 2003, 18:20
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
30 Jan 2003, 18:27
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
30 Jan 2003, 18:28
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
30 Jan 2003, 19:23
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
30 Jan 2003, 20:19
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
30 Jan 2003, 21:45
I just entered
site:creations.nl archive in google again, and instead of 1030 results, it only had 10. EEEEEER ? /:/

djr
30 Jan 2003, 21:56
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
30 Jan 2003, 21:57
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
30 Jan 2003, 22:13
ok, thanks for the heads up. Now I just have to wait until my cookie times out ;)

- djr

Floris
30 Jan 2003, 22:14
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
30 Jan 2003, 23:15
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
31 Jan 2003, 01:46
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
31 Jan 2003, 01:53
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/