PDA

View Full Version : I can't find it...


27 Apr 2000, 19:41
I'm having a problem finding the code that changes HTML (that has been defined as a vB code) back into vB code when the post is edited, am I missing something obvious?

And if you're wondering why I'm not just using the new vB code function, it's a complicated code... With attributes. :)

27 Apr 2000, 22:22
There is a control panel area where you can define your own - it is under custom BB codes in the left hand bar. The actual code that does the parseing is in global.php - parsebbcode I think.

John

28 Apr 2000, 04:11
There is a control panel area where you can define your own - it is under custom BB codes in the left hand bar.

Yeah, I knew about that, but the code that I'm adding is too complicated for it (it's url). :)

The actual code that does the parseing is in global.php - parsebbcode I think.

That's part where I added my initial code, but it didn't look like it was going to change it back from html to vB code when people edit their posts. Does bbcodeparse take care of new posts and edits?

Thanks for your help! :)

28 Apr 2000, 08:45
Yup - just add your code into parsebbcode.

28 Apr 2000, 08:48
Great, thanks! That makes it even easier! :D