Quote Originally Posted by basketmen View Post
hehe your instruction is bit confusing

so what is looks like the code need to add also links for other thread pages (if thread have several pages) For SEO links



where to add $vbseo_stat[$archived?'at':'t'] += vbseo_add_2urls(

and where to change 1 to $p.



is this correct

PHP Code:
//additional code 
$alanguages = array ('af','sq','ar','be','bg','ca','zh-CN','hr','cs','da','nl','en','pl','et','tl','fi','fr','gl','de','el','iw','hi','hu','is','id','ga','it','ja','ko','lv','lt','mk','ms','mt','no','fa','pt','ro','ru','sr','sk','sl','es','sw','sv','zh-TW','th','tr','uk','vi','cy','yi'); 
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); 
  } 
}
$vbseo_stat[$archived?'at':'t'] += vbseo_add_2urls(
//end additional code 
NO. You changed 1 to $p correctly - but why did you add:
Code:
$vbseo_stat[$archived?'at':'t'] += vbseo_add_2urls(
In our isntructions there is nothing to add such line. You should add our code before this line - it already exists in sitemap code.