Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Beta Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vBulletin Merge Tool for v2.2.x Details »»
vBulletin Merge Tool for v2.2.x
Version: 1.00, by JulianD JulianD is offline
Developer Last Online: Sep 2018 Show Printable Version Email this Page

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.

Comments
  #142  
Old 05-27-2003, 10:59 PM
sweetmercifulcr sweetmercifulcr is offline
 
Join Date: Dec 2002
Location: Scottsdale, Arizona
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Desperately need to be able to merge two boards, but on different servers. Can this be done with this import script?

Excuse me if it's been asked/answered earlier, i dont want to read 10 pages.
Reply With Quote
  #143  
Old 06-05-2003, 04:19 PM
gmarik's Avatar
gmarik gmarik is offline
 
Join Date: May 2002
Location: Mocsow
Posts: 1,288
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Respect! Great coding done, I use it every week twice!
Reply With Quote
  #144  
Old 06-05-2003, 04:19 PM
gmarik's Avatar
gmarik gmarik is offline
 
Join Date: May 2002
Location: Mocsow
Posts: 1,288
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This should be a full release hack... :sleep:
Reply With Quote
  #145  
Old 06-05-2003, 05:42 PM
Dan's Avatar
Dan Dan is offline
 
Join Date: Dec 2002
Location: Titusville, Florida
Posts: 1,787
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

no it still has bugs... like it screwed up my board last time I used it
Reply With Quote
  #146  
Old 06-06-2003, 12:35 AM
wolfe wolfe is offline
 
Join Date: Jan 2002
Posts: 900
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

got a weird problem i used it and imported all posts/threads/forums/privatemessages and now in the forums where the posts have imported it says

for last posts

31st December 1969 19:00 PM
by


and its got the exact same amount or threads as its got posts but also all the posts inside the thread have got

Sparkz
28th July 2002 19:22 PM This person is on your Ignore List. To view this post click [here]

Sparkz
28th July 2002 19:23 PM This person is on your Ignore List. To view this post click [here]

for all posts
Reply With Quote
  #147  
Old 06-08-2003, 01:44 PM
Smellycat's Avatar
Smellycat Smellycat is offline
 
Join Date: Jan 2002
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just merged a 2000+ user database with a 1000 user database and it worked a treat have to say well done, and thank you very much!
Reply With Quote
  #148  
Old 06-08-2003, 09:43 PM
wolfe wolfe is offline
 
Join Date: Jan 2002
Posts: 900
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sorted the problem out on my end i did not run the things as one i did the users then quit then did next so sorted now you da man d00d
Reply With Quote
  #149  
Old 06-17-2003, 04:14 AM
99SIVTEC 99SIVTEC is offline
 
Join Date: Nov 2001
Posts: 281
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've got 3 completely separate, but loosely related websites. I'm thinking of starting a large network with them in which there would only be 1 vbulletin forum. Each site would be a top level forum with their individual forums as sub forums under that.

My question is. If I merge the sites will it just place all of the forums in one large group so I can move them around as needed, or is it going to try and merge forums with the same name? Should I rename the forums before mergine so they are something like

site1_lounge
site2_lounge
site3_lounge
site1_performance
site2_perform....

ect ect so the names are all different and easy to recognize

Thanks again for all of your efforts on this hack. It's denfinetly a life saver and top notch quality.
Reply With Quote
  #150  
Old 07-02-2003, 01:54 PM
Mikal Mikal is offline
 
Join Date: Mar 2002
Location: Denmark
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I really need some help on this one, I'm trying to merge the old database into the new one. but as soon as I try to run the script
in admin cp

I get this error:
---------------------------------------------------------------------------------
Warning: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /hotel/sushi-inc_dk/WWW/forums/importers/bbimport_vb2.php on line 45
---------------------------------------------------------------------------------
Database error in vBulletin Merge Tool 2.3.0:

Link-ID == false, connect failed
mysql error:

mysql error number: 0

Date: Wednesday 02nd of July 2003 04:48:53 PM
Script: http://www.sushi-inc.dk/forums/forum...p?action=start
Referer:
---------------------------------------------------------------------------------
and I can't figure out what the problem is.

I did try the first script, but it didnt work since my databases don't have the same dbname or password, although they are on the same server.

I really hope someone here can help me

Thanks in advance
Reply With Quote
  #151  
Old 07-02-2003, 01:57 PM
Mikal Mikal is offline
 
Join Date: Mar 2002
Location: Denmark
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I really need some help on this one, I'm trying to merge the old database into the new one. but as soon as I try to run the script
in admin cp

I get this error:
---------------------------------------------------------------------------------
Warning: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /hotel/sushi-inc_dk/WWW/forums/importers/bbimport_vb2.php on line 45
---------------------------------------------------------------------------------
Database error in vBulletin Merge Tool 2.3.0:

Link-ID == false, connect failed
mysql error:

mysql error number: 0

Date: Wednesday 02nd of July 2003 04:48:53 PM
Script: http://www.sushi-inc.dk/forums/forum...p?action=start
Referer:
---------------------------------------------------------------------------------
and I can't figure out what the problem is.

I did try the first script, but it didnt work since my databases don't have the same dbname or password, although they are on the same server.

I really hope someone here can help me

Thanks in advance
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:12 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05094 seconds
  • Memory Usage 2,311KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete