PDA

查看完整版本: 已解決 安裝問題 vBet上vb4.0.8/vbSEO



Juice
17-11-10, 19:20
您好,

我試圖安裝 vbet,做適當的步驟集成與百度推廣,但 - 可能是我的文字編輯器或我只是盲目的 - 但我找不到任何的查找/替換實例中的特定文件


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.



可能是該集成指南為以前的版本的 vbseo 編寫的嗎?I´m 使用 vbseo 3.5.2。一起......:困惑:

任何幫助表示讚賞。

kamilkurczak
17-11-10, 21:18
這是一個指令百度推廣 352了。
您確定您嘗試編輯好的文件?
應該是:_createurl.php和_url.php從百度推廣 / inculdes /文件夾。

請確保當您複製線(查找和替換文件中的搜索引擎優化)從我們的教學不複製它與空間到底。

mateuszr
22-11-10, 07:44
有一段時間沒有答复,所以現在為解決

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