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