Quote:
Originally posted by ethank
sig.php stopped working on vbulletin 2.2.4
I'm not sure why, but its not sending valid image headers anymore.
Ethan
|
change
$bbcode = preg_replace("/\[img\](\r\n|\r|\n)*(
(http|https):\/\/([^;<>\*\(\)\"".iif($allowdynimg,"","\?\&")."]+)|[a-z0-9\/\\\._\- ]+)\[\/img\]/siU", "<img src=\"\\2\" border=\"0\" alt=\"\">", $bbcode);
to
$bbcode = preg_replace("/\[img\](\r\n|\r|\n)*(([^;<>\*\(\)\"".iif($allowdynimg,"","\?\&")."]+)|[a-z0-9\/\\\._\- ]+)\[\/img\]/siU", "<img src=\"\\2\" border=\"0\" alt=\"\">", $bbcode);
inside functions.php.
xug: about your request the simple answer is no, the complex answer is maybe after vb3 is released as this current hack will need rewriting anyway I'd guess.