
01-25-2007, 05:53 PM
|
|
|
Join Date: Feb 2004
Posts: 813
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by Snake
I'm afraid I'm not registered over there. And I'm talking about the LAST post in that thread.
|
Oleg over at vBSEO came up with this... give it a shot:
Quote:
Originally Posted by Oleg Ignatiuk
You should do the same (add full forums URL) for member profile link to get it working.
Here is a more or less complete "how-to"
in "parse_templates" hook ("Zoints Thread Tags (automatic template edits)" plugin
FIND:
PHP Code:
$_find = 'showthread.php?" . $GLOBALS[\'vbulletin\']->session->vars[\'sessionurl\'] . "t=$thread[threadid]';
$_replace = '$thread[url]';
$vbulletin->templatecache['threadbit'] = str_replace($_find, $_replace, $vbulletin->templatecache['threadbit']);
REPLACE WITH:
PHP Code:
$vbulletin->templatecache['threadbit'] = preg_replace(
'#((?:showthread|member)\.php)#',
$vbulletin->options['bburl'].'/$1',
$vbulletin->templatecache['threadbit']);
$vbulletin->templatecache['threadbit_pagelink'] = str_replace('href=\\"',
'href=\\"'.$vbulletin->options['bburl'].'/',
$vbulletin->templatecache['threadbit_pagelink']);
|
|