IPB SDK's BBCode Functions allow you to convert between HTML and BBCode with ease. These functions can be found in the score IPB SDK class.
- bbcode2html - Converts BBCode to HTML using IPB's native parser.
- html2bbcode - Converts HTML to BBCode using IPB's native parser
- parse_dohtml - Parses [doHTML] tags.
User Contributed Notes
Documentation Generated at Sat, 16 Apr 2005 07:36:35 -0700
Find the latest version at http://ipbsdk.sourceforge.net
ossipetz
).
some sort of function is missing to parse posts already in the database. since 2.x a lot of macros where introduced. for ex. skin dependant smilie-packs (the hole <#EMO_DIR#> stuff). <#EMO_DIR#> can be parsed with bbcode2html() but no skin parameter is possible (i only have one smilie-pack so thats ok with me
but still things like [attachmentid=54] are not parsed this way.