Hi quahappy :quahappy wrote:Hi all,
I'm about to do a test transfer of my phpBB2 forum to phpBB3 and have noticed a couple of things that I will need to alter especially when it comes to custom BBCodes. One MOD I have installed is Align MOD which features a drop-down list where I can choose Left, Right or Center. The actual BBCode tag displayed within a post in phpBB2 is:
But the custom phpBB3 BBCode uses this:
... which means hundreds of posts in my current phpBB2 forum where members has used Align in phpBB2 are not going to be displayed correctly in phpBB3.
Is there any code available to convert this so posts are displayed correctly once ported over to phpBB3? Or is this easily rectified?
Your request is a very common problem for those who are updating from 2x...
I don't know if there is a mod to do what you need.
I think the only possible solution is running several special sql query before run the update from 2x to 3x, something like :
WARNING : I'm not expert in sql
Code: Select all
UPDATE phpbb_posts SET post_text = replace(post_text,'[align=left]','[left]'); UPDATE phpbb_posts SET post_text = replace(post_text,'[align=center]','[center]'); UPDATE phpbb_posts SET post_text = replace(post_text,'[align=right]','[right]'); UPDATE phpbb_posts SET post_text = replace(post_text,'[/align]','[/right]');
Have a MOD to use HTML code in phpbb 3x, removedquahappy wrote:The other problem I have is I use HTML MOD in phpBB2 (which is set that only I, as board founder and knowing of security risks, can use it) to embed games and various other stuff into posts. It means numerous posts that my contain [html] [/html] BBCode will need to be removed? Is there an alternative?
Thanks in advance for any help!
The mod have a system permission. Allows authorized users to post full HTML.