PDA

View Full Version : Send Text Though VBCode Parser


twonky
07-26-2007, 12:08 AM
So I wanted to have my home page (http://www.debatenation.com) show a short preview of posts in certain forums by certain folks and I've got it doing that, but right now you can't use all the vBcodes because I am doing a string-replace manually and not going through vB's parser.

Is there a way I can pass the post text through the vBparser so I don't have to rewrite all the vBcode replacements?

For example, I can easily write the replacement codes for simple HTML commands like bold and italic and stuff like that. But I need to be able to do some custom ones like the simple vBcode I setup for youtube and eventually google.

Does this make sense to anyone?

Dismounted
07-28-2007, 10:53 AM
There should be an article about this, have a look for it.