View Single Post
  #1  
Old 08-26-2008, 09:26 AM
Arjan Arjan is offline
Green Plog
 
Join Date: Dec 2007
Posts: 25
Gallery: 0
Comments: 0
Default Import script suggestion

Hi,

I got a suggestion/request of an import script.
I am not asking for a complete script for galley x or y, but 'only' a basic function.

I am able to write some scripts to move the data from the old gallery to the new one. What I do have troubles with is moving the files to the right location. And I assume this goes for more people owning vBulletin.

So, what would I need?
Well, a function or script which I can call and to which I give the path where the full size version of the image is located, together with all data the user would enter during upload. The function should store the file and thumbnails and add the record of the image, much like is done during upload.
This would help to get the images themselves imported correctly.
Anyone interested can then write a script retreiving data needed from another gallery and import the images by calling this function.
Other data is just moving from one table to another, so the basic import script wouldn't need this.

I hope you are willing to setup such a basic function.
Reply With Quote