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)
-   -   Spider friendly URLs (https://vborg.vbsupport.ru/showthread.php?t=18035)

Erwin 11-04-2002 12:09 AM

Works fine for me. Are you surfing through AOL? The latest AOL browser has some session problems with vB. Make sure you are using vB 2.2.8

Paul 11-04-2002 12:15 AM

Hi Erwin,

I narrowed down this problem to the sessions.php PPN posted in the sticky over on vbulletin.com's troubleshooting forum. Sorry, I forgot all about posting in this thread ;) I was just too happy to realize I didn't break it :D

Thanks again,
Paul

Paul 11-05-2002 01:23 PM

The addition of the following code to postings.php will allow you to use the search-engine friendly URLs to merge threads:

Below:
PHP Code:

  // get other threadid
  
$getthreadid=intval(substr($mergethreadurl,strpos($mergethreadurl,"threadid=")+9)); 

Insert:
PHP Code:

  // Hack: Work with search-engine friendly links
  
$getsearchfriendlythreadid=intval(substr($mergethreadurl,strpos($mergethreadurl,"/t")+2));
  if (
$getthreadid==0) {
    
$getthreadid=$getsearchfriendlythreadid;
  }
  
// End hack: Work with search-engine friendly links 

This will only work if your new url's contain "/t<threadnumber>". If you are using a different prefix, you'll need to alter the script accordingly, where the "2" equals the number of characters within the quotes. Also, if your forum resides in a directory that starts with the letter "t" this will not work for you. You'll need to modify it. :)

Erwin 11-05-2002 05:27 PM

I already modified my postings.php to do the same too, but I made it so that mods can just use the threadid number. :)

dwh 11-08-2002 08:34 AM

I could not get this to work no matter which way I tried...the rewrite doesn't work even though supposedly I have it installed....

Also, I am using /forums/

The Piper 11-08-2002 06:51 PM

I am having trouble with forumjump after installing this hack. Even if I have forumjump turned on on my control panel, it doesn't work. So I can't merge or move threads, for instance. Any thoughts on this issue?

Thomas P 11-13-2002 03:38 AM

Okay, my hoster finally told me, that I need a RewriteCondition statement on his servers (?) in order for rewrites to work.

Is there a standard RewriteCond I can use or do we poor .htaccess users ;) need a special one for this hack?

Dontom 11-16-2002 08:51 PM

I installed this great hack - the day after a part of my forums & threads already were present in google:)
tom

AWS 12-02-2002 07:15 PM

Just to show this hack actually works and works well

fello9 12-05-2002 09:47 PM

Quote:

Originally posted by The Piper
I am having trouble with forumjump after installing this hack. Even if I have forumjump turned on on my control panel, it doesn't work. So I can't merge or move threads, for instance. Any thoughts on this issue?
Any answer on how to fix this problem?


All times are GMT. The time now is 06:48 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.01368 seconds
  • Memory Usage 1,739KB
  • 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)pagenav
  • (1)pagenav_curpage
  • (4)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