convert html to bbcode in old posts

Get help with installation and running phpBB 3.2.x here. Please do not post bug reports, feature requests, or extension related questions here.
Post Reply
daniel x
Registered User
Posts: 10
Joined: Sat Oct 07, 2006 10:01 pm

convert html to bbcode in old posts

Post by daniel x » Sat Aug 04, 2018 12:25 am

hi!

I have successfully converted from phpBB 2.0.22 to 3.2.x. using the instructions in the documentation.

Now I see that many old posts contain html tags which were not converted to a format that is displayed in 3.2.x
Unfortunately theses posts are very hard to read. :shock:

Is there any script or method that can be used to convert html to bbcode in all of these posts?

I found older discussions here where users asked for the same thing. But there seemed to be no automated method at the time.
viewtopic.php?f=466&t=2360831&hilit=htm ... conversion


best regards
daniel

picaron
Registered User
Posts: 51
Joined: Wed Apr 05, 2006 8:55 am
Location: Spain

Re: convert html to bbcode in old posts

Post by picaron » Wed Aug 22, 2018 5:29 pm

Hi Daniel, if you have access to the server through SSL as root ... It is very simple !!! ...

If so, follow these steps:

Disable the forum from the ACP.
From Putty as root.
Enter the forum folder.
cd/var/www/xxxxx/xxxxx/xxxx/web

Deactivate the abbc3 extension
/usr/bin/php -f bin/phpbbcli.php extension:disable vse/abbc3

Reparse all the BBcodes of the forum
/usr/bin/php -f bin/phpbbcli.php reparser:reparse

Activate the abbc3
/usr/bin/php -f bin/phpbbcli.php extension:enable vse/abbc3

Enable the forum from the ACP.

Source --- >>>> https://www.phpbb.com/customise/db/exte ... x/faq/2011

That's all.... xD
My extensions: Automatic Google AdSense, Anti Adblock, PayForLink, SlideWeUni, StoreToMega, SearchBack.

If you like my work, it would be interesting if you help me to continue buying tobacco... ;)

Post Reply

Return to “[3.2.x] Support Forum”

Who is online

Users browsing this forum: invenio, Rosain and 41 guests