Ok so i cant find that super global anywhere and the images posted on the forums and torrent descriptions are formatted in the format_comment function i think?
PHP Code:
function format_comment($text, $strip_html = true)
{
global $smilies, $privatesmilies;
$s = $text;
unset($text);
if ($strip_html)
$s = htmlspecialchars($s, ENT_COMPAT, 'ISO-8859-1');
// [img]http://www/image.gif[/img]
$s = preg_replace_callback("/\[img\]((http|https):\/\/[^\s'\"<>]+(\.(jpg|gif|png)))\[\/img\]/i", "scale", $s);
// [img=http://www/image.gif]
$s = preg_replace_callback("/\[img=((http|https):\/\/[^\s'\"<>]+(\.(gif|jpg|png)))alt=\"\"\]/i", "scale", $s);
Or have i missed something?