vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Even better spider archive? (https://vborg.vbsupport.ru/showthread.php?t=66083)

SHANE-D-PAIN 12-29-2004 02:38 PM

was going to do it but my archives havent worked since i set my site up last week!

can anyone help me out?

when i click the archive link at the bottom of my forums it loads up the forums index page and not the archivves like it does on other sites! :S

http://teenageforums.com/forums/archive/

JulianD 12-31-2004 03:28 PM

There is a problem when the thread title starts with a number... Good hack though.

Hexemer 01-19-2005 08:03 PM

How does this work with 3.0.5? :confused:

Freezerator 04-30-2005 08:39 AM

Ok,

i have sorted things out, so it works on 3.0.7.
Open index.php.

Search for
Code:

// list threads
A few line below you will see this lines:

PHP Code:

        echo "<div id=\"content\">\n<ol start=\"$start\">\n";
        while (
$thread $DB_site->fetch_array($threads))
        {
            echo 
"\t<li><a href=\"t-$thread[threadid].html\">$thread[title]</a>" iif($pda" <i>(" construct_phrase($vbphrase['x_replies'], $thread['replycount']) . ")</i>") . "</li>\n";
        }
        echo 
"</ol>\n</div>\n"

Replace this with:

PHP Code:

// archive thread title hack
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"
// end archive thread title hack 

This works for me on 3.0.7.
I have used the code from Costa Rica Forums :)

Hexemer 05-02-2005 06:34 AM

Don't work in my forums :(:

Freezerator 05-03-2005 05:38 AM

Quote:

Originally Posted by Hexemer
Don't work in my forums :(:

When i see your screenshot it appears to work???

Hexemer 05-07-2005 09:22 AM

Quote:

Originally Posted by Freezerator
When i see your screenshot it appears to work???

The (Thread-)URL is okay but it links to the Forum Home in the Archive. :ermm:

Hexemer 05-15-2005 05:25 PM

Can nobody help me with this problem? :(


All times are GMT. The time now is 04:27 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.01160 seconds
  • Memory Usage 1,738KB
  • 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
  • (2)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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