Req:KX - Image Not Found

~Modification installation

Step 1: Import product

Step 2: Open file includes/class_bbcode.php and find:

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="" />';
}

Replace with:

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="" />';
}
 
Doesn't work with vb3.7.3 - is this a hack for vb3.8? Or can someone, who has also vb3.7 tell me how to install this hack? (I followed the instructions, but the Error-image still doesn't appear!)

/edit: I just saw, that this hack is for vb 3.8 could someone get me this one, please:
(same Hack, but for vb 3.7)
Code:
http://www.vbulletin.org/forum/showthread.php?t=196718

Thanks. :)
 
Back
Top