PDA

Ver Versión Completa: Resolto vBET 3.3.2 breaks diarios / semanais digere para usuarios vBSEO



moman
16-04-10, 21:56
Este troco de código en quebra functions_vbseo_creaturl diario / 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);

Corrección:

No plugin Email Enviar vBSEO, substitúe contido completo con:


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

En functions_vbseo_createurl.php:

Buscar:


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

Substituír 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 é un reparación rápido e sucio, como debe haber algo errado coa función vbet_vbseo_filter_replace_text.

Atopei isto por:
1. recoñecendo que o correo electrónico de subscrición diaria e semanal foro non estaban traballando
2. comprobación de todos os ganchos en arquivos vBulletin de dixerir, o que levou para a clase de correo
3. incapacitantes correspondencia vBSEO Extensión mail_send e confirmando que todo agora traballaba

vBET
17-04-10, 17:33
Grazas pola nota, imos comprobar-lo e resolve-lo:)

moman
17-04-10, 18:42
BTW, se atopa unha solución máis elegante, por favor me aviso! :)

vBET
18-04-10, 22:55
Non hai problema:) Nós imos atopar solución máis elegante e será notificado se hai cambios na integración vBSEO será necesario.

tavenger5
19-04-10, 19:36
grazas por apuntar isto!

vBET
03-05-10, 22:43
Solución máis elegante encontrados - se incluirá na próxima versión. Non esixe ningún adicional vBSEO edición de ficheiros.

Para rápida corrección:
1. Editar o ficheiro / includes / vbenterprisetranslator_functions_vbseo.php
2. Buscar:

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


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 thanks to vBET Translator 4.10.1