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

Converted from vB to Xenforo

Discussion in 'XenForo Questions and Support' started by gldtn, Feb 2, 2011.

  1. gldtn

    gldtn Well-Known Member

    I converted vB to Xen and I was wondering if anyone here know of a script or a way to automatically search for embed code such as youtube ones and covert them to xenforo media bbcode?

    thanks!
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    I did all of mine using regex and SQL.

    How are they appearing at the moment?
     
  3. mcrider

    mcrider Member

  4. gldtn

    gldtn Well-Known Member

    It's spitting out just the plain embed code into the post
     
  5. Brogan

    Brogan XenForo Moderator Staff Member

    I don't know what vB YouTube embed code looks like (I converted from phpBB).
    Can you post an example?
     
  6. gldtn

    gldtn Well-Known Member

    here:
    Code:
    <object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/DWD5Jr4hS9I&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/DWD5Jr4hS9I&hl=en&fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object>
     
  7. Andy.N

    Andy.N Well-Known Member

    I use iframe (the new youtube embed code) and would need help converting them to xf media tag as well
     

Share This Page