PDA

查看完整版本: 已解決 vBET 3.3.2休息日/每週摘要用戶為百度推廣



moman
16-04-10, 21:56
此代碼交換在functions_vbseo_creaturl休息日/每週摘要:


// FIND
$vbseo_gcache_thread['seotitle'] = vbseo_filter_replace_text ($ttl);
// REPLACE it with this code:
$vbseo_gcache_thread['seotitle'] = vbet_vbseo_filter_replace_text ($ttl);

修正:

在插件百度推廣電郵發送,更換全部內容為:


require_once(DIR . '/includes/functions_vbseo.php');

$GLOBALS['VBSEO_REWRITE_TEXTURLS'] = 1;
$GLOBALS['FIX_EMAILS'] = 1;

if(function_exists('make_crawlable') && VBSEO_REWRITE_EMAILS)
$message = make_crawlable($message);

unset($GLOBALS['VBSEO_REWRITE_TEXTURLS']);
unset($GLOBALS['FIX_EMAILS']);

在functions_vbseo_createurl.php:

查找:


$vbseo_gcache_thread['seotitle'] = vbet_vbseo_filter_replace_text ($ttl);

替換為:


if(isset($GLOBALS['FIX_EMAILS'])) {
$vbseo_gcache_thread['seotitle'] = vbseo_filter_replace_text ($ttl);
}
else {
$vbseo_gcache_thread['seotitle'] = vbet_vbseo_filter_replace_text ($ttl);
}
}

顯然,這是一個快速和骯髒的解決,因為必須有一些錯誤的vbet_vbseo_filter_replace_text功能。

我發現這個人:
1。認識到每天和每週論壇訂閱郵件都不能正常工作
2。檢查所有的鉤子在百度推廣的摘要文件,從而導致郵件類
3。禁用插件及配套百度推廣 mail_send確認現在的一切工作

vBET
17-04-10, 17:33
感謝您注意,我們將檢查並修復它:)

moman
17-04-10, 18:42
順便說一句,你應該找到一個更優雅的解決,請讓我知道! :)

vBET
18-04-10, 22:55
沒問題:)我們會發現更好的解決方案,它會被通知任何改變百度推廣一體化將是必要的。

tavenger5
19-04-10, 19:36
感謝指出這點!

vBET
03-05-10, 22:43
找到更好的解決方案 - 將列入下一版。它不需要任何額外百度推廣文件版本。

為了快速修復:
1。編輯文件/包括/ vbenterprisetranslator_functions_vbseo.php
2。查找:

function vbet_vbseo_filter_replace_text($text, $allowchars = null, $filter_stop_words = true, $reversable = false) {
3。穿上後:


if(isset($GLOBALS['FIX_EMAILS'])) {
return vbseo_filter_replace_text ($text, $allowchars, $filter_stop_words, $reversable);
}

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