PDA

View Full Version: Riješen Problem nakon promjene s vBSEO integracije



Guni
28-04-11, 13:09
Pozdrav, nakon ažuriranja i sve postavke iz readme, teme su više od kuće foruma, forum sidebar i prikaz udaljenosti. Stranica ostaje bijela i linkovi u adresnoj traci izgledati ovako: Poziv iz sidebara: http://www.kambodschaforum.com/news/334-kein-frieden-zwischen-thailand-und-kambodia-wegen-zeitungsartikel-post1027.html#post1027 Poziv iz popisa foruma iz kuće foruma: http://www.kambodschaforum.com/showthread.php?t=334&p=1027 # post1027 uzrok promjene nakon integracije vBSEO Part 2


# (Required) SEO links translation integration - part 2

1. Download from server file FORUM_ROOT/vbseo/includes/functions_vbseo_url.php
2. Open it in any text editor and find:
$text = strtr($text, $trarr_table);
3. REPLACE it with this code:

if (false !== strpos($text, '[langtitle=')) {
$text = strtr($text, $GLOBALS['vbet_custom_char_replacement']);
if (vB_Template_Runtime::fetchStyleVar('charset') != 'utf-8') {
$text = preg_replace('/&#([0-9]+);/esiU', 'convert_int_to_utf8(\'\\1\')', $text);
}
} else {
$text = strtr($text, $trarr_table);
}

4. Find:
header ("Location: $fulluri");
5. PUT BEFORE it this code:

if (isset($_REQUEST['language'])) {
require_once(DIR. '/includes/vbenterprisetranslator_functions_url_tracking.php');
$fulluri = vbet_createURLForAddressNoReplace($_REQUEST['language'], $fulluri);
}

6. Save file and upload it to server, overwriting the old one.



VBSEO Verzija: 3.6.0 vBulletin Version: 4.1.3 Hvala

kamilkurczak
28-04-11, 20:42
Koje je vaše postavke u admincp-> vBET-> glavni?
Jeste li postaviti URL za SEO i postavljanje VBSEO_URI? Koje je vaše. Htaccess datoteku? možete staviti ovdje. Htaccess sadržaj?

kamilkurczak
09-05-11, 08:19
bez odgovora - riješiti, ako ne-pišite ovdje i ja ću otvoriti ovaj thread opet.

Automatic Translations (Powered by Google, Microsoft®, Yandex, SDL Language Cloud, IBM Watson and Apertium):
AfrikaansAlbanianArabicBelarusianBulgarianCatalanChineseCroatianCzechDanishDutchEnglishEstonianFilipinoFinnishFrenchGalicianGermanGreekHaitian CreoleHebrewHindiHungarianIcelandicIndonesianIrishItalianJapaneseKoreanLatvianLithuanianMacedonianMalayMalteseNorwegianPersianPolishPortugueseRomanianRussianSerbianSlovakSlovenianSpanishSwahiliSwedishTaiwaneseThaiTurkishUkrainianVietnameseWelshYiddish
Languages translations delivered by vBET 4.10.1