Advertisement:

Author Topic: How to convert quote tag  (Read 523 times)

Offline Massl

  • Jr. Member
  • **
  • Posts: 205
How to convert quote tag
« on: January 04, 2019, 03:28:51 AM »
Hi, someone can help me to convert this MyBB quote

Code: [Select]
[quote='username' pid='4' dateline='1546585851']
to this SMF 2.1 quote
Code: [Select]
[quote author=username link=msg=4 date=1546585851]
In the converted forum there are hundreds of quotes and it is impossible to change them one by one.

Thanks  :)

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 70,492
    • StoryBB/StoryBB on GitHub
Re: How to convert quote tag
« Reply #1 on: January 04, 2019, 03:37:18 AM »
There is no good way in a database to do this. It needs a script to be written to go through and check each post one by one.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.