PDA

View Full Version : Solved Firefox Style problem



alptraum
21-03-10, 22:08
I bought yesterday this Add On and I use it in

URL : muhakeme.net

If I look with Firefox browser than there is in Vbadvanced a character encoding problem.
As example you see in the link:

URL : muhakeme.net/de/atat%C3%BCrk-t27837.html

There is css problem only in firefox webbrowser!

I donĀ“t know if there are some other mistakes or problems.
Can you look please or can you help?

vBET
22-03-10, 07:58
Please edit file /includes/vbenterprisetranslator_functions_url_tracking:
1. Find:

if (0 === strpos($address, 'javascript:') || $address == '#' || vbet_isURLIgnored($address)) {
2. REPLACE by:

if (false !== strpos($address, '.css') || 0 === strpos($address, 'javascript:') || $address == '#' || vbet_isURLIgnored($address)) {


This will be included in next release.

alptraum
22-03-10, 09:19
Unfortunately. We have found no solution yet: =) Url: muhakeme.net/de/gegen-ende-der-sultan-sea-t28068.html

vBET
23-03-10, 04:29
Please edit file /includes/vbenterprisetranslator_functions.php:
1. Find:


if ($vbulletin->options['vbenterprisetranslator_translationlinkstype']) {
$baseUri = $vbulletin->options['bburl'];
$output = vbet_replaceFirst('<head>','<head><base href="'.$baseUri.'/" />',$output);
if (defined('VBSEO_BASEDEPTH') && VBSEO_BASEDEPTH && defined('VBSEO_PREPROCESSED')) {
$output = vbet_replaceFirst('<!--[if IE]></base><![endif]-->','<!--[if IE]></base><![endif]--><base href="'.$baseUri.'/" />',$output);
}
}

2. REPLACE by:


if ($vbulletin->options['vbenterprisetranslator_translationlinkstype']) {
$baseUri = $vbulletin->options['bburl'];
$what = '<base href="'.$baseUri.'/'.$language.'/"';
$toWhat = '<base href="'.$baseUri.'/"';
$position = strpos($output, $what);
if ($position === false) {
$output = vbet_replaceFirst('<head>','<head>'.$toWhat.' />',$output);
} else {
$output = substr_replace($output, $toWhat, $position, strlen($what));
}
}


This will be included in next release.

Please confirm did it solved issue this time (keep also last changes) :)

alptraum
23-03-10, 13:31
I solved it. Now everything in order;) Thank you

AfrikaansAlbanianArabicBelarusianBulgarianCatalanChineseCroatianCzechDanishDutchEnglishEstonianFilipinoFinnishFrenchGalicianGermanGreekHaitian CreoleHebrewHindiHungarianIcelandicIndonesianIrishItalianJapaneseKoreanLatvianLithuanianMacedonianMalayMalteseNorwegianPersianPolishPortugueseRomanianRussianSerbianSlovakSlovenianSpanishSwahiliSwedishTaiwaneseThaiTurkishUkrainianVietnameseWelshYiddish
Translations delivered by vBET 4.10.1