[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:
Rau củ quả làm Wallpaper nè
Audio - Công thức hạnh phúc trong cuộc sống
[Code] 4G 1 DVD - 4GB PHP Scripts
Giải nén file trực tuyến miễn phí
Windows 7 Professional x86 MSDN ORIGINALS
[GYSN] vBulletin v3.8.2 Incl. Keygen
Delete XP & Vista Login Password - Loại bỏ User/Pass truy cập cho Win XP và Vista dễ dàng
[English Study] - Tổng hợp các bộ học languages nổi tiếng
Dương Thừa Lâm
Ngôi nhà cổ tích
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.