Added support for SMF 2.*

Succesfully exported a SMF2 (2.0.6) forum with the following stats (3 year old real forum) :

Export Started: 2013-11-13 15:48:17
Exported Table: User (18919 rows, 00:02.69)
Exported Table: Role (11 rows, 00:00.00)
Exported Table: UserRole (18919 rows, 00:00.79)
Exported Table: Category (35 rows, 00:00.00)
Exported Table: Discussion (14083 rows, 00:02.39)
Exported Table: Comment (52953 rows, 00:04.87)
Exported Table: Media (4688 rows, 00:00.20)
Exported Table: Conversation (17416 rows, 00:00.65)
Exported Table: ConversationMessage (17416 rows, 00:01.48)
Exported Table: UserConversation (34813 rows, 00:00.59)
export_osclass_forums_2013-11-13_154817.txt.gz
Export Completed: 2013-11-13 15:48:30
Elapsed Time: 00:13.66

One thing to notice, is that user roles are exported, but has no permissions set on Vanilla, so after importation you need to manually set the permissions back again, not sure if this happens with all importations


I forgot about the conversations in the first commit, so the second one fix it. The process is way simpler than the one in the SMF 1.* exporter, so maybe I'm missing something, but they seems to work fine.


I did not test it with other versions of SMF, just 2.0.6.