MG 2.1 What is the best way to rewrite vBAlbums IMG BB Tags to XFMG IMG BB Tags

DerTobi75

Active member
Hi,

I am working on a migration from vB3.8 with vB Albums to XF 2.1 and XFMG 2.1!

The importer are working fine so far, my only concern, a lot of User used the BB IMG Tag from vB Albums to view their Album photos in their forumposts.

What is the best way to rewrite the existing links to the new links from XFMG?!

Regards,

Tobi
 
The BBCode looks like this:

Code:
[IMG]https://myfancyforum.yeah/board/picture.php?albumid=2193&pictureid=100335[/IMG]

Pretty much the same, as the XF BBCode, I guess. My problem at my last testimport, the PictureIDs are not exactly the same in both forums. A simple search and replace would not help much, ...
 
My problem at my last testimport, the PictureIDs are not exactly the same in both forums.
There is an option to retain IDs in the importer. If you want to retain any ability to redirect old URLs to new, retaining the IDs is highly recommended.

A simple search and replace would not help much, ...
And then once IDs are retained, you can use something such as the "Post content find and replace" add-on to do a regular expression find and replace on the post content.
 
There is an option to retain IDs in the importer. If you want to retain any ability to redirect old URLs to new, retaining the IDs is highly recommended.
Yes, but at the last import, I got some issues with the IDs. But, right now, I do another Import, maybe I did something wrong last time. I check this, when it is done.

And then once IDs are retained, you can use something such as the "Post content find and replace" add-on to do a regular expression find and replace on the post content.
Ok, thanks. I check this. To just show the Photo within a Post, the BBCode for XFMG should look like this, right?

Code:
[IMG]https://myfancynewforum.yeah/media/{IMAGEID}/full[/IMG]
 
Back
Top Bottom