[Vbulletin] - KX - Image Not Found
[ 2009-04-28 20:47:47 | Tác giả: bvl91 ]
This modification was brought to you by
KXDesign
Mod này sẽ tạo 1 image có chữ " IMages not Found " nếu ảnh trong tag [IMG] đă bị die. Rất có ích nếu forum bạn có nhiều h́nh ảnh từ photobucket hay imageshack.
Cài đặt:
Bước 1: Import product
Bước 2: Mở file includes/class_bbcode.php và t́m:
function handle_bbcode_img_match($link)
{
$link = $this->strip_smilies(str_replace('\\"', '"', $link));
// remove double spaces -- fixes issues with wordwrap
$link = str_replace(array(' ', '"'), '', $link);
return '<img src="' . $link . '" border="0" alt="" />';
}Thay bằng:
function handle_bbcode_img_match($link)
{
$link = $this->strip_smilies(str_replace('\\"', '"', $link));
// remove double spaces -- fixes issues with wordwrap
$link = str_replace(array(' ', '"'), '', $link);
if ($this->registry->options['kx_noimg_onoff'])
{
$check = @fsockopen($link, 80, $errno, $errstr, $this->registry->GPC['timeout']);
if ($check == true)
{
$link = $this->registry->options['kx_noimg_path'];
}
unset $check;
}
return '<img src="' . $link . '" border="0" alt="" />';
}http://www.2shared.com/file/4479301/fe5f4477/kx_noimg.html
Bài Viết Ngẫu Nhiên:
Nhân Viên Tư Vấn Du Học/tuyển Sinh
FireFox 3.0.9: "tiêu diệt" 12 lỗi
Conan && Kid 1412 - bộ ảnh sưu tập
Windows Start Button Renamer 2.3
Hướng dẫn quản trị Joomla
[DRIVER] - Zoom ADSL PCI Modem Model 5506
System Center Reporting Manager 2006
MakeInst v9.8.1.0 - Tạo 1 bộ cài đặt cho mình
Con ma trong hồ tắm ....
Deep Freeze AIO v3.0
KXDesign
Mod này sẽ tạo 1 image có chữ " IMages not Found " nếu ảnh trong tag [IMG] đă bị die. Rất có ích nếu forum bạn có nhiều h́nh ảnh từ photobucket hay imageshack.
Cài đặt:
Bước 1: Import product
Bước 2: Mở file includes/class_bbcode.php và t́m:
function handle_bbcode_img_match($link)
{
$link = $this->strip_smilies(str_replace('\\"', '"', $link));
// remove double spaces -- fixes issues with wordwrap
$link = str_replace(array(' ', '"'), '', $link);
return '<img src="' . $link . '" border="0" alt="" />';
}Thay bằng:
function handle_bbcode_img_match($link)
{
$link = $this->strip_smilies(str_replace('\\"', '"', $link));
// remove double spaces -- fixes issues with wordwrap
$link = str_replace(array(' ', '"'), '', $link);
if ($this->registry->options['kx_noimg_onoff'])
{
$check = @fsockopen($link, 80, $errno, $errstr, $this->registry->GPC['timeout']);
if ($check == true)
{
$link = $this->registry->options['kx_noimg_path'];
}
unset $check;
}
return '<img src="' . $link . '" border="0" alt="" />';
}http://www.2shared.com/file/4479301/fe5f4477/kx_noimg.html
**************** Hãy cùng chia sẻ với bạn bè bằng cách ****************
Copy đường link dưới đây gửi đến nick yahoo bạn bè! |
Hiện chưa có lời bình nào cho bài viết này.