Quote:
Originally Posted by iojam
EvilHawk,
does it happen to ALL showpost links or to the specific ones only?
Also, what about other links?
|
I have this bug too now that I looked.
$thread_row does not contain $thread_row['
postid'] it seems when passed.
In vbseo_sitemaps_functions.php find...
PHP Code:
function vbseo_url_post($thread_row, $post_row, $postcount = 1)
{
global $vbseo_vars;
return $vbseo_vars['bburl'] . '/' .
(VBSEO_ON&&VBSEO_REWRITE_SHOWPOST ? vbseo_post_url_row($thread_row, $post_row, $postcount) :
'showpost.php?p='.$thread_row['postid'].'&postcount='.$postcount);
}
Change $thread_row to $post_row
PHP Code:
function vbseo_url_post($thread_row, $post_row, $postcount = 1)
{
global $vbseo_vars;
return $vbseo_vars['bburl'] . '/' .
(VBSEO_ON&&VBSEO_REWRITE_SHOWPOST ? vbseo_post_url_row($thread_row, $post_row, $postcount) :
'showpost.php?p='.$post_row['postid'].'&postcount='.$postcount);
}
This fix is only for non-vbseo installs. I don't use vbseo so I dunno if there is more work to do or not here.