米哈爾,
本次論壇的塊仍然馬車。最終的主題標題仍呈現 [/ langtitle],並顯示出它的線程是在原海報的語言。
例如:
主題文本應在用戶瀏覽的語言嗎?
使用vBET說出來今天(4.2.2)
米哈爾,
本次論壇的塊仍然馬車。最終的主題標題仍呈現 [/ langtitle],並顯示出它的線程是在原海報的語言。
例如:
主題文本應在用戶瀏覽的語言嗎?
使用vBET說出來今天(4.2.2)
我看到它,我知道的原因而不代碼檢查。是-這是我們的 bug。貝特檢查的標題,以解決在其他語言中的標題中的 '......' 哪個位置剪切 (修正錯誤: http://www.vbenterprisetranslator.co...r-problem.html)。我們想念帽子用戶可以設置有'...'自己![]()
看來,糾正一個錯誤,我們創建了一個又一個 - 對不起,達錯過。我們將採取關心這個。請注意,它才會發生與其他語言的標題本來有'...'開頭。我們會在這裡快速修復。
關於文本不認為語言 - 這是不幸出了我們的範圍在這一刻 - 請在這裡看到的解釋: http://www.vbenterprisetranslator.co....html#post2735
糾正。為了速戰速決,請:
1。編輯文件/ inclues / vbenterprisetranslator_functions_bbcode.html
2。查找:
3。改為:PHP Code:if ($endShorted && $endShorted < $end) {
$end = $endShorted + 3;
$toParse = substr($title,$start,$end - $start).'[/langtitle]';
PHP Code:if ($endShorted && $endShorted < $end) {
$nextStart = strpos($title, '[langtitle=', $endShorted);
if (!$nextStart || $nextStart > $end) {
$toParse = substr($title,$start,$end - $start);
} else {
$end = $endShorted + 3;
$toParse = substr($title,$start,$end - $start).'[/langtitle]';
}
不工作... ...這裡是整個塊
PHP Code:if (false === $end) {
$endShorted = strpos($title, '...', $start);
if ($endShorted && $endShorted < $end) {
$nextStart = strpos($title, '[langtitle=', $endShorted);
if (!$nextStart || $nextStart > $end) {
$toParse = substr($title,$start,$end - $start);
} else {
$end = $endShorted + 3;
$toParse = substr($title,$start,$end - $start).'[/langtitle]';
}
} else {
break;
}
} else {
$end += 12;
}
你用它在錯誤的地方... ...請撤消這些變化,並用它在適當的地方。整個塊應該是:
PHP Code:if (!$toParse) {
$endShorted = strpos($title, '...', $start);
if ($endShorted && $endShorted < $end) {
$nextStart = strpos($title, '[langtitle=', $endShorted);
if (!$nextStart || $nextStart > $end) {
$toParse = substr($title,$start,$end - $start);
} else {
$end = $endShorted + 3;
$toParse = substr($title,$start,$end - $start).'[/langtitle]';
}
} else {
$toParse = substr($title,$start,$end - $start);
}
}
而這是塊之後,你改變了這一個。