Quote:
Originally Posted by mccollin
I'm looking for a links and downloads module, and this looks pretty good. One question I have on this. How hard would it be to import files from a download forum that we've been using for a while. The downloads are attachments in that forum, and the thread titles are the name of the downloads... body is the comments. Has anyone done this?
|
I think it would be pretty straightfoward to write a short script to achieve this, if you are comfortable with php and sql. I suggest working through the csv import feature of this hack.
You would need to do the following:
a) shift your attachments out of the database into the filesystem
b) the script would then loop through a join of the attachment and post tables to create properly formatted csv records which this hack could read
You also need to work out the directory where VB is storing the attachments, which is formed by cutting up the userid into separate digits