vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Archive as Sitemap (https://vborg.vbsupport.ru/showthread.php?t=91616)

Kusadasi-Guy 07-04-2005 05:38 PM

Archive as Sitemap
 
i would like to use archive file as sitemap.

instead of link to SE optimized page, i would like to use these links to original thread.
for example;
http://www.maxiturkey.com/archive/index.php/t-10.html
"Message Editing Hierarchy" not link to -> https://vborg.vbsupport.ru/archive/i...p/t-82599.html

just link to -> https://vborg.vbsupport.ru/showthread.php?t=82599

:o :o :o

should not be hard but i couldnt do it.

Asterik 07-05-2005 02:57 AM

Good thing you posted this in the How-To's rather than the Questions forum >_<.

Marco van Herwaarden 07-05-2005 12:38 PM

Quote:

Originally Posted by Asterik
Good thing you posted this in the How-To's rather than the Questions forum >_<.

Good thing you decided to give an ironic answer, rather then just report the post or nicely point him to his mistake.

Thread moved.

Kusadasi-Guy 07-05-2005 04:00 PM

Okey, i found my answer;

i found this line on "archive/index.php" file:
PHP Code:

//echo "\t<li><a href=\"" . (!SLASH_METHOD ? 'index.php?' : '') . "t-$thread[threadid].html\">$thread[title]</a>" . iif($pda, " <i>(" . construct_phrase($vbphrase['x_replies'], $thread['replycount']) . ")</i>") . "</li>\n"; 

then change to:
PHP Code:

echo "\t<li><a href=\"" . (!SLASH_METHOD 'index.php?' '') . "http://www.mydomain.com/showthread.php?t=$thread[threadid]\">$thread[title]</a>"  iif($pda" <i>(" construct_phrase($vbphrase['x_replies'], $thread['replycount']) . ")</i>") . "</li>\n"


(Sorry for wrong forum category, i didnt do it on purpose)


All times are GMT. The time now is 08:07 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.02942 seconds
  • Memory Usage 1,723KB
  • 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
  • (2)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete