vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   copy specific thread from different db (https://vborg.vbsupport.ru/showthread.php?t=106754)

hichew 01-30-2006 09:43 PM

copy specific thread from different db
 
is it possible to copy a thread from my old forum ( same version 3.5.3 ) to my current forum ( it's from 2 different database table )

DrewM 01-30-2006 09:49 PM

um.. I don't know how but I do know how to move all the threads.

Billspaintball 01-30-2006 11:10 PM

Have all the user IDs of the posters remained the same or are they different between both databases?

hichew 02-04-2006 06:02 PM

Quote:

Originally Posted by Billspaintball
Have all the user IDs of the posters remained the same or are they different between both databases?

yes all remain the same.
actually i want to recover the thread that had been prunned 5 months ago.

Billspaintball 02-05-2006 03:53 AM

In short is possible but its very hard.

Ive been looking at something similar for different reasons.If you have reindexed your database in the meantime however, you can forget about it.

From what I can work out you need to grab data from at least 3 different tables.

Im taking a different approach to just importing all the data, its too hard.
Im writing a script for a form so I can just imput the data into the form and submit it via vB's datamanager which will do all the hard work for me.
Naturally, it will be able to insert as whatever user you choose, and also use whatever timestamp you choose.
Of course, this means I can do only one record at a time, but since I dont have too many to do, it does not really worry me.

I havent had time to work on this lately, could be a week or two before I finish it.


All times are GMT. The time now is 07:27 AM.

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.01702 seconds
  • Memory Usage 1,713KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete