PDA

Gweld Ffurf Llawn: Datrys Problem ar ôl diweddaru gyda vBSEO integreiddio



Guni
28-04-11, 13:09
Helo, ar ôl y diweddariad a holl leoliadau o'r README, mae'r themâu mwyach yn dod o fforwm cartref, bar ochr fforwm a phellter arddangos. Mae'r dudalen parhau i fod yn wyn a'r cysylltiadau yn y bar cyfeiriad yn edrych fel hyn: Ffoniwch o sidebar: http://www.kambodschaforum.com/news/334-kein-frieden-zwischen-thailand-und-kambodia-wegen-zeitungsartikel-post1027.html#post1027 Ffoniwch oddi ar y rhestr o fforymau fforwm cartref: http://www.kambodschaforum.com/showthread.php?t=334&p=1027 # post1027 Mae achos y newidiadau ar ôl y integreiddio vBSEO Rhan 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.



Fersiwn vBSEO: 3.6.0 Fersiwn vBulletin: 4.1.3 Diolch yn fawr

kamilkurczak
28-04-11, 20:42
beth am eich gosodiadau yn admincp-> vBET-> prif?
wnaethoch chi osod eich url i SEO a gosod VBSEO_URI? Beth am eich. Ffeil htaccess? gallwch roi yma y. cynnwys htaccess?

kamilkurczak
09-05-11, 08:19
dim ateb - datrys, os nad yw-ysgrifennwch yma a byddaf yn agor yr edau unwaith eto.

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