Advertisement:

Author Topic: Migration IMG tag problem  (Read 1643 times)

Offline modcraft

  • Semi-Newbie
  • *
  • Posts: 11
Migration IMG tag problem
« on: March 05, 2017, 04:41:43 AM »
I migrated latly from phpbb2 to smf 2.0.
Was a bit messy but I got it working.

Now I have some problems.

We had wimg custom tags in the old board that fit the images to the wide of the board. After convertor run there was in addition a number added to this tags:

[wimg:39wo8bjm]  sime external image url[/wimg:39wo8bjm]

I exported the table to sql and changed all [wimg:39wo8bjm] to [img]http:// and all [/wimg:39wo8bjm] to[/img] with regex.

But the images are still not showing. So I went into a post with an img and had a look. The tags where fine. I saved the post and... now i see the image. Tried this also with some other posts. After enter and save it works.

I did now all the maintenence stuff but I dont get all images working fast and I have nearly 50000 posts...
Is there a board feature/addon or sql that can do the job. Seams to me that some cache or whatever needs to get updated.


« Last Edit: March 05, 2017, 08:21:18 AM by Kindred »

Offline modcraft

  • Semi-Newbie
  • *
  • Posts: 11
Re: Migration IMG tag problem
« Reply #1 on: March 05, 2017, 12:38:55 PM »
To make it clear. This is no omport problem.

I changed the messages body content with mysql. The bbtags are now perfect in the database. But the boad dont show them. You ned to edit and hit save. Thrn it works. So what dose the board with the tags aft er r save?

Offline modcraft

  • Semi-Newbie
  • *
  • Posts: 11
Re: Migration IMG tag problem
« Reply #2 on: March 05, 2017, 02:49:07 PM »
Found it.

Admin > Forum Maintenance  > Database > Convert HTML-entities to UTF-8 characters

The img urls where all in html number entities . Now all images work.