Re: OpenImporter
Reply #77 –
I was more thinking about an "on-the-fly" thing.
... little example: at the moment the xml file contains queries. These queries are make in such a way that data would fit into the destination database.
I would make the split here. The queries, instead of being formatted for the specific destination database format are designed for a "generic" data structure (another way to say an array with certain defined indexes). Then, the "destination", will have a function able to process this intermediate data and "convert" it into the form specific for that database.
Re: OpenImporter
Reply #78 –
What do I have to do to get the importer to work? I remember I had to copy import.php and two other files in the forum root folder. But it seems the importer has changed a lot. Can anyone please give me a hint?
Re: OpenImporter
Reply #79 –
Same as before, just copy all files to your host (import.php and the file structure located in the Importer-Folder). Then run import.php from your webbrowser.
Re: OpenImporter
Reply #81 –
O_o
Where did you download the package?
Re: OpenImporter
Reply #85 –
Yep, that should be a "good" latest version.
As per using it:
download
extract
upload (technically anywhere accessible from the internet I'd suggest to create an "importer" directory in the root)
point the browser to yourdomain.tld/importer/import.php (of course "importer" if you followed my idea, otherwise it depends where you exactly put the code)
* follow instructions.
Re: OpenImporter
Reply #86 –
Thanks, I will try this package later.
Re: OpenImporter
Reply #89 –
The importer doesn't change any configuration.
You have:
a working or not forum to import from (it can just be the configuration file (Settings.php for example) and the attachments if any, plus the database of course)
a working forum to import to.
a way to reach the file import.php
You set the URLs and paths when you install the forum, from that point on, the only thing that counts is that you car reach import.php from the web.
For example, you could set up:
forum.yourdomain.tld with the forum you want to import from (e.g. SMF)
forumnew.yourdomain.tld with the forum you want to import to (e.g. ElkArte)
migrationtool.yourdomain.tld the domain from which you reach import.php
at that point you can even deny access to forum.yourdomain.tld and newforum.yourdomain.tld and you will be able to do the conversion pointing to migrationtool.yourdomain.tld/import.php
I hope what I wrote does make some sense. lol