Version: 1.00, by JulianD
Developer Last Online: Sep 2018
Version: 2.3.x
Rating:
Released: 11-17-2002
Last Update: Never
Installs: 69
Is in Beta Stage
No support by the author.
Well, I did this for a friend and I saw some request for this tool before, so here you got.
My code is based on the import scripts that you found on vbulletin.com.
What it does?
- Merge: users, forums, threads, posts, polls, PMs and attachments of two vBulletin databases.
- It allows to associate usernames with current vBulletin users, to prevent duplication
Both databases should be in the same server, and use the same password.
If there's a duplicated name in both databases, the script will postfix the username from the database you're merging with something like: [imported]. So you probably will find users that looks like username[imported] after the merge. To solve this problem of two usernames being one person, there's a tool in the script to merge users individually.
New version
- The database to merge can now have a different host/username/password. *
- Ability to auto merge users with the same username (to avoid 4000 users with the [imported] thing. ) *
- You can now skip the forum merging, and use the tool only to merge users.
- The poll bug seems to be fixed now. Post your feedback.
Installation:
Simply upload the attached file to /forum/importers/ and go to your Admin CP > BB Import Systems and choose vBulletin Merge Tool for v2.2.x.
Note that this script requires vBulletin 2.2.7 (or newer) to work. I have tested it with 2.2.6 but you need to upgrade the file /forum/admin/bbimport.php to the version you found on vBulletin 2.2.7 or newer.
Important Information:
This merger is beta! You should backup everything before starting. Use it under your own risk!
I decided to reopen this thread with a new version of this merger. I hope it fixes all the problems with previous versions.
REMEMBER:
If you're going to merge two database that are located on the same host, you SHOULD use a different hostname for both database.
For example:
If you have 'localhost' configured as your $servername variable on the admin/config.php file, and you want to merge a database stored on the same server, you should use something like '127.0.0.1'. Another example... If you have $servername configured to 'vbulletin.org', and you want to merge a database located on vbulletin.org, use the IP address for that server instead... In this case '205.214.66.221'. Get it?
Sorry, I'm not very good with english and it's very hard to explain this. I hope you've understood this.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
Today at 05:17 AM hockyfan said this in Post #109 I just have to comment, the support and assistance I got with this hack was truely unprecedented. I received excellent support, especially considering this was on his own time and without payment etc. This hack did work very well, and I highly recommend it to anyone!
Excellent work julian, and thank you!!
h
I have to say I second this - great work Julian, thanks!
12-01-02 at 09:15 PM JulianD said this in Post #69
Ohhh sorry.... Now I understand you...
Unfortunately at this time it's not possible to merge two database without the same user and password. I'll try to release a new version with this ability for you guys.
Silly question. I DLed the one that you linked and it was the same as the one that i had there. I have been trying this out on my test databases. I am importing over 10k users and 300k messages and when it was all said and done it just duplicated my forum that I was importing into.
So now I have 2 general discussion areas with the same posts etc. Thinking that I messed it up. I restored my database back to normal backups that I had. Both the database to merge into and the db that was to be merged.
I then redid the merge as before, but this time swapped my merger and mergee< is that a word > and it did the same but to the other database this time.
Now maybe I am missing something I am not sure. Shouldnt there be two entry areas one for the to db and one for the from db? On all versions that i have DLed from here it only has the one DB entry.
Uhmmmm First, make sure you have the lastest version... No wait... I'm going to attach the lastest version here in this post, just to make sure..
Ok.. Here's how it works... The database to merge into is the one you're using to run your currently vbulletin installation. You don't need to type the user / password for it, because the script have access to the database, as long as vbulletin is running fine.
Ok now, what's the host/user and password that you should fill at the start of the merge? It's the information for the SECOND database, the one you want to merge with your current vbulletin installation.
If this database is in the same server, you should fill similar values like the ones you have on your config.php. But you have the possibility to merge a database located on another server, by filling the correct host/user/pass and db name, and it should work.
Just send me a PM if you still have problems with the merger.
I have a 40mb db, and phpmyadmin keeps giving me the error when i try uploading the vbulletin.sql file that there was No SQL Query! So gonna try cleaning out some of the stuff and see what happens after.
03-31-03 at 07:41 PM gmtalk said this in Post #114 Julian,
Silly question. I DLed the one that you linked and it was the same as the one that i had there. I have been trying this out on my test databases. I am importing over 10k users and 300k messages and when it was all said and done it just duplicated my forum that I was importing into.
So now I have 2 general discussion areas with the same posts etc. Thinking that I messed it up. I restored my database back to normal backups that I had. Both the database to merge into and the db that was to be merged.
I then redid the merge as before, but this time swapped my merger and mergee< is that a word > and it did the same but to the other database this time.
Now maybe I am missing something I am not sure. Shouldnt there be two entry areas one for the to db and one for the from db? On all versions that i have DLed from here it only has the one DB entry.