我的导航栏上有家 (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
这是从课程添加论坛路径和另一郎
这是发生在更正以前的问题之后的另一个问题。
快速解决此问题:
- 打开文件 includes/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.
更正谢谢
我很高兴我能帮助你。