View Full Version : Import question
January 14th, 2013, 12:05 PM
I couldn't start a thread in the import section so I ask it here
Is it possible to merge to photopost installs ?
Lets say Im aquiring a smaller vbulletin site and want to retain the images they have in their Photopost install
I want to import their 2000 images into my gallery
I know that the user ids wont match up and that might be a nightmare but Id at least like to be able to import the images and comments if any into a subsection of my gallery
Im not sure if importing the member galleries is possible since even if the member names match up the ids wont ...
Any hints would be helpful
January 14th, 2013, 12:15 PM
There is no such script written by is to move two photopost installs into one site.
Without you writing some type of script to specifically do what you want to do it is impossible.
You would have to write some script that is going to dymamically update and correct userid's and import users that do not exist as well as import categories photos and comments and dynamically update all the id's for all to new ones because on the site you want to import too the photo id's comment id's userid's and categories id's would already more than likely be used.
Very complex script indeed you would have write.
January 14th, 2013, 12:22 PM
thanks for quick reply Chuck
If I back off to simply trying to retain the images and the categories they are in
what import options if any do I have ?
January 14th, 2013, 12:45 PM
Your still going to have to figure out how to do it. If you do not write a script then you are limited to what you can do by hand right.
So you would have to manipulate the data in some fashion to allow you to do what I outlined above.
You can import a photo into another photos table say with an id of 25 if a photo with 25 already exists. Same for categories.
So whatever manipulation you do would be extensive.
Like for instance. Say you want to shadow create 10 new categories to mimic the old site. Your best bet is to create those categories in your main sites edit categories because all directories would be created in the data folder and permissions set right. You would then if your manually using phpmyadmin to import photo entries you would update any cat ids to the new ids on your main site as well as change any userids to one that exists on the main site maybe yours. You would also need to redo the id fields on these entries to take into account using id fields that do not exist in your main sites photos table. Then you would move any images to the main site.
It is really best that you write some script to do what you want.
January 14th, 2013, 09:35 PM
Im no script writer
anything longer than a line or 3 is over my head
Im thinking that the images for an event are all in a single folder
I can just dload the contents of the large images subfolder
Then create the same category manually and mass upload the images into that category in the new gallery -
wont work for the member images but oh well
January 14th, 2013, 10:02 PM
Yes you can do a bulk upload process sure. That is not an import but a bulk upload. It would work well sure.
remember if you can not import users then members gallery does not make sense. These images you import are going to be owned by you.
January 14th, 2013, 10:04 PM
I know that you used to be able to specify a user during bulk upload - Ill just do that and assign them to a "group" user....
January 15th, 2013, 05:44 AM
Yes as admin you can specify a user.
The big point I am making here without some import script you can not just throw data from another database into another one and have it work right. ;)
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.