Put
PHP Code:
//additional code
require_once(DIR. '/includes/vbenterprisetranslator_functions_vbseo.php');
$alanguages = array ('en','fr');
if(!$archived) {
$strlenhost = strlen($vbseo_vars['bburl']."/");
$currentthreadurl = vbseo_url_thread($threadrow, $p, $archived);
$currentthreadurl_before = substr($currentthreadurl,0,$strlenhost);
$currentthreadurl_after = "/".substr($currentthreadurl,$strlenhost);
$lastpost =& $threadrow['lastpost'];
$vbseo_stat['t'] += sizeof($alanguages);
foreach($alanguages as $language) {
vbseo_add_url($currentthreadurl_before.$language.$currentthreadurl_after, $prior, $lastpost, $freq);
}
}
//end additional code
før linje
PHP Code:
$vbseo_stat[$archived?'at':'t'] += vbseo_add_2urls(