Simple Machines Community Forum

SMF Support => Converting to SMF => phpBB => Topic started by: dewdrinker19 on November 18, 2008, 01:23:29 PM

Title: phpbb3 to SMF2.0 b4
Post by: dewdrinker19 on November 18, 2008, 01:23:29 PM
Hey guys,

Is there a converter somewhere for converting the database from phpbb3 to SMF2.0 b4?  I can't seem to be able to find one.

I have been able to convert phpbb3 to SMF1.1.7 in the past when I was testing things out.  Is there a converter that will make 1.1.7 to 2.0b4?  If there is then I can just convert the thing twice.

Any help is greatly appreciated!  Thanks.

http://www.originald.com/forums    (If you want to see the site I'm working on)
Title: Re: phpbb3 to SMF2.0 b4
Post by: Elmacik on November 18, 2008, 01:34:58 PM
The only way to convert from phpBB3 to SMF 2.0 b4 is first converting to SMF 1.1.7 and than upgrading to SMF 2.0 Beta 4. There are no converters yet for Beta 4 since it is still a beta testing version.
Title: Re: phpbb3 to SMF2.0 b4
Post by: dewdrinker19 on November 18, 2008, 01:41:31 PM
Thank you for the quick reply.  I guess that will be the easiest way to go right now.

Do I need a special convert to go from 1.1.7 to the beta4 or will just installing the upgrade package suffice?

Thanks again!
Title: Re: phpbb3 to SMF2.0 b4
Post by: babjusi on November 18, 2008, 01:44:04 PM
Quote from: dewdrinker19 on November 18, 2008, 01:41:31 PM
Thank you for the quick reply.  I guess that will be the easiest way to go right now.

Do I need a special convert to go from 1.1.7 to the beta4 or will just installing the upgrade package suffice?

Thanks again!

All you need to do is upgrade your forum.

http://docs.simplemachines.org/index.php?board=3.0;sort=subject
Title: Re: phpbb3 to SMF2.0 b4
Post by: dewdrinker19 on November 18, 2008, 01:52:11 PM
Thanks, sounds like that is definitely the best thing to do.  I'll let you guys know what happens.

Thanks again for the quick responses!  :)
Title: Re: phpbb3 to SMF2.0 b4
Post by: babjusi on November 18, 2008, 01:53:28 PM
Quote from: dewdrinker19 on November 18, 2008, 01:52:11 PM
Thanks, sounds like that is definitely the best thing to do.  I'll let you guys know what happens.

Thanks again for the quick responses!  :)

You are most welcome and welcome to the Smf btw :)
Title: Re: phpbb3 to SMF2.0 b4
Post by: SleePy on November 18, 2008, 02:23:46 PM
At this time, we will take requests for 2.0 conversions. Mostly just for us to get the 2.0 converter tested. It had to have a lot of rewriting done so it can theoretically support multiple databases (not that you can easily convert a non mysql forum).

If you would like to try it, I can give you the 2.0 converter file and the phpbb3 converter that should work.
Title: Re: phpbb3 to SMF2.0 b4
Post by: dewdrinker19 on November 18, 2008, 04:49:45 PM
I actually already did it the phpbb3-->1.1.7-->2.0b4 and it worked like a charm.

Now if only I understood the templating system.

http://test.originald.com/forums      <---Joomla Wrapped.

http://test.originald.com/smf     <--- Forum after all conversions.
Title: Re: phpbb3 to SMF2.0 b4
Post by: dewdrinker19 on November 18, 2008, 09:14:21 PM
On second thought it there a way I can try out the new one?  I want to be able to allow people to keep posting on phpbb3 while I attempt to bridge SMF with Joomla.

If the new converter works then it would mean I could just close the phpbb3 forums and have the SMF2.0 one open with the same content within a half hour!

Thanks.
Title: Re: phpbb3 to SMF2.0 b4
Post by: SleePy on November 19, 2008, 01:59:10 PM
Sure,

The following two files will work for SMF 2.0 Beta 4+ Only. They will not work with any previous versions including any older betas of SMF 2.0.
Title: Re: phpbb3 to SMF2.0 b4
Post by: SharQueDo on June 05, 2009, 01:13:48 PM
Sorry for bumping this topic, but:

QuoteThe converter detected that you are using PostgreSQL. The SMF Converter does not currently support this database type.

*cry* :'(

Any plans for pgSQL-support for the converter, or any ideas for workarounds?

edit: Or any ideas what needs fixing in covert.php to make it compatible?
Title: Re: phpbb3 to SMF2.0 b4
Post by: SleePy on June 09, 2009, 06:25:13 PM
At the moment it isn't easy to make the conversion for non mysql forums. Although all the support is there.

The issue with Postgresql is that you can't use more than 1 database at a time. You have to select the other database. If you have both forums using the same database, then this would be possible.
SQLite of course being flat file, is not possible to convert as some of our queries do cross joins where we include SMF tables while converting the forum.

You can remove that check if your postgresql is using the same database and just different prefixes for the forums. It is hard coded in convert.php

    // Currently SQLite and PostgreSQL do not have support for cross database work.
    if ($command_line && in_array($smcFunc['db_title'], array('SQLite', 'PostgreSQL')))
        return print_error('The converter detected that you are using ' . $smcFunc['db_title'] . '. The SMF Converter does not currently support this database type.', true);
    elseif (in_array($smcFunc['db_title'], array('SQLite', 'PostgreSQL')))
    {
        template_convert_above();
        return doStep0('The converter detected that you are using ' . $smcFunc['db_title'] . '. The SMF Converter does not currently support this database type.');
    }