News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

phpbb3 to SMF2.0 b4

Started by dewdrinker19, November 18, 2008, 01:23:29 PM

Previous topic - Next topic

dewdrinker19

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)

Elmacik

#1
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.
Home of Elmacik

dewdrinker19

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!

babjusi

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

dewdrinker19

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!  :)

babjusi

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 :)

SleePy

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.
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

dewdrinker19

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.

dewdrinker19

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.

SleePy

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.
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

SharQueDo

#10
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?

SleePy

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.');
    }
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

Advertisement: