不允許您編輯其代碼的一些嗎?您不應張貼整個代碼在這裡,剪只斷我們需要改變。
你應該使它看上去像:
查找
$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 倍,所以應該是沒有問題,把像我列出了一些樣品。