Hello,
Now I don't know where is the issue. Still with double lang folder in url or not?
ahhh sorry because yesterday I gave you a solution for 4 version of vB but you have 3 my mistake, sorry once again.
here you have a solution to eliminate double redirect from url:
1. open and make a copy of this file:
forum root/includes/vbenterprisetranslator_functions_hooks.php
2. in this file find:
PHP Code:
function vbet_global_start(&$template_hook) {
3. in this function find:
PHP Code:
if (!$vbulletin->userinfo['userid'] && $vbulletin->options['vbenterprisetranslator_guestfilecache_use']
4. put BEFORE this code:
PHP Code:
if ('REQUEST_URI' == $vbulletin->options['vbenterprisetranslator_linkstype'] && $_REQUEST['goto'] != 'newpost' && $_REQUEST['language'])
{
require_once(DIR. '/includes/vbenterprisetranslator_functions_url_tracking.php');
$url = str_replace('/'.$_REQUEST['language'].'/', '/', $_SERVER['REQUEST_URI']);
if(preg_match('/\/('.VBET_LANGUAGESMATCH.')\//',$url))
{
$url = preg_replace('/('.VBET_LANGUAGESMATCH.')\//','',$url);
exec_header_redirect($url);
}
}
Secondly. I don't know what issue do you have when you would like to upgrade vBET. please give me some example. Please check all configuration settings in admincp->vBET->main (url engine etc.) and paste here your .htaccess file.
If you still can't upgrade to new version - please sent to me by PM your admincp and FTP details and I will fix it.
Thirdly. Did you integrate your sitemap generator with vBET? here you have a solution step by step how to integrate this mod: http://www.vbenterprisetranslator.co...tegration.html