I'm trying to implement bbcode parsing in my phpBB3 session integrated site. I would like to use it in a comments system as well as a document viewing system, both of which will utilize the standard bbcodes. I'm using the wiki page as a guideline:
https://wiki.phpbb.com/Practical.Displa ... rnal_pages
The issue I ran into is that I don't know what to do with bitfield and uid.
I've included the two files:
Code: Select all
include($phpbb_root_path . 'includes/bbcode.' . $phpEx);
include($phpbb_root_path . 'includes/functions_display.' . $phpEx);
Code: Select all
$bbcode = new bbcode(base64_encode($bbcode_bitfield));
$bbcode->bbcode_second_pass($doc_body, $posts_row['bbcode_uid'], $posts_row['bbcode_bitfield'])
2) Each document has a unique ID, can I use that for bbcode_uid?
Any help would be greatly appreciated!