PDA

View Full Version : import lost attachments.



bbqchef33
Fri 14th Oct '05, 12:26pm
I recently converted from Postnukes PNPHPBB2 forum to Vbulletin. Migrated the forums over sucessfully using the VB import tool.

We just realized that none of the attachments came over. Mostly photos, DOC and PDF files.

Is there any known way to get the attachments over and reattached to the corresponding post?


or even if i need to reimport the entire forum into a dev site and work from there, is it possible to import with attachments?

Steve Machol
Fri 14th Oct '05, 5:14pm
When did you do this import and which version of vB are you running? There is no current importer for 3.0.

bbqchef33
Sat 15th Oct '05, 2:11am
The importer was downloaded with the 3.0.9 software from here back in march/april. I think it ws an IMPEX or something along those lines. We have version 3.0.9. and did the Import around september. We will be upgrading to 3.5 but would like to get the forum intact before doing so. In order to do the import, we dropped from the Postnuke version of PNPHPBB2, down to just PHPBB2 and then imported to version 3.0.9. We have been up for a few weeks now, but miss the attachments.

Steve Machol
Sat 15th Oct '05, 2:27am
I'm afraid I do not know of any way to add those attachments at this late date. Can you redo the import and start again?

bbqchef33
Sat 15th Oct '05, 8:46pm
yeah, i can redo the import to a developmet forum. If I can get them over to vbulletin format then i can figure out a way to merge them from forum to forum.... Should they have come over with IMPEX? Did I miss(screw up) something during the import?

Steve Machol
Sat 15th Oct '05, 10:38pm
I don't know if the import script you ran was supposed too import the attachments or not. I'm moving this to the Import forum so Jerry sees this.

Jerry
Mon 17th Oct '05, 3:28pm
As long as the import id's are there and you have the attachments as files, yes this can be done.

bbqchef33
Mon 17th Oct '05, 6:39pm
What are the Import ids?

Jerry
Mon 17th Oct '05, 10:10pm
they are attached to the table by ImpEx, importthreadid is the old topic id for instance, as long as you haven't dropped or removed them you should be able to re-do the attachment import.

bbqchef33
Tue 18th Oct '05, 1:55am
yes, importhreadid and importpostid is in the post table left untouched since the migration.

The old phpbb2 forum is offline and available as are the attachments.

So, what do i do to get them over?



thanks
phil

Jerry
Tue 18th Oct '05, 4:30pm
yes, importhreadid and importpostid is in the post table left untouched since the migration.

The old phpbb2 forum is offline and available as are the attachments.

So, what do i do to get them over?


If you have the origional import session, you can just copy the attachments over, then run the import attachments module and give ImpEx the path.

If you don't have the old import session, you'll have to edit the file :

impex/systems/phpBB2/013.php

line 25 :



var $_dependent = '009';


to :




var $_dependent = '001';


Then you can just run module 001 (to make sure its all ok) and then module 013 to import the attachments.

bbqchef33
Tue 18th Oct '05, 6:08pm
ok, great. One last questoin before i go off and do it. :confused:


I can do this to my production forum??, even though we have been using it for 3-4 weeks since the import, or should i do it in development and then figure out a way to merge.

Jerry
Tue 18th Oct '05, 6:59pm
I can do this to my production forum??, even though we have been using it for 3-4 weeks since the import, or should i do it in development and then figure out a way to merge.

Take a copy of your live site, and do a test import on it to ensure you are happy with what you are doing and that it works first.