IPV 1.2

Started by Mareid, September 21, 2010, 09:04:09 AM

Previous topic - Next topic

Mareid

Would it be possible to set the converter so that if there's an existing forum with a different name in the SMF forum, it wont be deleted?  That way I could allow my users to post, and move the posts to the new forum before running the converter. 

Norv

About the last error...
Please replace (invision_to_smf.sql)

convert_insert('settings', array('variable', 'value'),
array(
array('hotTopicPosts', $INFO['hot_topic'])
array('defaultMaxMessages', $INFO['display_max_posts'])
array('defaultMaxTopics', $INFO['display_max_topics'])
array('spamWaitTime', $INFO['flood_control'])
array('onlineEnable', $INFO['allow_online_list'])
), 'replace');


convert_insert('settings', array('variable', 'value'),
array(
array('hotTopicPosts', $INFO['hot_topic']),
array('defaultMaxMessages', $INFO['display_max_posts']),
array('defaultMaxTopics', $INFO['display_max_topics']),
array('spamWaitTime', $INFO['flood_control']),
array('onlineEnable', $INFO['allow_online_list']),
), 'replace');


It would be possible to avoid deleting posts by skipping the entire steps which convert posts. Only run the last steps of the conversion. Though it wasn't meant to be run that way, and some statistics and other final cleanup might lead to surprises.
To-do lists are for deferral. The more things you write down the later they're done... until you have 100s of lists of things you don't do.

File a security report | Developers' Blog | Bug Tracker


Also known as Norv on D* | Norv N. on G+ | Norv on Github

Mareid

I took your suggestion and reverted my users to the old ipb till I can get a clean conversion. I will be in the UK for 10 days with (most likely) no computer access so I can't test the new code you sent  me till I get back. I'll be back in touch then.

Norv

Okay.
I'm setting this topic as unsolved, and will post the fixed converter file meanwhile. Thank you for your patience, and have fun over there! :)
To-do lists are for deferral. The more things you write down the later they're done... until you have 100s of lists of things you don't do.

File a security report | Developers' Blog | Bug Tracker


Also known as Norv on D* | Norv N. on G+ | Norv on Github

Mareid

More progress:

removed the poll code and changed the settings code to the code above.  Still getting errors though...here's the log

Converting members... Successful.
Converting categories... Successful.
Converting boards... Successful.
Converting topics... Successful.
Converting posts (this may take some time)... Successful.
Converting personal messages (step 1)... Successful.
Converting personal messages (step 2)... Successful.
Converting topic notifications... Successful.
Converting board notifications... Successful.
Converting moderators... Successful.
Converting permissions...
Notice: Use of undefined constant id_group - assumed 'id_group' in /home/rfamily/public_html/forum/convert.php(1099) : eval()'d code on line 46
Successful.
Converting board permissions... Successful.
Converting smileys... Successful.
Converting settings...
Fatal error: Call to undefined function updateSettingsFile() in /home/rfamily/public_html/forum/convert.php(1099) : eval()'d code on line 9

Mareid

Any progress on the converter?

Mareid

I got a full conversion (and very nice it is too!) from converting ipb--->smf 1.1.x----->smf 2.0 rc3.  Many thanks for all the help.  And I would advise anyone who wants to go from IPB to SMF 2 RC to do it that way.  Took a Loooooong time, but worked perfectly!

Advertisement: