Simple Machines Community Forum

SMF Support => Converting to SMF => IPB => Topic started by: Cynthia Blue on November 21, 2004, 03:47:33 PM

Title: IBF to SMF - after IBF failure
Post by: Cynthia Blue on November 21, 2004, 03:47:33 PM
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.
Title: Re: IBF to SMF - after IBF failure
Post by: [Unknown] on November 21, 2004, 06:04:55 PM
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:

<?php

$INFO 
= array();

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

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

?>


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

-[Unknown]
Title: Re: IBF to SMF - after IBF failure
Post by: Cynthia Blue on November 21, 2004, 07:41:39 PM
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.
Title: Re: IBF to SMF - after IBF failure
Post by: Cynthia Blue on November 21, 2004, 07:45:45 PM
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