PDA

Visa fullständig version: Löste Installationsproblem vBet på vb4.0.8/vbSEO



Juice
17-11-10, 19:20
Hej där,

Jag har försökt att installera vbet och göra rätt steg för en integration med vbseo, men - och kan vara min textredigerare eller är jag bara blind - men jag kan inte hitta någon av dem hitta / byta instanser i speciella filer


Note that all vBSEOTM options are configurable by Admin CP->vBSEO->Control Panel

1. (Required) Set option General Settings->Character Replacement->"Replace Non-English Characters in URLs?" to "Keep Non-English Characters in URLs"
Since vBETTM translates URLs for threads it is necessary do NOT replace not English characters in URLs.
2. (Required) Turn off option SEO Functions->Dynamic META TAGS->"Replace the 'META KEYWORDS' Content?"
3. (Required) Made changes in your .htaccess file according to description here
4. (Required) SEO links translation integration
1. Download from server file FORUM_ROOT/vbseo/includes/functions_vbseo_createurl.php
2. Open it in any text editor
3. Find:
$bloginfo['seotitle'] = vbseo_filter_replace_text($bloginfo['title']);
4. REPLACE it with this code:
$bloginfo['seotitle'] = vbet_vbseo_filter_replace_text($bloginfo['title']);
5. Find:
$vbseo_gcache_thread['seotitle'] = vbseo_filter_replace_text ($ttl);
6. REPLACE it with this code:
$vbseo_gcache_thread['seotitle'] = vbet_vbseo_filter_replace_text ($ttl);
7. Find:
$replace['%category_title%'] = vbseo_filter_text($c_ttl);
8. REPLACE it with this code:
$replace['%category_title%'] = vbet_vbseo_filter_text($c_ttl);
9. Find:
$replace['%section_title%'] = vbseo_filter_text($c_ttl);
10. REPLACE it with this code:
$replace['%section_title%'] = vbet_vbseo_filter_text($c_ttl);
11. Find:
$replace['%entry_title%'] = vbseo_filter_text($c_ttl);
12. REPLACE it with this code:
$replace['%entry_title%'] = vbet_vbseo_createCmsArticleLink($c_id, $c_ttl);
13. Save file and upload it to server, overwriting the old one.
5. (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, ');
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.



Kan vara denna integration guide är skriven för en äldre version av vbseo? Jag använder vbseo 3.5.2 . Wth...: Förvirrad:

All hjälp uppskattas.

kamilkurczak
17-11-10, 21:18
Detta är en instruktion att vbseo 352 också.
Är du säker på att du försöker redigera en god filer?
bör vara: _createurl.php och _url.php från vbseo / inculdes / mapp.

Se till att när du kopierar en linje (att hitta och byta ut i SEO-filer) från vår instruktion du inte kopierar det med en plats på slutet.

mateuszr
22-11-10, 07:44
Inget svar under en tid, löst så för nu

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