Simple Machines Community Forum

SMF Support => Converting to SMF => phpBB => Topic started by: Weapon X on December 15, 2004, 07:13:58 PM

Title: phpBB to SMF
Post by: Weapon X on December 15, 2004, 07:13:58 PM
Where exactly can I find a converter from phpBB to SMF ?????

Also, currently I have a phpBB forum and would like to change it to SWF without losing any of the posts, is that possible?

Title: Re: phpBB to SMF
Post by: Kirby on December 15, 2004, 07:15:06 PM
http://www.simplemachines.org/download.php?converters
No posts should be lost... the converter is there.
Title: Re: phpBB to SMF
Post by: Weapon X on December 15, 2004, 07:22:50 PM
Thanks....................if it was a snake it wouda bit me.............. :o
Title: Re: phpBB to SMF
Post by: Jerry on December 16, 2004, 01:32:55 AM
If you need any further assistance don't be afraid to ask :P, I converted from phpBB myself ;)
Title: Re: phpBB to SMF
Post by: Weapon X on December 16, 2004, 01:40:33 AM
Ummmm......just exactly how do you do it ?????  :-[
Title: Re: phpBB to SMF
Post by: Jerry on December 16, 2004, 01:51:47 AM
Well. . . you need to install SMF into a temporary directory while your phpbb forums are still installed, install SMF into the same database with the same mysql user/pass, then upload that script to your temporary install of SMF, then run it all self explanitory when you get the script going. I recommend not converting the smilies over unless you really like phpbb's smileys :P. . . After the conversion is complete, you can delete your phpBB and rename your smf to the phpbbs folder (optional). If you decide to rename the smf folder just download repair_settings.php from the same page you downloaded the converter, upload it, and take the recommended values (usually. . . ) and then delete the script after you are done.
Title: Re: phpBB to SMF
Post by: packman on December 16, 2004, 07:16:25 AM
Quote from: Jerry on December 16, 2004, 01:51:47 AM
After the conversion is complete, you can delete your phpBB and rename your smf to the phpbbs folder (optional).

Bear in mind that if people have bookmarked anything other than the front page of your forum, they may get odd results/errors if the bookmark does something different in SMF than it would have done in phpBB2. You might be better leaving SMF in the directory where you installed it and then adding a redirect to the new location from the old phpBB2 directory.

Also make sure you delete the phpbb2_to_smf.php script after you've completed the conversion.
Title: Re: phpBB to SMF
Post by: node on December 16, 2004, 08:00:48 AM
Hi,

At the moment I've started a forum 2 months ago on phpbb2.
Got 65 users and 17.500 posts already.
I've seen SMF, and been playing a little with it and I must say I like it :)
What i want to try now is to use my current phpbb2 db in the SMF software.
Only options to do this is converting on the fly, and deleting the old phpbb2 ?
What I want is to run both applications next to eachother with the same db for testing purposes.
How does one go about in this matter ?
Title: Re: phpBB to SMF
Post by: Grudge on December 16, 2004, 09:19:14 AM
Just install an empty SMF install and run the converter. Then don't delete the phpBB install.
Title: Re: phpBB to SMF
Post by: node on December 16, 2004, 10:13:04 AM
Problem is that the SMF has another username than the PHPBB2 db.
Now I have given them both ALL Privilages on eachothers db's but no-go
Is there anyone that can edit the script a little so you can put in also the correct user instead of just a password ?
After i tried to disable the verification part, this is what i got; click me (http://www.klepforum.com/tmp/sql.txt)
Title: Re: phpBB to SMF
Post by: Grudge on December 16, 2004, 10:20:04 AM
No, it has to be the same username as it is done through one connection. If you are on a cpanel server the username cannot be the problem - it WILL work! If the SMF database can see fully the phpBB database you should be fine. On cPanel this is done by taking, say, user SMF and adding them by the drop down to the phpBB database too. What exactly is the error you are getting?
Title: Re: phpBB to SMF
Post by: node on December 16, 2004, 11:28:44 AM
ok, it works now, had to use the 'encrypted' passwd from the Settings.php
Title: Re: phpBB to SMF
Post by: Weapon X on December 16, 2004, 01:42:07 PM
Hey I am really sorry guys but please excuse my ignorance..... :-[

But I am not sure I understand when you say "to install SMF in the "same database" as your phpBB"

I am using Cpanel with 2 databases, one is my phpBB forum and the second is the SMF test forum I created to check out how it works and I really like it.

Now.........cpanel created a folder called "forum" for my phpBB, it this the "database" I am to install the empty SMF into ????? and just create a new folder in that folder and name it forum2 ??????
Am confused........... :-\

Like I said, please excuse my ignorance but I know next to nothing about MySQL.......... :o
Title: Re: phpBB to SMF
Post by: Trekkie101 on December 16, 2004, 01:47:02 PM
It can be in a different database, all you need to do is in cPanel add the phpBB user to the SMF database and the SMF user to the phpBB database, this can be done by clicking the MySQL link and just using the inertface like Add "USER" to "DATABASE" its in the drop down menus, next to the databses where you see them in cPanel.
Title: Re: phpBB to SMF
Post by: Weapon X on December 16, 2004, 02:07:46 PM
OK....cool...........that makes a little more sense cause I was clueless about how to upload it into the same database.

So inessence I will be taking the info from one and adding and converting it at the same time to the SMF database right ????
So untill I delete the phpBB forum I will actually have 2 running with the same posts and members and such till I close and redirect the old forum link to the new SMF one ????

Will this effect the current phpBB forum in any way other than it being offline during the conversion????
.....and once the conversion is done will the old phpBB forum still be active and unchanged as before ?????

Thanks so much in advance.............. :)
Title: Re: phpBB to SMF
Post by: Trekkie101 on December 16, 2004, 02:28:19 PM
Yes the phpBB forum wont be affected, but a backup should always be made before trying it.

All you need to do is make sure that the SMF database user can have permission to access the phpBB database and the phpBB database user can access the SMF database one.

Dont worry about how the converter works it just does somehow.

But backup, and when SMF is fully working after the conversion then you can delete the old phpBB forum if you want. Or keep a re-direct active.
Title: Re: phpBB to SMF
Post by: [Unknown] on December 16, 2004, 02:51:38 PM
Quote from: Grudge on December 16, 2004, 10:20:04 AM
No, it has to be the same username as it is done through one connection. If you are on a cpanel server the username cannot be the problem - it WILL work!

It doesn't actually have to be the same username, I could illustrate this with examples.  But, the SMF user must have access to read from the phpBB (or other forum)'s database.  For example, if SMF was running with the "root" user, but phpBB was running with "phpbb", it would still convert just fine.

I think we really need to get a step by step tutorial written on how to set up a new user in cPanel such that it can access the phpBB database.

-[Unknown]
Title: Re: phpBB to SMF
Post by: Trekkie101 on December 16, 2004, 02:55:20 PM
Starting writing now.  ;)
Title: Re: phpBB to SMF
Post by: packman on December 16, 2004, 03:13:55 PM
Quote from: Weapon X on December 16, 2004, 02:07:46 PM
So untill I delete the phpBB forum I will actually have 2 running with the same posts and members and such till I close and redirect the old forum link to the new SMF one ????

No. The conversion takes a snapshot of the phpBB database into the SMF database. From that point if you post a message in SMF it's only in SMF. If a new user registers for phpBB, they are only registered in phpBB. You can take a snapshot to test it out, but you will need to re-run the converter again on the day you decide to turn off phpBB to bring a (full) copy of the phpBB database into the SMF database at that point.
Title: Re: phpBB to SMF
Post by: Weapon X on December 16, 2004, 04:45:02 PM
 :D
OK now I am confused again pack..........I just did the conversion and everything worked fine and seems to be running fine.
Currently my old foum is offline and it is being redirected to the new link.............lets say I want to use that database for something else and I delete it all together.........are you saying I will run into problems ???????

I just knew it was far too easy........................ :o......................LOL!!!!!
Title: Re: phpBB to SMF
Post by: Grudge on December 16, 2004, 05:10:06 PM
no, everything is fine. IF SMF is now running from the SMF database and you are 100% everything is fine, and you don't want phpBB anymore you can delete the phpBB database. That said I'd still suggest you backup (export) the contents of said database to your PC first before you delete it - just incase ;)
Title: Re: phpBB to SMF
Post by: Weapon X on December 16, 2004, 08:25:10 PM
I think I will keep it just a while longer .....just incase.

....and now I just wanna thank everybody who helped me out in this transition......I couldn't have done it without all your input...........you guys are great!!!!!

Merry Christmas........ :)

-Weapon X