swap รหัสนี้ในการแบ่ง functions_vbseo_creaturl วัน / สัปดาห์การย่อยสลาย :
PHP Code:
// 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);
การแก้ไข :
ในอีเมล์ส่งปลั๊กอินภาษาไทย, แทนที่เนื้อหาเต็มไปด้วย :
PHP Code:
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 :
ค้นหา :
PHP Code:
$vbseo_gcache_thread['seotitle'] = vbet_vbseo_filter_replace_text ($ttl);
แทนที่ด้วย :
PHP Code:
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 และยืนยันว่าทุกอย่างตอนนี้ทำงาน