What I'm trying to do is have a :code: do something other than show a smilie. An image link was a terrible example, haha. Sorry about that!
Exact example: I have an MP3 embed custom BBCode, so [mp3]urlofsong.mp3[/mp3] will show a small flash player with the user's input. I tried making a replacement variable that uses the MP3 BBCode with a certain MP3 already included, so that if they type :mp3: in a post it would automatically post [mp3]urlofsomesongonmyserver.mp3[/mp3].
The replacement variable works, but what gets put into the post doesn't get parsed. So instead of seeing the results of what would normally happen if you just typed in [mp3]whatever.com/mp3.mp3[/mp3] (my flash player), it just shows the exact code itself. The replacement variable works, but it doesn't parse the BBCode. vB is running the query for the replacement variable, so :mp3: DOES put [mp3]thingIwant[/mp3] into the post, but the BBCode itself doesn't parse.
Does that make sense?
|