Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Even better spider archive? Details »»
Even better spider archive?
Version: 1.00, by krohnathlonman krohnathlonman is offline
Developer Last Online: Dec 2008 Show Printable Version Email this Page

Version: 3.0.1 Rating:
Released: 06-11-2004 Last Update: Never Installs: 31
 
No support by the author.

in archive/index.php go down around line 189....

PHP Code:
          echo "<div id=\"content\">\n<ol start=\"$start\" id=\"thread\">\n";
          while (
$thread $DB_site->fetch_array($threads))
          {
          
$bah                         str_replace(" ""_"$thread[title]);
          
             echo 
"\t<li><a href=\"t-$thread[threadid]$bah.html\" d=\"$thread[lastpost]\">$thread[title]</a></li>\n";
          }
          echo 
"</ol>\n</div>\n"
Here's this quick mod in action: http://www.iamnotageek.com/archive/index.php/f-48.html

basically it puts the Thread title into the URL which in my testing seems to give better search rankings than the URL without the name of the topic in it.

Obviously your mileage may vary..... THis is NOT to start a debate on search placements.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 06-13-2004, 08:11 AM
Smitty's Avatar
Smitty Smitty is offline
 
Join Date: Sep 2002
Location: Southern Ohio
Posts: 385
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ian Montgomerie
Checking your site, there is a bug if there is a "/" in the thread title.
Is this still a problem? I have a lot of threads with a / in the thread title.
Reply With Quote
  #13  
Old 06-13-2004, 08:59 AM
Osterling Osterling is offline
 
Join Date: Jan 2004
Posts: 381
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by monstergamer
you replace this
PHP Code:
 echo '<div id="navbar">' $vboptions['bbtitle'] . "</div>\n<hr />\n";
 echo 
"<p class=\"largefont\" style=\"text-align: left\">$vbphrase[view_full_version]: <a href=\"$vboptions[bburl]/$vboptions[forumhome].php\">$vboptions[bbtitle]</a></p>\n";
 echo 
"<div id=\"content\">\n";
 
print_archive_forum_list();
 echo 
"</div>\n"
with this

PHP Code:
 echo '<div id="navbar">' $vboptions['bbtitle'] . "</div>\n<hr />\n";
 echo 
"<p class=\"largefont\" style=\"text-align: left\">$vbphrase[view_full_version]: <a href=\"$vboptions[bburl]/$vboptions[forumhome].php\">$vboptions[bbtitle]</a></p>\n";
 echo 
"<div id=\"content\">\n";
 
print_archive_forum_list();
 echo 
"</div>\n"
isn't that the same code?
Reply With Quote
  #14  
Old 06-13-2004, 09:10 AM
Osterling Osterling is offline
 
Join Date: Jan 2004
Posts: 381
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

let me shake your hand.. great hack!
Reply With Quote
  #15  
Old 06-13-2004, 07:57 PM
monstergamer's Avatar
monstergamer monstergamer is offline
 
Join Date: Feb 2003
Location: around the corner
Posts: 433
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by exasko
isn't that the same code?
LOL i was tierd last night
Reply With Quote
  #16  
Old 07-02-2004, 06:40 PM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there any way to test this so I know if I did it corrrectly??
Reply With Quote
  #17  
Old 07-02-2004, 06:48 PM
krohnathlonman krohnathlonman is offline
 
Join Date: Feb 2004
Posts: 157
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You mean other than the fact that the URLs will have the title in the address?
Reply With Quote
  #18  
Old 07-17-2004, 12:58 AM
porschinho's Avatar
porschinho porschinho is offline
 
Join Date: Mar 2004
Location: Germany
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i have a problem with this hack. in some cases if there is a ":" in the threadtitle, the link in the forumview will not be right.
example:

threadtitle: CPU: welche AMD64 Prozessoren machen 32Bit
generated link: t-8341cpu:_welche_AMD64_Prozessoren_machen_32Bit.htm l

but:

CD/DVD: DVD Brenner <---- this one works!

i think its only if there are exactly 3 or 4 characters before the ":" in the title. and i have many of them. ( HDD: FDD: WIN: LAN: WLAN: )

do you know the problem?

regards

michael
Reply With Quote
  #19  
Old 07-17-2004, 01:16 AM
krohnathlonman krohnathlonman is offline
 
Join Date: Feb 2004
Posts: 157
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

under this:
PHP Code:
$bah                         str_replace(" ""_"$thread[title]); 
Put
PHP Code:
$bah                         str_replace(":"""$thread[title]); 
I've also noticed the problem with -'s basically anthing that causes an error have it search and replace
Reply With Quote
  #20  
Old 07-17-2004, 01:46 AM
Smitty's Avatar
Smitty Smitty is offline
 
Join Date: Sep 2002
Location: Southern Ohio
Posts: 385
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It appears vB version 3.0.3 broke this. I wanted to try it out but it looks like archive/index.php has significantly changed. Am I missing something?
Reply With Quote
  #21  
Old 07-17-2004, 01:56 AM
krohnathlonman krohnathlonman is offline
 
Join Date: Feb 2004
Posts: 157
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I haven't tried .3 yet..... I have too much tied into VB to make an upgrade simple!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:13 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.04321 seconds
  • Memory Usage 2,324KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete