我的巡覽列上有家 (allfreechips) 和位按鈕的問題,這些都得不到補充說: site.com/lang/。 所有其他連結似乎與 /lang/ 部分正常工作。
謝謝
克里斯
我的巡覽列上有家 (allfreechips) 和位按鈕的問題,這些都得不到補充說: site.com/lang/。 所有其他連結似乎與 /lang/ 部分正常工作。
謝謝
克里斯
快速修復此問題:
- 打開的檔 includes/vbenterprisetranslator_functions.php
- 查找代碼:
PHP Code:$output = preg_replace_callback('#action="([^"]*)#s', 'vbet_createURLForAddressNoReplaceAction', $output);
$output = preg_replace_callback('#href="([^"]*)#s', 'vbet_createURLForAddressNoReplaceHref', $output);
- 替換代碼:
PHP Code:$output = preg_replace_callback('#action=["\']([^"\']*)["\']#s', 'vbet_createURLForAddressNoReplaceAction', $output);
$output = preg_replace_callback('#href=["\']([^"\']*)["\']#s', 'vbet_createURLForAddressNoReplaceHref', $output);
- 查找代碼:
PHP Code:function vbet_createURLForAddressNoReplaceAction($what) {
return 'action="'.vbet_createURLForAddressNoReplace($_REQUEST['language'], $what[1]);
}
function vbet_createURLForAddressNoReplaceHref($what) {
return 'href="'.vbet_createURLForAddressNoReplace($_REQUEST['language'], $what[1]);
}
- 替換代碼:
PHP Code:function vbet_createURLForAddressNoReplaceAction($what) {
return 'action="'.vbet_createURLForAddressNoReplace($_REQUEST['language'], $what[1]).'"';
}
function vbet_createURLForAddressNoReplaceHref($what) {
return 'href="'.vbet_createURLForAddressNoReplace($_REQUEST['language'], $what[1]).'"';
}
此問題將在下一版本中修復。
第一節文字有點冷淡,但取代這糾正這一問題。
Code:$output = preg_replace_callback('#action="([^"]*)#', 'vbet_createURLForAddressNoReplaceAction', $output); $output = preg_replace_callback('#href="([^"]*)#', 'vbet_createURLForAddressNoReplaceHref', $output);
不知道是否這造成的變化或東西我沒有注意到
如果我如審查網頁上
連結到其他語言不正確。Code:http://www.allfreechips.com/no/casino_review/646/loco-panda-casino.html
請參閱為荷蘭人它添加 phpBB2 / /nl 和保持無Code:http://www.allfreechips.com/phpBB2/no/nl/casino_review/646/loco-panda-casino.html
這是從課程添加論壇路徑和另一郎
這是發生在更正以前的問題之後的另一個問題。
快速修復此問題:
- 打開的檔 包括/ vbenterprisetranslator_functions_url_tracking.php
- 查找代碼:
PHP Code:if ($vbulletin->options['vbenterprisetranslator_translationlinkstype']) {
return vbet_createURLForAddressNoReplaceSEO($language, $address) ;
}
$bookmark = strpos($address, '#');
- 替換代碼:
PHP Code:if ($vbulletin->options['vbenterprisetranslator_translationlinkstype']) {
if (preg_match('/\/('.VBET_LANGUAGESMATCH.')\//', $address)) {
return $address;
}
return vbet_createURLForAddressNoReplaceSEO($language, $address) ;
}
$bookmark = strpos($address, '#');
此問題將在下一版本中修復。抱歉為混亂。
最後編輯者 Marcin Kalak; 24-07-15 在 16:06.
更正謝謝
我很高興我能幫助你。