vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   vbArchive - Search Engine Indexer for vBulletin (https://vborg.vbsupport.ru/showthread.php?t=47667)

Floris 01-13-2003 09:17 AM

Quote:

Originally posted by TECK
To fast for me, heh... check the added text above, in my previous post...

Not really true, check the Google facts, they aply for all search engines I listed in the first post.

Well, I just updated, and the / at the end works.

I will update the top image to not link

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

TECK 01-13-2003 09:22 AM

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

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

Elem 01-13-2003 09:58 AM

hi, i think this is a great hack and was really easy to install, however i am in fact using a forums.mydomain.com

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

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

cheers

Floris 01-13-2003 10:09 AM

A nice addition to your hack would be the update for who is currently online.

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

TECK 01-13-2003 10:13 AM

Elem, set the $bburl (vBulletin forum URL) to a normal URL type. (best way)

OR

Try setting in each file (above [high]eval( 'dooutput[/high]) and each function (below [high]function archive...[/high]) 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 [high]$bburl[/high] with [high]$cleanurl[/high]

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

Floris 01-13-2003 10:13 AM

Quote:

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:
Code:

<files archives>
  ForceType application/x-httpd-php
</files>

Upload it to your server and rename it.
In all functions, simply replace [high]archives.php[/high] with [high]archives[/high]
Then rename onto your server the [high]archives.php[/high] file to [high]archives[/high] and you are done, now you have a directory instead of a file.

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

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

KuraFire 01-13-2003 10:19 AM

Quote:

Originally posted by xiphoid
...
- the templates are put in their own group,
...

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

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

In admin/template.php there is a line:

unset($only);

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

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

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

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


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

TECK 01-13-2003 10:19 AM

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

TECK 01-13-2003 10:22 AM

KuraFire, he said the templates ARE put in their own group.
Floris was making a review for others to find out more about the script.

Floris 01-13-2003 11:21 AM

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

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


All times are GMT. The time now is 02:14 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01681 seconds
  • Memory Usage 1,743KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete