SMF Support > IPB

IBF to SMF - after IBF failure

(1/1)

Cynthia Blue:
My server died on me a month or so ago, but I was able to backup my IBF database before hand.  Sooo... I have a backup, but I don't have IBF currently installed.  What do I need to do to convert my backed up IBF into my newly installed SMF?

Do I need to restore my IBF database into the newly created SMF database, then run the converter? I do think it was IBF 1.1.2... hehe not sure I remember. But it defintely wasn't 1.3 yet.  :)

Thanks!  I'm liking SMF already.

[Unknown]:
The only thing you really need is the configuration file.

So, you can just put a 'conf_global.php' in the same place as you installed SMF, and inside it add the following:


--- Code: ---<?php

$INFO = array();

$INFO[&#39;sql_database&#39;] = &#39;the database invision tables are in&#39;;
$INFO[&#39;sql_tbl_prefix&#39;] = &#39;the table prefix, usually ibf_&#39;;
$INFO[&#39;board_name&#39;] = &#39;Name of your forum&#39;;
$INFO[&#39;upload_dir&#39;] = &#39;/path/to/uploads/if/you/saved/them&#39;;

$INFO[&#39;admin_group&#39;] = &#39;4&#39;;
$INFO[&#39;display_max_posts&#39;] = &#39;15&#39;;
$INFO[&#39;display_max_topics&#39;] = &#39;15&#39;;
$INFO[&#39;hot_topic&#39;] = &#39;15&#39;;
$INFO[&#39;allow_online_list&#39;] = &#39;1&#39;;
$INFO[&#39;avatar_url&#39;] = &#39;1&#39;;
$INFO[&#39;flood_control&#39;] = &#39;30&#39;;
$INFO[&#39;offline_msg&#39;] = &#39;&#39;;

?>
--- End code ---

Then convert with that... it should work fine ;).

-[Unknown]

Cynthia Blue:
Thank you. :)

I put that in the file, and ran the script, and received the following SQL errors..

Notice: Undefined index: sql_database in /srv/www/htdocs/ud/invision_to_smf.php on line 114

Notice: Undefined index: sql_tbl_prefix in /srv/www/htdocs/ud/invision_to_smf.php on line 114

Not sure what needs to be fixed. I did put in the name of the database, the prefix, and the Name of the forum.  The upload dir was not saved.

Cynthia Blue:
He he nevermind, had my variables switched.

Seems to have worked!  Thank you... much too easy. :) 

http://www.utahdogs.com

Now to get the colors going, and that darn portal on.  :D

Navigation

[0] Message Index

Go to full version