1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.4 Soundcloud embedded player did not convert

Discussion in 'Installation, Upgrade, and Import Support' started by tribedude, Jun 5, 2015.

  1. tribedude

    tribedude Active Member

    We have done a test import of our vb 3.8x board so we can see how Xenforo works before actually switching over. I notice that the embedded soundcloud player we use in vb did not translate over well. Instead of a player in Xenforo, we got links like this:


    Is there any way to tweak Xenforo so that these show up as players as well? What do I do here?

  2. tribedude

    tribedude Active Member

    Also, our youtube vids are showing up like this:

  3. EQnoble

    EQnoble Well-Known Member

  4. 0ptima

    0ptima Well-Known Member

  5. tribedude

    tribedude Active Member

    Our forum is nearly 5 million posts deep and there is probably a lot of youtube code that needs to be converted. Will the addon be able to handle that?
  6. EQnoble

    EQnoble Well-Known Member

    The amount of posts really isn't the issue as much as the amount of posts with matches made but yes and even in the worst case scenario you could tweak the addon to run in batches suitable to your system resources/configuration.
  7. Brogan

    Brogan XenForo Moderator Staff Member

    If all of the existing YouTube tags are identical then you can also do it with two queries:
    UPDATE xf_post SET message = REPLACE(message, '[youtube]', '[media=youtube]');
    UPDATE xf_post SET message = REPLACE(message, '[/youtube]', '[/media]');
    Ensure you take a backup of the database before doing any manipulation of this sort.
  8. Mike

    Mike XenForo Developer Staff Member

    Your soundcloud tag could probably be handled by creating a custom BB code of your own to do it.
  9. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

  10. tribedude

    tribedude Active Member

    We are making the board move this week. So just so I understand correctly: Because the youtube embedding is built into Xenforo AND is different than what we are using on vbulletin , we run these queries after importing the board in order to convert all our old vb youtube urls to xenforo's youtube urls.

    Then we create custom BB codes in Xenforo to match the BB code that we are using in vbulletin for Soundcloud and VIMEO (which are our only other custom embed codes).

    Is that correct?
  11. Brogan

    Brogan XenForo Moderator Staff Member

    That's more or less correct.

    XF also has a Vimeo bb code built in so you shouldn't have to create one for that.
    You may need to run queries though to change the tags to match, as with the YT tags.
  12. AndyB

    AndyB Well-Known Member

Share This Page