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

Fixing vB quotes

Discussion in 'XenForo Development Discussions' started by yoghurtfarmer, Oct 9, 2010.

  1. yoghurtfarmer

    yoghurtfarmer Well-Known Member

    I know someone mentioned writing a script to fix imported vB quote tags to work in xenForo. Has anyone done this yet?
  2. Lawrence

    Lawrence Well-Known Member

    I have not heard of anyone taking this on as of yet, and as soon as I do, I'll let you know. I think linking quotes would be a very long process, depending on the number of posts you have.
  3. cedivad

    cedivad Active Member

    What's the problem with vb imported quotes?
  4. Lawrence

    Lawrence Well-Known Member

    The mapping of all the quoted vB posts id's to the new post ID's generated by the importer, would require a second pass of the importer, and quite server intensive for large boards I would gather .
  5. lmq

    lmq Member

    I don’t know how the importer works exactly, but shouldn’t it be doable in one run? When a quote references a post, that post has to be older than the one containing the quote, so the importer should already know its new ID.
    Either way, it’s an important feature, I think.
  6. g0rn

    g0rn Well-Known Member

    Not really. There is xf_import_log table that stores IDs map (until new import is initiated). So you need to only go through all the posts and replace old IDs with new ones without needing to do something with vBulletin database anymore.

Share This Page