[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:
PhotoInstrument 2.7 Build 251 Muiltilanguage Portable | 4.11 Mb
Cain & Abel
Devastation Zone Troopers (Game for PC)
Video học Anh Văn cho người Việt
Những trang web tạo Favicon trực tuyến !
LỄ TẾ SAO
150.000 Universal Drivers 2009 (High Compress - Only 100MB)
Kanokon chap07 online
[DRIVER] - Nvidia GeForce 9600 GT Forceware xp64 174.16 WHQL
Muốn cười? Click lẹ nào
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.