PDA

View Full Version : Converting vbcodes


The Keeper
03-29-2002, 06:11 AM
If I write a new script, how do I get anything submitted to it to be parsed through the vbcode convertor.
Is there some way I can call a function in another php file?

Also, which file converts vbcodes?

The Keeper
03-29-2002, 06:13 AM
(so I could just copy the code over from that file into my script)

Admin
03-29-2002, 06:22 AM
The function bbcodeparse2() does the parsing, and it's in functions.php. You will need to start a MySQL connection though, since that function grabs your custom vB Codes and smilies from the database.

The Keeper
03-29-2002, 06:55 AM
yup i just called that function and it works thank you very much