PDA

Ver Versão Completa: Resolvido vBET 3.3.2 breaks diários / semanais digere para usuários vBSEO



moman
16-04-10, 21:56
Esta troca de código em quebra functions_vbseo_creaturl diário / semanal digere:


// 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);

Correção:

No plugin Email Enviar vBSEO, substitua conteúdo completo com:


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']);

Em functions_vbseo_createurl.php:

Pesquisar:


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

Substituir por:


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);
}
}

Obviamente este é um reparo rápido e sujo, como deve haver algo errado com a função vbet_vbseo_filter_replace_text.

Encontrei isto por:
1. reconhecendo que os e-mails de subscrição diária e semanal forum não estavam trabalhando
2. verificação de todos os ganchos em arquivos vBulletin de digerir, o que levou para a classe de correio
3. incapacitantes correspondência vBSEO Plugin mail_send e confirmando que tudo agora trabalhava

vBET
17-04-10, 17:33
Obrigado pela nota, vamos verificá-lo e corrigi-lo:)

moman
17-04-10, 18:42
BTW, se você encontrar uma solução mais elegante, por favor me avise! :)

vBET
18-04-10, 22:55
Não há problema:) Nós vamos encontrar solução mais elegante e será notificado se houver alterações na integração vBSEO será necessário.

tavenger5
19-04-10, 19:36
obrigado por apontar isto!

vBET
03-05-10, 22:43
Solução mais elegante encontrados - será incluída na próxima versão. Não exigirá qualquer adicional vBSEO edição de arquivos.

Para rápida correção:
1. Editar o arquivo / includes / vbenterprisetranslator_functions_vbseo.php
2. Pesquisar:

function vbet_vbseo_filter_replace_text($text, $allowchars = null, $filter_stop_words = true, $reversable = false) {
3. Coloque DEPOIS:


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
Translated to other languages supported by vB Enterprise Translator 4.10.1