Hi I'm new and need information
I have just installed and got ElkArte running and now wish to import data from my old phpbb forum on the same host. I found OpenImporter and am now stuck as there are no instructions. I assume it needs installing on my host? could some kind soul please point me in the right direction?
Thanks.
Re: Hi I'm new and need information
Reply #3 –
You can always check your forum database login and password in the Settings.php file.
Re: Hi I'm new and need information
Reply #4 –
Yes but where is the settings.php file please??
Re: Hi I'm new and need information
Reply #6 –
Just rereading Radu81's reply I realised he means I have to have Elkarte installed to the same phpbb database but using its own prefix. Ah. It's already installed with its own database and is in use.
So if I installed a tempoary Elkarte and ran openimport, could I then import that into my production Elk?
There must be a way of getting the phpbb data into elk without writing a fullblown SQL query which is beyond me anyway!
Re: Hi I'm new and need information
Reply #8 –
That's great Jason but it means I would then have two Elkarte databases - my production one and the imported one. Now how would I merge the two please?!
Re: Hi I'm new and need information
Reply #10 –
Okay, here we are.
Long lasting problem: merging two forums.
Merge two Elk installs is not entirely so easy.
OpenImporter doesn't really help on this, because the script is developed considering the need to import from an existing forum platform to a new install of another platform. So one of the first things that OI does is to wipe out any data from the destination database.
Assuming you would be good enough to have a merge of the posts (i.e. no personal messages) the cleanest way to "merge" two forums would be to take each message from the "source" database and create an entirely new post in Elk (to ensure consistency of the database), then update the necessary fields (like time of creation).
Assuming this can be done somehow easily, this approach would have quite a drawback: in ElkArte both messages and topics are sorted by the "id" of the topic (not by the data of creation), the design choice was taken a looooooooooooong way ago because the key is supposed to always be representative of the position of the topic in the time-based order and this saves the creation of an index ensuring the best performances.
I proposed a while ago to drop this requirement (i.e. add an index to the time columns of topics and messages tables and sort by that) because nowadays, space is cheap and the performance loss is risible (in fact it would be the additional time necessary when a topic/post is created in order to update an additional index). But honestly I didn't invest much time, because the only advantage would be exactly this: be able to merge two forums without many side-effects. And this is not really a frequent case. Annoying for the one facing the situation, indeed, but still a quite limited problem.
I think the merging script could be sorted out somehow, in theory it could even be possible to merge two existing forums into a third preserving the sorting, it's a bit more complex, but it's not impossible.
Re: Hi I'm new and need information
Reply #12 –
@Jason thanks for the suggestion. It seems OI has to be in the same directory as the forum then. I'll look at that, thanks.
@emanuel you have clearly given my transfer issue a lot of thought. Thank you. My skills are limited as regards databases. I wonder if I wouldn't be better off using a free relational database manager on my PC to simply extract the actual post contents and make them available to my users as a read-only archive as it is the content itself they want. Pity Microsoft Access isn't still around, I could use that!
Re: Hi I'm new and need information
Reply #13 –
hmm... let me think a bit, something is going in circle in my mind and I have a foggy idea, but I have to clear it up a bit.