Announcement

Collapse
No announcement yet.

Can I import *this*?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Can I import *this*?

    Folks-

    I have an archive from an old (not vB) forum that are ASCII text files containing entire threads.

    I would like to import these into a new empty vB shell, then immediately archive them before the forum goes public.

    I have the capability to GREP these into another structure--if there is one that impex can use and someone can tell me what that structure is.

    Thanks.

    --don
    --don

  • #2
    Do you have the user details as well ?

    Depending on what data is available, I might be able to give an API example on how to use impex to grab it.
    I wrote ImpEx.

    Blog | Me

    Comment


    • #3
      Here's what I have...
      Each message in the thread has the following header:

      Msg#: // I assume these get renumbered
      reply to: // parentID in vB terms?
      Fm:
      To: // vB does not use these
      Dt: // DD-MMM-YY format
      Section: // Forum name in vB terms
      Topic: // Thread name (same for all messages in thread

      Not all of the authors of all of the messages will become members of the new forum. I could probably extract out the names and dummy up a membership table.

      --don
      --don

      Comment


      • #4
        Originally posted by darnoldy
        Msg#: // I assume these get renumbered
        Yes, these would turn into import id's.

        Originally posted by darnoldy
        reply to: // parentID in vB terms?
        Yup.

        Originally posted by darnoldy
        Fm:
        From ?

        Originally posted by darnoldy
        To: // vB does not use these
        Unless you wanted some to be private them turn them into PM's opposed to posts.
        Originally posted by darnoldy
        Dt: // DD-MMM-YY format
        Handy, though will have to thread on import order if there isn't a more granular split between the messages.
        Originally posted by darnoldy
        Section: // Forum name in vB terms
        Topic: // Thread name (same for all messages in thread
        Is the Topic name and for this essentailly unique ?

        Originally posted by darnoldy
        Not all of the authors of all of the messages will become members of the new forum. I could probably extract out the names and dummy up a membership table.

        --don
        Where is the author id in that info ?
        I wrote ImpEx.

        Blog | Me

        Comment


        • #5
          jerry-

          the author would be the "From:"

          Is the Topic name and for this essentailly unique ?
          if i had *this* thread in that format, the Topic would be "Can I import *this*?" and the section would be "vBulletin 3 Import System". these two fields would have the same value in each message in a thread.

          --don
          --don

          Comment


          • #6
            Yes, but would there only be the one Topic of that title ?
            I wrote ImpEx.

            Blog | Me

            Comment


            • #7
              Originally posted by Jerry
              Yes, but would there only be the one Topic of that title ?
              Yes...I could make sure that there was.

              --don
              --don

              Comment


              • #8
                Originally posted by darnoldy
                Yes...I could make sure that there was.

                --don
                Thats the main thing I'm thinking or you are going to get threads stuck on the end of each other because of their titles.
                I wrote ImpEx.

                Blog | Me

                Comment


                • #9
                  Jerry-

                  so this is possible?

                  --don
                  --don

                  Comment


                  • #10
                    For sure.

                    Can you get all the users into a csv file so they can be imported first ?

                    Do you have emails and usernames or just user names ?

                    So its one thread per file ? is there a seperator between messages, or can one be put in ?
                    I wrote ImpEx.

                    Blog | Me

                    Comment


                    • #11
                      Originally posted by Jerry
                      Can you get all the users into a csv file so they can be imported first ?
                      Sure

                      Originally posted by Jerry
                      Do you have emails and usernames or just user names ?
                      I have what can be used as an e-mail address. Most of them are probably no longer valid addresses. I had planned to purge the membership base after the threads were archived--unless that's a bad idea.

                      Originally posted by Jerry
                      So its one thread per file ? is there a seperator between messages, or can one be put in ?
                      one thread per file. Right now its one or more returns followed by first line of next message header--can be searched on and anything inserted as needed.

                      --don
                      --don

                      Comment


                      • #12
                        Well the only need for the users is so that you can link the posts to a user, if that isn't required, if you just want the data and it dosn't matter if they are all posted by the guest user (id = 0) then they arn't needed.

                        There is a flat file importer that will do the users now, the jiveforums forum importer just creates a default category and forum.

                        Importing the threads will be more tricky as you will need to parse the files within impex and then import the posts.

                        If you PM me we can go from there.
                        I wrote ImpEx.

                        Blog | Me

                        Comment

                        widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                        Working...
                        X