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

Fixed IPB 3.2 converter [media] tag

Discussion in 'Resolved Bug Reports' started by Tiscan, Nov 29, 2011.

  1. Tiscan

    Tiscan Member

    Doesn't seem to be converting correctly... I am seeing:

    [media] directly before youtube videos...

    Screenshot attached...

    Screenshot.png
     
  2. Kier

    Kier XenForo Developer Staff Member

    Could you post a few examples of the original posts that have been converted and now have the [media] prefix after conversion into XenForo please?
     
  3. Mike54

    Mike54 Active Member

  4. Kier

    Kier XenForo Developer Staff Member

    Hence the need to see the original IPB posts, if possible.
     
  5. Tiscan

    Tiscan Member

    Sorry for the delay, busy week.

    Kier what would be the most useful to you? The post data direct from the IPB database?
     
  6. Kier

    Kier XenForo Developer Staff Member

    I just need a few examples of the original IPB posts that have been converted weirdly - you could save them as .txt files and attach them here.
     
  7. Tiscan

    Tiscan Member

    ok, so these are a couple of examples from the IPB post database...
     

    Attached Files:

  8. Mike

    Mike XenForo Developer Staff Member

    You'll probably need to attach that as plain text. :)
     
  9. Tiscan

    Tiscan Member

    I am away from my machine for a while but I changed it to use the code BB tags instead... let me know if that doesn't get you what you want.
     
  10. Brogan

    Brogan XenForo Moderator Staff Member

    Surely that indicates the problem is in the original IPB posts?
    Why do some of them have additional blank opening media tags?

    A quick and easy fix would be to run a few queries to delete those blank opening tags.
     
  11. Tiscan

    Tiscan Member

    Doh... ok so it got messed up by the paste apparently? I am going to edit it and attach a .txt instead like Mike suggested.
     
  12. Tiscan

    Tiscan Member

    Let me know if you all need any other data.

    Brogan: Oddly enough when I pasted it in the issue was re-created here, in the .txt file you can see what the original data looked like.
     
  13. Mike

    Mike XenForo Developer Staff Member

    Their media tags a different than ours. [media=''] isn't actually seen as a valid tag here. We may be able to clean it up to fit our approach during the import (if that's worthwhile).
     
  14. Tiscan

    Tiscan Member

    Well, speaking for my own useage I need to find a way to correct this before I can migrate my install (this and adding a spoiler tag seem to be my gating issues), we just have way too many posts effected by this. So either a fix in the importer or perhaps a SQL query I can run to remove these post conversion?

    Obviously the advantage in fixing it in the importer is that it fixes it for everyone moving forward, I imagine this will be something you see pop up again in the bug reports otherwise.
     
  15. Kier

    Kier XenForo Developer Staff Member

    We have a potential solution that I'm testing now.
     
  16. Kier

    Kier XenForo Developer Staff Member

    ... and it works.
     
  17. Tiscan

    Tiscan Member

    Outstanding! Thanks! How might I go about getting it? As we haven't actually migrated I will just wipe out the XenForo install and start from scratch.
     
  18. Jeremy

    Jeremy XenForo Moderator Staff Member

    All bug fixes are slated for v1.0.1 unless otherwise noted. You'll have to wait until it is released to gain access to the fixes unless they post it here.
     
  19. Tiscan

    Tiscan Member

    Er, that would be unfortunate. I spent $140.00 on a license for Xenforo based on it's ability to import my existing (totally stock, no mods) IPB.
     
  20. Kier

    Kier XenForo Developer Staff Member

    We won't leave you hanging :)

    Here's the fix.
     

    Attached Files:

    Fuhrmann, Tiscan and Jeremy like this.

Share This Page