Quote:
Originally Posted by cooly
Its a simple addon of bbcode.
In ajaxchat/format_shout.php search..
add after...
Code:
$s = preg_replace("/\[img\]((http)+(s)?:\/\/[^\s'\"<>]+(\.gif|\.jpg|\.png|\.php))\[\/img\]/", "<a href=\"\\1\" target=\"_new\" rel=\"thumbnail\"><img border=0 src=\"\\1\" style=\"width: 100px;\"></a>", $s);
$s = preg_replace("/\[IMG\]((http)+(s)?:\/\/[^\s'\"<>]+(\.gif|\.jpg|\.png|\.php))\[\/IMG\]/", "<a href=\"\\1\" target=\"_new\" rel=\"thumbnail\"><img border=0 src=\"\\1\" style=\"width: 100px;\"></a>", $s);
|
super class thank you for your super fast help many many thanks