2011-08-01, 05:47 PM
since the upgrade from 1.6.3 to 1.6.4 smilies, embedded in a url, don't work anymore. example:
There is already a ticket existing.
Any idea to solve this problem? In our forum this is used very often....
Edit:
change in class_parser.php the following lines
Hope this change is ok and will cause any other error
There is already a ticket existing.
Any idea to solve this problem? In our forum this is used very often....
Edit:
change in class_parser.php the following lines
preg_match_all("#\[(url(=[^\]]*)?\](.*?)\[\/url\]|quote=([^\]]*)?\])#i", $message, $bad_matches, PREG_PATTERN_ORDER);
$message = preg_replace("#\[(url(=[^\]]*)?\](.*?)\[\/url\]|quote=([^\]]*)?\])#si", "<mybb-bad-sm>", $message);
intopreg_match_all("#\[(url(=[^\]]*])?\](.*?)\[\/url\]|quote=([^\]]*)?\])#i", $message, $bad_matches, PREG_PATTERN_ORDER);
$message = preg_replace("#\[(url(=[^\]]*])?\](.*?)\[\/url\]|quote=([^\]]*)?\])#si", "<mybb-bad-sm>", $message);
and it works...Hope this change is ok and will cause any other error