moman
16-04-10, 21:56
Điều này trao đổi mã trong phá vỡ functions_vbseo_creaturl hàng ngày / hàng tuần tiêu hóa:
// 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);
Khắc phục:
Trong Plugin Lên Email, thay thế nội dung đầy đủ với:
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']);
Trong functions_vbseo_createurl.php:
Tìm:
$vbseo_gcache_thread['seotitle'] = vbet_vbseo_filter_replace_text ($ttl);
Thay thế bằ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);
}
}
Rõ ràng đây là một sửa chữa nhanh chóng và dơ bẩn, phải có một cái gì đó sai trái với chức năng vbet_vbseo_filter_replace_text.
Tôi tìm thấy điều này bằng cách:
1. nhận ra rằng email đăng ký diễn đàn hàng ngày và hàng tuần đã không làm việc
2. kiểm tra tất cả các móc vBulletin tiêu hóa các tập tin, dẫn đến lớp mail
3. vô hiệu hóa kết hợp Lên mail_send plugin xác nhận rằng tất cả mọi thứ ngay bây giờ làm việc
// 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);
Khắc phục:
Trong Plugin Lên Email, thay thế nội dung đầy đủ với:
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']);
Trong functions_vbseo_createurl.php:
Tìm:
$vbseo_gcache_thread['seotitle'] = vbet_vbseo_filter_replace_text ($ttl);
Thay thế bằ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);
}
}
Rõ ràng đây là một sửa chữa nhanh chóng và dơ bẩn, phải có một cái gì đó sai trái với chức năng vbet_vbseo_filter_replace_text.
Tôi tìm thấy điều này bằng cách:
1. nhận ra rằng email đăng ký diễn đàn hàng ngày và hàng tuần đã không làm việc
2. kiểm tra tất cả các móc vBulletin tiêu hóa các tập tin, dẫn đến lớp mail
3. vô hiệu hóa kết hợp Lên mail_send plugin xác nhận rằng tất cả mọi thứ ngay bây giờ làm việc