SMF Support > Converting to SMF

[SMF Converter] Vanilla 2

(1/7) > >>

Nibogo:
Software: Vanilla.
Version: 2.0

Here's the converter from Vanilla 2.0 to SMF 2.0 RC3, this was tested under an small database so if you have any issues please report it here, data that will be converted:


* Members
* Categories
* Topics
* Boards
* Posts
* Avatars
* Conversations (Personal Messages)

dkhobbs:
Hi there, I am getting this error with the converter:

Converting members...Wrong value type sent to the database. Integer expected. (date_registered)

Any ideas?

Thanks!

Danielle

ThorstenE:
in vanilla2_to_smf.sql find:

--- Code: ---$row['date_registered'] = strtotime($row['date_registered']);
--- End code ---
add after:

--- Code: ---//no regdate? let's create one..
if(empty($row['date_registered']))
    $row['date_registered'] = mktime();
--- End code ---

dkhobbs:
Thanks for the help, that got me a little further - I needed to take similar steps for last_login and poster_email, but now I am stuck at:

Converting members... Successful.
Converting boards... Successful.
Converting topics...Duplicate entry '1293877524-4' for key 'last_message'

This is trying to import from the DateUpdated (datetime) field in the discussion table in Vanilla's db. 

ThorstenE:
in vanilla2_to_smf.sql find

--- Code: ------* {$to_prefix}topics
---{
--- End code ---
add after:

--- Code: ---$ignore = true;
--- End code ---

Navigation

[0] Message Index

[#] Next page

Go to full version