Quote:
Originally Posted by Kristoph
just a quick one... got this working great for including posts on my front page, but it is trying to find the smilies in /images/smilies, when infact they're in /community/images/smilies....
is there a quick fix around this built into the vbcodeparser class? or should I just use str_replace on the outputted string?
cheers!
|
I just used str_replace as you mentioned. Seemed easy. Something like this should work:
Code:
$parsed_text = str_replace("images/smilies","community/images/smilies",$parsed_text);
As an aside, I couldn't get this code working either until I replaced do_parse() with parse(). Dunno what the difference is.