vbseo_log_entry("[showthread] forum_id: $forumid, thread_id: $threadrow[threadid], total posts: $totalposts, pages: $totalpages, views: $threadrow[views] $prior");
//additional code
$alanguages = array ('en');
if(!$archived) {
$strlenhost = strlen($vbseo_vars['bburl']."/");
$currentthreadurl = vbseo_url_thread($threadrow, 1, $archived);
foreach($alanguages as $language) {
$vbseo_stat['t']++;
$enchancedthreadurl = substr($currentthreadurl,0,$strlenhost). $language."/".substr($currentthreadurl,$strlenhost);
vbseo_add_url($enchancedthreadurl, $prior, $threadrow['lastpost'], $freq);
}
}
//end additional code
for($p=1; $p<=$totalpages; $p++)