Few more pre-sales questions

Amin Sabet

Well-known member
Not really pre-sales since I already bought one Xenforo license, but before I buy the next 5 of them...

1) My sites are photography forums and contain a lot of posts with images embedded using html, almost all of them in this format:

Code:
<a href="http://www.flickr.com/photos/bzhou/4872039026/" title="P1000074 by bzhou, on Flickr"><img src="http://farm5.static.flickr.com/4143/4872039026_7283ba5506_z.jpg" width="640" height="640" alt="P1000074" /></a>

Is there any way to support that kind of html globally in Xenforo forums so that the images will display, and if not, is there any way to do the import from vBulletin 4 to Xenforo such that the html in those posts is converted to BBCode during import?

2) Many members have forum posts using images embedded using BBcode referencing images from their vBulletin 4 albums. If I import from those albums to XenForo Media Gallery, will those embedded images be broken, or will they continue to show as before?
 
You could do a find and replace (perhaps using something like this: https://xenforo.com/community/resources/post-content-find-replace.1549/) to convert that HTML to use "URL" and "IMG" BBCODE tags - that's one way of doing it :).

I'm not sure on point number 2, but if you retain the existing content IDs and set up re-directs, I'm sure you can do something similar - there's no reason why you can't with a bit of tweaking.
 
Regarding point 2, how is the bb code structured and how are the images referenced?

It may be possible but it depends whether they can be mapped to the new ID/reference in XenForo.

(For point 1, you could also create a custom bb code which would replicate that, but it would still require replacing the original content.)
 
Regarding point 2, how is the bb code structured and how are the images referenced?

It looks like this:

Code:
[img]http://www.talkemount.com/attachment.php?attachmentid=253&d=1317022161[/img]

I don't necessarily need to import it to XenForo Media Gallery. I could just as easily import it to a thread. I just need it to happen in a way that doesn't break the embedded photo in the posts.
 
The challenge with that particular attachment link is that it's potentially ambiguous as to the content type. If you maintain IDs, you may be able to redirect it to the /attachments/1234/ link in XF and let it work out the permissions for you. If you don't maintain IDs, then look ups likely wouldn't be possible automatically because you'd have 2 import log tables that could match. Because the IDs shouldn't be shared between them, it might be possible to custom develop a solution, but it's not something that would work out of the box.
 
Back
Top Bottom