Oh wow, talk about being lucky that this option just got added. And you knew about, and you replied to tell me.
That option is a lifesaver, it "just works".
Still have to fix "malformed" (double double quotes) BBCode in the DB beforehand, but that is a lot easier and safer to do than trying to replicate the final parsed structure with regex alone.
In my case this simple SQLwas enough and super fast (took only a couple of minutes), followed by the reparse CLI command. Yes, that reparse command is incredibly slow (as expected) and takes ~10 hours on our 2.2 million posts.
There were some other minor BBcode errors that we could fix up directly in the DB, but having this quote issue fixed is a huge improvement of the quality. I love how many knowledgable people are active here ( and willing to share their knowledge). We made the right call to switch to phpBB.
That option is a lifesaver, it "just works".
Still have to fix "malformed" (double double quotes) BBCode in the DB beforehand, but that is a lot easier and safer to do than trying to replicate the final parsed structure with regex alone.
In my case this simple SQL
Code:
UPDATE phpbb.bb_posts SETpost_text = REGEXP_REPLACE(post_text, '\\[quote=""(.*?)""\\]','\[quote="\\1"\]')
There were some other minor BBcode errors that we could fix up directly in the DB, but having this quote issue fixed is a huge improvement of the quality. I love how many knowledgable people are active here ( and willing to share their knowledge). We made the right call to switch to phpBB.
Statistics: Posted by Senshi_x — Mon Nov 25, 2024 10:15 am