Import only users

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • openmind
    New Member
    • Aug 2005
    • 15
    • 3.8.x

    Import only users

    We have inherited the old userbase from another vbulletin forum. For various reasons we only have the users table so no forums, thread, posts etc.

    Can Impex just import these users into a group we decide upon?
    Cheers,

    Phil
  • Steve Machol
    Former Customer Support Manager
    • Jul 2000
    • 154488

    #2
    No sorry. You would need a complete database.
    Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
    Change CKEditor Colors to Match Style (for 4.1.4 and above)

    Steve Machol Photography


    Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


    Comment

    • openmind
      New Member
      • Aug 2005
      • 15
      • 3.8.x

      #3
      Nuts. So my only option would be to write a compare/insert script. Not to worry, was worth a try
      Cheers,

      Phil

      Comment

      • Steve Machol
        Former Customer Support Manager
        • Jul 2000
        • 154488

        #4
        Yes, you could write a custom script for this.
        Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
        Change CKEditor Colors to Match Style (for 4.1.4 and above)

        Steve Machol Photography


        Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


        Comment

        • openmind
          New Member
          • Aug 2005
          • 15
          • 3.8.x

          #5
          OK that's a plan. When inserting the new user into the existing users table, is there anywhere else we need to update or just the users table itself?

          We'll be setting up a new group so I guess we just need the new user group ID for the insert correct?
          Cheers,

          Phil

          Comment

          • Steve Machol
            Former Customer Support Manager
            • Jul 2000
            • 154488

            #6
            You will have to update three tables with the data for each member:

            user
            userfield
            usertextfield
            Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
            Change CKEditor Colors to Match Style (for 4.1.4 and above)

            Steve Machol Photography


            Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


            Comment

            • openmind
              New Member
              • Aug 2005
              • 15
              • 3.8.x

              #7
              OK excellent, thanks Steve

              I'll post a copy of the script here when I'm done. It will be in ColdFusion but it will give people the idea.
              Cheers,

              Phil

              Comment

              • openmind
                New Member
                • Aug 2005
                • 15
                • 3.8.x

                #8
                Well that worked a treat.

                I've posted the ColdFusion script below if anyone wants it. Note that this assumes you only have the users table to work with and if you use and it breaks your stuff, don't blame me, I have bodyguards
                Attached Files
                Cheers,

                Phil

                Comment

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