Where in the php were you originally handling the post data? Basically, where ever that was, is where you need to put the new code.
If that doesn't make sense, could you post a sample of your code (not the bbParser class, but the portion where you are doing the form handling)?
Thanks for the reply. I got it figured out and working. My php script doesn't work with the example provided. I didn't have to do a include and new() lines in my index.php file. Since the post data was being saved to a database, I copied/paste the bbparser.php code in my functions.ini file and call it from my comment class file right before it is save to the database. When I look in the database, I can see it was been parsed to html and the comments viewed as html in the website. I am not sure if I did it correctly but it seems to work.
My other issue is that, the auto email response for each comments posted shows bbcode codes. How can I get it parse to convert it to html? I assume it is the same way as what I have done.