[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:
[English Study] - Oxford Practice Tests for the TOEIC Test
Nghệ thuật từ rơm...
giày của Nados
Kung Fu Panda Mobile Game
Em học Toán
JA Genista Xmas v1.2 - Joomla 1.5 Template
[T.Ngắn] - Người làm ảo thuật trên chuyến tàu đi Saint Peterburg
Kho truyện tổng hợp khắp các nguồn của các site tại VN
Con trăn rồng
1 Skin Music Màu Xanh Da Trời Đơn Giản Nhưng Đẹp Mê Ly
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.