Quote:
Originally Posted by Chris M
Untested, but this should work for 3.5
Open /includes/class_bbcode.php
Find:
PHP Code:
$template = $this->printthread ? 'bbcode_quote_printthread' : 'bbcode_quote';
eval('$html = "' . fetch_template($template) . '";');
add underneath:
PHP Code:
if(contains_bbcode_img_tags($html))
{
$html = preg_replace('#\[img\]\s*(https?://([^<>*"]+|[a-z0-9/\\._\- !]+))\[/img\]#iUe', "handle_bbcode_url('\\1', '', 'url')", $html);
}
(this is using Zero Tolerance's code - I only found where to put it  )
Chris
|
Fatal error: Call to undefined function: contains_bbcode_img_tags() in /home/interfan/public_html/forum/includes/class_bbcode.php on line 1290