How to parse BBCODE and filter in post_text field contents in phpbb_posts table

time:10-09-12 forum:PHPBB forum program, plug-in collection and modification
  Reprinted from http://www.phpbbchina.com/forum/viewtopic.php? F=5.amp; t=3370.amp; p=17295.amp; hilit=BBCODE parse #p17295

after taking out the content of the post_text field in the phpbb_posts table, there are
[code].#91 in the content; attachment=0:2b04cqxf.#93;! Chment:2b04cqxf.#93; [/code] such code. Excuse me, you guys, how do you filter them? Thank you

phpbbchia administrator IOsetting's answer
the specific processing process needs to look at the code in viewtopic.php.
[code] / Parse the message and / > >; Bbcode_bitfield'.#93;)
{
$bbcode-.gt; bbcode_second_pass ($message, $row.#91;'bbcode_uid'.#93; $row.#91;'bbcode_bitfield'.#93;);
}
; 'post_id'.#93;.#93;)
{
parse_attachments ($forum_id, $message, $attachments.#91; $row.#91;'post_id'.#93;.#93; $update_count); this part is parsed, converted to corresponding, parsing accessories, and filtering sensitive words. If you want to handle it, It is also necessary to follow these steps.

prev:PHPBB3.X forum hash Hashige (like a filt... next:Income is not bad for white-collar worke...
post comment
Notice



approved   What can you eat for 10 dollars? The...   Through a hundred years, take you to...   26 mountain parks all over Ji'nan   The young man insisted on 10 years' ...   Do you remember those "made in Ji'na...
rand   PHPBB3.X forum style imitating Discu...   PHPBB3 forum page plate name and fon...   The PHPBB forum automatically adds t...   PHPBB forum uploads pictures to Tiny...   The PHPBB3.0.X forum home page displ...
ads

other

Because all the contents of this site are reproduced from other media, the intention is to provide free services to the public, but it does not mean that this site agrees with its views, and can not be responsible for the authenticity of its verification, such as the copyright unit or individual of the manuscript does not want to publish on this site, please Contact me, I will immediately remove it, thank you. Contact: atseashawk@163.com