Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
  #1  
Old 04-01-2007, 10:35 PM
j0rd j0rd is offline
 
Join Date: May 2006
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Move Threads/Users/Posts from one forum to another and keep db id's

Here's my issue. I've got a 4 year old vbul 3.1 version installed. It's a mess. After 4 years you get a pretty disgusting database with old unused mods.

We've developed a new version of our forum on 3.6 and we'd like to import all the old forums, threads, posts, pms, avatars and all that jazz into the new clean install.

As far as i know there are two ways of doing this. Niether of which will work for us.

Impex :
- Problems: Doesn't keep threadid's, userid's and all that stuff. That will not work for us.

Database Import:
- Problems: This will not work since the DB structures are different.

How can i do about importing all my data, but keeping the proper IDs for everything? I would assume this is a common task, but i'm not able to find any information on it.

PS. We have a really large board. Impex took over 12 hours the first time we tried. Not fun.
Reply With Quote
  #2  
Old 04-02-2007, 09:31 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can not keep the id's as this would most likely create duplicates.

ImpEx however does add acolumn that stores the original id's
Reply With Quote
  #3  
Old 04-02-2007, 09:59 PM
j0rd j0rd is offline
 
Join Date: May 2006
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

that doesn't help much with people linking to thier userid's in our forums, or our Search indexed pages though.


IMHO, this is a big issue with vbulletin import system.

I spent 12 hours doing it manually table by table yesterday...and everything seems to be working.

I wrote i nice script to automate it. Maybe if you guys are lucky, i'll release it into the community.,


It's perl though .

PM me or reply if you want it...put some fire to my feet.

Quote:
Originally Posted by Marco van Herwaarden View Post
You can not keep the id's as this would most likely create duplicates.
My new forum is blank....so there would be no duplicates.

The reason i created a new one was to get my database or a more normal state. It was a mess after 7 years of mods, plugins, hacks.
Reply With Quote
Reply

Thread Tools
Display Modes

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 06:03 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.03701 seconds
  • Memory Usage 2,160KB
  • Queries Executed 11 (?)
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)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (3)post_thanks_box
  • (3)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit_info
  • (3)postbit
  • (3)postbit_onlinestatus
  • (3)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete