不允许您编辑其代码的一些吗?您不应张贴整个代码在这里,剪只断我们需要改变。
你应该使它看上去像:
查找
$currentthreadurl = vbseo_url_thread ($threadrow、 %p,$存档) ;
更改为
$ currentthreadurl = vbseo_url_thread($ threadrow,$ P,$存档);
但有没有"$ currentthreadurl = vbseo_url_thread ($threadrow、 %p,$存档) ;"我认为你的意思是"$ currentthreadurl = vbseo_url_thread ($threadrow,1,$存档) ;"。
我现在的 tryd:
PHP Code:
$vbseo_stat[$archived?'at':'t'] += vbseo_add_2urls(
//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
不工作。
你甚至将代码放在这里 servival 倍,所以应该是没有问题,把像我列出了一些样品。