Web Hosting Forum | Lunarpages
News: April 3, 2008 - New Contest! - Win 5 Years of Hosting and $1,000!
May 5, 2008 - May 08 Web Site of the Month? - Submit your LINKS!!!
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 16, 2008, 08:05:45 PM


Login with username, password and session length


Pages: [1] 2 3 ... 5   Go Down
  Print  
Author Topic: Quickly Convert phpBB to SMF after Installing SMF  (Read 27803 times)
Danielle
Resident Alien
Administrator
Berserker Poster
*****
Offline Offline

Posts: 8835


nihil sunt omnia


WWW
« on: April 21, 2005, 07:00:40 PM »

Hi,

This will be a tutorial on how to convert your phpBB forum to an SMF one.  I did this tonight on a test site and the longest time I spent was installing phpBB itself and importing someone's database into it then finding the skin to get it to run before converting it to SMF.  If you are tired of manually doing things in a difficult, time consuming process, step over and start enjoying the joys of SMF.  After you getting it installed, you will have an autoinstaller for mods and autoupgrader for new versions in the Package Manager directly in the admin area, and Quick Replies are not a mod but included with it already Very Happy

phpBB portion
If you already have phpBB going, there isn't anything you need to do to get it ready.

SMF portion - Installing SMF (Manual)

1. Install SMF to a different folder than phpBB.  Go to http://www.simplemachines.org/download.php and download the lastest full release (it will say something like smf_1-0-3_install.tar.gz not upgrade or update in the filename).

2. Go into cPanel, click on File Manager and click on the folder icon next to public_html folder, then click the "Create New Folder" link toward the top.   In this example, our new forum will be called smf.

3. Now click on the folder icon next to the folder name, and click on the link "Upload file(s)" toward the top.  Click the browse button, and locate where you downloaded the SMF zipped file, then click the "Upload" button and wait for the screen to refresh (it may take quite a few moments).

4. Click on the uploaded file, then in the upper right click the "Extract File Contents" link.  A new screen will open with the extracted contents, but you will not yet see those contents in the folder listing itself.  Click out of the new window that opened, and in the window where you were before, click the link "Up one level" then click back on the folder icon next to the smf folder and you will now see all the files and folders (this wasn't visible before because cPanel doesn't refresh after an extraction).

5. Open a new window in your brower, and now load the page http://yourdomain.com/smf where yourdomain.com is replaced by your domain name and smf is the folder location where you installed the forum.

6. You are now at a screen that requires components from SMF site to FTP stuff to your forum, this screen has the following components:

Quote
Server: localhost
Port: 21
Username: cpanelusername
Password: cpanelpassword
Install Path: /public_html/smf


The fields should primarily already be filled in correctly.  This is basically FTP details to FTP to your account, so it requires your cPanel username and cPanel password for this.  The Install Path is a relative path beginning with the http level, which is public_html on our setup.

Once everything is correct, click "Connect" button.

7. Next screen is the forum settings area with the following fields:

Quote
Basic Settings
Forum name: Your forum's name here
Forum URL: http://yourdomain.com/smf (should already be filled in correctly)
Gzip Output: checked already, click to test it is working using the "here" link beneath it
Database Sessions: checked already

MySQL Server Settings
MySQL server name: localhost
MySQL username: cpanelusername_dbusername
MySQL password: dbusername's password
MySQL database name: cpanelusername_dbname
MySQL table prefix: smf_


Most of these settings are pre-filled in.  You do need to know the MySQL username, password and database name.  If you are going to use the same database as phpBB has and do not remember the MySQL username, simply go into MySQL database section by logging into another Window of cPanel, click on that area, and creating a new DB user with a password, then add that user to the MySQL database.  You should copy the database name, database user's name and password at that time and then paste into the fields.

Click to Proceed to the next screen.

8. This area you will create your administrator account.

Quote
Create Your Account
Your username: Admin username (might want to use the same one as you had on phpBB)
Password: Admin password
Password: Retype admin password
Email Address: Admin email address

MySQL Database Password
Use the same password you did for the password MySQL database user in step 7


Click "Finish"

9. You will receive a congratulations screen, and then you can click on "your newly installed forum" to see the new forum.
10. There will be a security warning now:

Quote
MAJOR SECURITY RISK:
You have not removed install.php!


Go into File Manager and the smf folder, then click on the file named install.php.  In the upper right, click the "Delete File" link, then click the trashbin icon to clear it out of the trash.  Refresh your forum, the warning should disappear.

SMF portion 2 - Converting phpBB to SMF

1. Go to http://www.simplemachines.org/download.php?converters and find the converter called phpbb2_to_smf.php and click on it to download it.  Go into File Manager and navigate to your smf folder, click to upload the file similar to how you did for SMF itself.

2. Open a new window in your browser, and go to http://yourdomain.com/smf/phpbb2_to_smf.php where yourdomain.com is your domain name and smf is the folder where you installed smf.

3. The screen will ask for the path to phpbb and smf on your account:

Quote
Where are they?
Path to SMF: /home/cpanelusername/public_html/smf
Path to phpBB2: /home/cpanelusername/public_html/phpbb
SMF Database password: MySQL database user's password used above 2 times already


The path will be /home/cpanelusername/public_html/smf where cpanelusername is replaced with your cPanel username and smf is the folder where smf is installed for the Path to SMF field.  It is likely this will already be filled in correctly.  The same for the Path to phpBB2, however, it would instead be the location of your phpBB forum.  The password needs to be the one to your MySQL database user and you should be well aware of what it is as this is the 3rd time you've had to use it Smile

Click to "Continue"

4.  You will get several success messages.  Copy any fails to see if they affect the forum.  You should not receive any fails other than perhaps avatar ones.

Check to decide which smilies you want to use and then click "Convert Smilies" button.

5. You should get a success message for their conversion (and if you don't then you can upload or use your own smilies or the default of SMF), then you can decide to convert attachments if you had the attachments mod installed, which I did not.

If you do not have the attachments mod, then click the "your installation of SMF" link and your SMF should now be running.

------------
The best part of the the conversion script is that you do not lose your phpBB forum at all, so you can test SMF after you convert your forum to see if it is what you want to use.  If you do not, then simply remove it.  The database will have smf_ as the prefix in your database, and you can drop any tables with smf_ if you decide to not use it.

Given that I had to install phpBB itself at the beginning, the time to do each of the above is the follows:

phpBB install - 8 minutes
phpBB importing db from friend - 10 minutes
phpBB finding DarkEQ skin so phpBB would run as db import from friend required this skin - 30 minutes (this darn theme is in their demo but not on the skins area...had to do forum search to find it)
SMF install - 4 minutes
phpBB to SMF conversion - 2 minutes

Example boards I have:
http://anythingeverything.org/ (Simplicity theme, SMF 1.0.3)
http://miraenda.com/ (Hendrix theme, SMF 1.1 Beta 1)

I hope this has been helpful.
Logged

Danielle Wallace
- nihil sunt omnia -
Lunarpages Webhosting ~ Lunarpages Forums ~ Lunarpages Affiliates
Administrator Training Manager - System Administrator Team


Ruby Asylum - For those crazy about Ruby
A&E Writing Forum ~ Best Garden ~ Endar & Endar Gallery ~ RatingBar.com

Every living creature on this earth dies alone.
ronmsf2
Master Jedi
*****
Offline Offline

Posts: 1175



WWW
« Reply #1 on: April 21, 2005, 08:54:55 PM »

This is a terrific tutorial... Applause  Thanks Danielle  Thumbs Up

Sorry about the DarkEQ theme... I had to laugh at that being the hardest part of the conversion..  Very Happy
Logged

"Be glad of life because it gives you the chance to love and to work and to play and to look up at the stars" -Henry Van Dyke

"Education is the kindling of a flame, not the filling of a vessel." -Socrates

RML3.com
Danielle
Resident Alien
Administrator
Berserker Poster
*****
Offline Offline

Posts: 8835


nihil sunt omnia


WWW
« Reply #2 on: April 21, 2005, 09:17:05 PM »

yes, I was close to emailing you to ask for the theme but I thought I should be able to find it myself  Ner Ner
Logged

Danielle Wallace
- nihil sunt omnia -
Lunarpages Webhosting ~ Lunarpages Forums ~ Lunarpages Affiliates
Administrator Training Manager - System Administrator Team


Ruby Asylum - For those crazy about Ruby
A&E Writing Forum ~ Best Garden ~ Endar & Endar Gallery ~ RatingBar.com

Every living creature on this earth dies alone.
JamesG
Lager Ship
Berserker Poster
*****
Offline Offline

Posts: 12028


If In Doubt, Cluster!


WWW
« Reply #3 on: April 22, 2005, 01:20:49 AM »

heh, i wondered why i was getting:

Quote
Not Found
The requested URL /forum/search.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


when visiting your forum ronmsf2 Smile
Logged

Danielle
Resident Alien
Administrator
Berserker Poster
*****
Offline Offline

Posts: 8835


nihil sunt omnia


WWW
« Reply #4 on: April 22, 2005, 06:00:37 AM »

Garvey, go to Ron's home page and you'll find the new link there to it of http://rml3.com/phpbb2/index.php

Although this doesn't have to do with my how-to  Grr..!!
Logged

Danielle Wallace
- nihil sunt omnia -
Lunarpages Webhosting ~ Lunarpages Forums ~ Lunarpages Affiliates
Administrator Training Manager - System Administrator Team


Ruby Asylum - For those crazy about Ruby
A&E Writing Forum ~ Best Garden ~ Endar & Endar Gallery ~ RatingBar.com

Every living creature on this earth dies alone.
JamesG
Lager Ship
Berserker Poster
*****
Offline Offline

Posts: 12028


If In Doubt, Cluster!


WWW
« Reply #5 on: April 22, 2005, 06:18:08 AM »

i always bookmark the 'posts since last visit' Smile
Logged

robbie
You're friendly neighborhood
Spaceship Captain
*****
Offline Offline

Posts: 106

I've always been afraid of librarians...


« Reply #6 on: April 29, 2005, 08:13:16 PM »

Wow!  Amazing tutorial Mir!

SMF's site is a little thin on Admin feature info, but I'm thinking about making the switch from phpBB too.  Thanks to this "how to", I may actually jump in at last...

But...is it just me, or is your example board at http://miraenda.com/ displaying incorrectly for anyone else??  Confused

  -- robbie

Addendum: I just like addendums.  Nevermind.  Ner Ner
Logged

Life would be much easier if I had the source code...
fretnmore
Grandma Looney
Über Jedi
*****
Offline Offline

Posts: 2864



WWW
« Reply #7 on: April 29, 2005, 08:17:45 PM »

Hi Danielle,

How about adding a tutorial for how you added the ability to change skins on the http://miraenda.com/ forum. That is really neat.  Thumbs Up
Logged

Life is not measured by the number of breaths we take, but by the moments that take our breath away.
----------------------------------------------------------
Tri-Wolf Studios
Lunarpages Web Hosting
Lunarpages Forums
Lunarpages Affiliate Program
Danielle
Resident Alien
Administrator
Berserker Poster
*****
Offline Offline

Posts: 8835


nihil sunt omnia


WWW
« Reply #8 on: April 30, 2005, 06:11:17 AM »

Hi Pat Smile

Sure, I could add that.  Actually, I even posted it at SMF, so I'll just link to it Wink

http://www.simplemachines.org/community/index.php?topic=34453

I won't even take credit for it, Lupus was kind enough to do it for me and then he gave me the instructions Very Happy

Quote from: robbie
Wow!  Amazing tutorial Mir!

SMF's site is a little thin on Admin feature info, but I'm thinking about making the switch from phpBB too.  Thanks to this "how to", I may actually jump in at last...

But...is it just me, or is your example board at http://miraenda.com/ displaying incorrectly for anyone else??  Confused

  -- robbie

Addendum: I just like addendums.  Nevermind.  Ner Ner


Thanks robbie Very Happy

Could you provide a screenprint on how the smf2 board is displaying incorrectly? That is just their default board... Also, what screen resolution are you using, operating system, and browser along with browser version?

Thanks again, I'm glad you think the how-to is helpful
Logged

Danielle Wallace
- nihil sunt omnia -
Lunarpages Webhosting ~ Lunarpages Forums ~ Lunarpages Affiliates
Administrator Training Manager - System Administrator Team


Ruby Asylum - For those crazy about Ruby
A&E Writing Forum ~ Best Garden ~ Endar & Endar Gallery ~ RatingBar.com

Every living creature on this earth dies alone.
Nibbler
21st century digital boy
Master Jedi
*****
Offline Offline

Posts: 1184



WWW
« Reply #9 on: April 30, 2005, 06:26:08 AM »

http://www.ic-gallery.com/stuff/smf.png

This is on FF 1.0.3, FC4, 1152x768.

Never seen that happen before  Confused

Judging by the css, that's exactly what I'd expect to see though:

Code:
body, td
{
   color: #000000;
   font-size: small;
   font-family: verdana, arial, helvetica, sans-serif;
   background-image: url(http://miraenda.com/Themes/classic/images/smflogo.gif);
   background-color: #FFFFCC
}
Logged

Missing since 1983

JamesG
Lager Ship
Berserker Poster
*****
Offline Offline

Posts: 12028


If In Doubt, Cluster!


WWW
« Reply #10 on: April 30, 2005, 09:34:35 AM »

that hurts my eyes
Logged

robbie
You're friendly neighborhood
Spaceship Captain
*****
Offline Offline

Posts: 106

I've always been afraid of librarians...


« Reply #11 on: April 30, 2005, 10:17:25 AM »

Thanks Nibbler, that saved me a step!   Thumbs Up

Exactly what I'm seeing on IE 6.0, XPSP2 @ 1024x768.

Now. that theme needs a name...!   Alien Abduction

  -- robbie
Logged

Life would be much easier if I had the source code...
Danielle
Resident Alien
Administrator
Berserker Poster
*****
Offline Offline

Posts: 8835


nihil sunt omnia


WWW
« Reply #12 on: April 30, 2005, 10:38:23 AM »

Ah, I see why now.  I changed that per this post on SMF and forgot all about it:

http://www.simplemachines.org/community/index.php?topic=33989.msg252305#msg252305

It is now changed back to default theme (had everyone set to Classic theme for doing that above post except I set mine to default in my profile so I wouldnt have to see it Razz), and I removed on the Classic theme the css changes back to normal that I thought I'd done already.  I'm getting forgetful in my old age  Crying or Very sad
Logged

Danielle Wallace
- nihil sunt omnia -
Lunarpages Webhosting ~ Lunarpages Forums ~ Lunarpages Affiliates
Administrator Training Manager - System Administrator Team


Ruby Asylum - For those crazy about Ruby
A&E Writing Forum ~ Best Garden ~ Endar & Endar Gallery ~ RatingBar.com

Every living creature on this earth dies alone.
Danielle
Resident Alien
Administrator
Berserker Poster
*****
Offline Offline

Posts: 8835


nihil sunt omnia


WWW
« Reply #13 on: April 30, 2005, 12:43:40 PM »

I've also added a mod called the Music Database to my beta forum at http://miraenda.com  

Since the forum has so many themes, I instead put the link to see the database in the "News" area.  Just click on the Music Database link there to see it in action.  I don't yet have much there (only the song by Extreme has lyrics).  I'll be adding a lot more later.  Those who are members can add to it as well.  It is just in testing right now for adding to my Writing forum at www.anythingeverything.org once I get it working the way I want it.
Logged

Danielle Wallace
- nihil sunt omnia -
Lunarpages Webhosting ~ Lunarpages Forums ~ Lunarpages Affiliates
Administrator Training Manager - System Administrator Team


Ruby Asylum - For those crazy about Ruby
A&E Writing Forum ~ Best Garden ~ Endar & Endar Gallery ~ RatingBar.com

Every living creature on this earth dies alone.
beerbob1
Pong! (the videogame) Master
*****
Offline Offline

Posts: 26


WWW
« Reply #14 on: June 02, 2005, 06:28:36 AM »

Very nice indeed, but I have a some concerns.

Isn't putting your cpanel username and password in an input field potentially dangerous for the ftp uploading and updating?
That could be intercepted and used !

The one big feature that seems to be missing from SMF is an EASY way to restore the database.

It has a backup and export feature but one has to jump through some hoops to restore a dbase if I am reading correctly on their site.

This should be as easy as backups without having to go outside the admin panel to do anything.

other than that, I played with SMF a bit ago and liked it...very clean and powerful board and I would have already switched to it but for the restore ease of use.

Thanks.
Logged
Pages: [1] 2 3 ... 5   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.3 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks


Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM