moman
16-04-10, 21:56
Ang code na ito swap sa functions_vbseo_creaturl break sa pang-araw-araw / lingguhang digests:
// 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);
Ayusin ang:
Sa plugin vBSEO Email Ipadala, palitan ang buong nilalaman sa:
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']);
Sa functions_vbseo_createurl.php:
Maghanap ng:
$vbseo_gcache_thread['seotitle'] = vbet_vbseo_filter_replace_text ($ttl);
Palitan ng:
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);
}
}
Malinaw naman ito ay isang mabilis at marumi na ayusin, bilang ay dapat na mayroong isang bagay na mali sa function na vbet_vbseo_filter_replace_text.
Natagpuan ko na ito sa pamamagitan ng:
1. Kinikilala na ang pang-araw-araw at lingguhang forum subscription email ay hindi gumagana
2. pagsuri ng lahat ng mga Hooks sa vBulletin ang file digest, na humantong sa class mail
3. hindi pagpapagana ng pagtutugma vBSEO mail_send plugin & nagpapatunay na ang lahat sa ngayon nagtrabaho
// 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);
Ayusin ang:
Sa plugin vBSEO Email Ipadala, palitan ang buong nilalaman sa:
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']);
Sa functions_vbseo_createurl.php:
Maghanap ng:
$vbseo_gcache_thread['seotitle'] = vbet_vbseo_filter_replace_text ($ttl);
Palitan ng:
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);
}
}
Malinaw naman ito ay isang mabilis at marumi na ayusin, bilang ay dapat na mayroong isang bagay na mali sa function na vbet_vbseo_filter_replace_text.
Natagpuan ko na ito sa pamamagitan ng:
1. Kinikilala na ang pang-araw-araw at lingguhang forum subscription email ay hindi gumagana
2. pagsuri ng lahat ng mga Hooks sa vBulletin ang file digest, na humantong sa class mail
3. hindi pagpapagana ng pagtutugma vBSEO mail_send plugin & nagpapatunay na ang lahat sa ngayon nagtrabaho