[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] - A Lime, a Mime, a Pool of Slime: More About Nouns (Words Are Categorical)
Hỏi đáp về thương mại điện tử
Share code aspace.vn
[D-link] Show me the money - Truyện dịch
Thiết Kế Búp Bê Xinh làm Avata
Sothink SWF Easy v6.2 Build 622- Phần mềm thiết kế flash chuyên nghiệp
[English Study] - Berlitz Communicate & Connect English
Tự động sao lưu dữ liệu khi máy tính lúc nhàn rỗi
Tiều thuyết trinh thám Sherlock Holmes cực hay trọn bộ
32 - 26
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.