XF 2.2 Only Youtube links, not videos showing after vBulletin import

BubbaLovesCheese

Active member
Hi,

So I imported my vBulletin 4 to Xenforo 2.2. After the import, all the media links still shows as links, not as preview videos. Like this:

1-youtube.JPG

After closer inspection, I see they imported with the [URL] [/URL] code surrounding it.

2 - youtube.JPG

What can I do to get the video preview to show?

It's a test site, so I can either do something to prepare pre-import, or something after.

Thanks.

 

BubbaLovesCheese

Active member
Okay, so I found this resource to find/replace text


I guess my questions is:
  1. Is find/replace still the best way to deal with this issue?
  2. Is replacing [URL] with [MEDIA] still the best solution?
  3. What if I strip away all instances of [URL] and [/URL], will xenforo replace them accordingly?
Any updated info would be great.
Thanks!
 

BubbaLovesCheese

Active member
Thanks. Just a follow up to #3

What if I strip away all instances of [URL] and [/URL] from my vBulletin database prior to import? Will [media] tags (or the appropriate tags) be added during import?
 

Mr Lucky

Well-known member
What if I strip away all instances of [URL] and [/URL] from my vBulletin database prior to import? Will [media] tags (or the appropriate tags) be added during import?
Maybe I'm stating the obvious, but there will be instances of [URL] and [/URL] that are in regard to normal text links etc, so many would need to remain as is. It's only the youtube ones you'd want to target.
 

BubbaLovesCheese

Active member
Maybe I'm stating the obvious, but there will be instances of [URL] and [/URL] that are in regard to normal text links etc, so many would need to remain as is. It's only the youtube ones you'd want to target.

True. Hence my question.... Let's assume I have these links :

Code:
[URL]https://www.youtube.com/watch?v=FdPghlJTpb8[/URL] <= video
[URL]https://www.website.com/[/URL] <= website
[URL]https://www.imageshack.com/i/p3q5d7vaj[/URL] <= image

And I stripped away the URL for every link (either before or after import), the question was, would Xenforo be able to determine the first link was a video, the second a website, and the third was an image, and would it apply the appropriate tags?

The answer was no, unfortunately. But I did find a solution here :


So, problem solved.... for now. ;-)
 
Top