Skip to main content
Topic: Convert SMF to ElkArte (Read 41263 times) previous topic - next topic - Topic derived from How to install ElkArte Alpha?
0 Members and 3 Guests are viewing this topic.

Re: Convert SMF to ElkArte

Reply #60


Quote from: Nao – The .ext extension is from Wedge, innit?  8)
yep, that's a "relique" from the Wedge importer file I adapted to Elk..
Thorsten "TE" Eurich
------------------------

Re: Convert SMF to ElkArte

Reply #61

TE, a question about your importer: while giving some support for conversions from IPB to SMF I noticed that frequently (more or less) some installations of IPB have some columns and other installs don't have them (usually is related to aim, icq, and alike), is there already a way to avoid the "missing column" errors thrown by mysql every time a converter is run and one of those columns doesn't exist?
Bugs creator.
Features destroyer.
Template killer.

Re: Convert SMF to ElkArte

Reply #62

Nope, would for sure be a cool feature but it's currently not implemented. I have an idea how it could be integrated though, but that's a lot of work and the xml files would need to be completely reorganized.
Thorsten "TE" Eurich
------------------------

Re: Convert SMF to ElkArte

Reply #63

I didn't check the code, but guessing it works more or less similarly to the SMF converter, I wonder if a SHOW COLUMNS to get the columns and maybe an array_intersect or something to get only the fields that have a valid column would work?
Bugs creator.
Features destroyer.
Template killer.

Re: Convert SMF to ElkArte

Reply #64

reporting failure when importing SMF 2.0.6 to ElkArte Beta 1 using latest OpenImporter.  screenshots attached.

should I added manually the field requested? what is the field type?

edit1:
so I removed 2 fields from the importer : instant_message and pm_receive_from and then statistic recalculation is failed. It seems I chew more than I can swallow. :D

edit2:
well I can access the imported forum just fine, but I'll wait for any advice.

edit3:
I cannot login using the same password, problem in migration?

Re: Convert SMF to ElkArte

Reply #65

instant_message has been renamed to  unread_messages
and
pm_receive_from to receive_from
Bugs creator.
Features destroyer.
Template killer.

Re: Convert SMF to ElkArte

Reply #66

thanks! but what should I do now in the importer? when I renamed them it still throwing error.
192.MY.ID: Forum ISP Indonesia.

Re: Convert SMF to ElkArte

Reply #67

ehm...okay I'll wait for TE (can't test it right now, sorry)
Bugs creator.
Features destroyer.
Template killer.

Re: Convert SMF to ElkArte

Reply #68

no problem :D I can use the imported forum just fine and briefly checking nothing is missing. The importing process is partially successful by deleting both fields, if the members not using those fields then no data is lost.
192.MY.ID: Forum ISP Indonesia.

 

Re: Convert SMF to ElkArte

Reply #69

I'll check the db changes later, will keep you updated..
Thorsten "TE" Eurich
------------------------


Re: Convert SMF to ElkArte

Reply #71

Sorry, due to some trouble with my internet connection I wasn't able to check..

Good news nonetheless: Eman sent a Pull request with the fixes included, so you just have to re-download the smf_importer.xml and restart the importer.
https://github.com/OpenImporter/openimporter
Thorsten "TE" Eurich
------------------------

Re: Convert SMF to ElkArte

Reply #72

Thanks TE and emanuele, I have redownloaded then upload smf2_importer.xml and restarting the process but it failed me in receive_from field. screenshot attached.

Re: Convert SMF to ElkArte

Reply #73

fixed in the new version.
Thorsten "TE" Eurich
------------------------

Re: Convert SMF to ElkArte

Reply #74

Thanks TE! Now the error only in recalculating statistic phase.