WP Forum
Ever wanted to port your WP-Forum database to SimplePress? Well life just got a lot easier for you. The instructions I’m going to be giving you will teach you how to convert your current WP-Forum database to work with SimplePress forums with no data loss. This tutorial will work with WP-Forum versions 2.2 and 2.3. Lets get started!
First things first, you will need to grab yourself a copy of wpforum-to-sf-converter, SPF v3.0 and SPF v4.04. Please click on the the appropriate link below to grab the files that are required to port your WP-Forum database to SimplePress Forums.
1. wpforum-to-sf-converter rar-archive or zip-archive.
2. SPF Version 3.0 and SPF Version 4.04
Note: You will not need the 4.04 patch files because you are going to be upgrading to version 4.04 from version 3.0
Note: For those that just want to convert their forum over but do not want to read the DYI version here are the updated files. After you download them please read the instructions contained in the read-me file. Wp-forum-conversion-files zip-archive and rar-archive. Have fun!
Step 1: Editing sf-control.php (located in the root simple_forum directory)
Open the file called sf-control.php in your favorite text editor (ie… NotePad, WordPad, txtPro). If you are using a text editor that does not number lines you will have to perform a search for the following lines so you can edit them.
Search: $checkfile or if you have numbered lines please go to line: 467. We are now going to change the URL to match the current location of this file. So where you see:
”$checkfile = “http://www.stuff.yellowswordfish.com/downloads/forum/version.chk”;” replace the URL link with ”http://simplepressforum.com//downloads/ForumVersion.chk” after you do this save the file. Depending on the text editor you are using you will need to just hit save and not save as.
Step 2: Editing sf-admintoolbox.php (located in the “Admin” sub directory of your simple_forum directory)
Open the file called sf-admintoolbox.php in your text editor. Remember that if you do not have a text editor capable of showing line numbers you will need to perform a search for the code that needs to be changed.
Search: $checkfile or if you have numbered lines please go to line: 089. We are now going to change the URL to match the current location of this file. So where you see:
”$checkfile = “http://www.stuff.yellowswordfish.com/downloads/forum/version.chk”;” replace the URL link with ”http://simplepressforum.com//downloads/ForumVersion.chk” after you do this save the file. Depending on the text editor you are using you will need to just hit save and not save as.
step 3: Upload SPF Version 3.0 to your web server via your favorite FTP software.
Simply upload the “simple_forum” folder to the WP-content/plugins directory.
Step 4: Editing wpforum-to-sf-converter.php
Open the file called wpforum-to-sf-converter.php in your text editor. Remember that if you do not have a text editor capable of showing line numbers you will need to perform a search for the code that needs to be changed.
Search: $fid[$topic->thread_id] or if you have numbered lines please go to line: 104. We are going to change thread_id to parent_id.
Next
Search: $tid[$post->thread_id]. or if you have numbered lines please go to lines: 122 and 123. We are going to change thread_id to parent_id on lines 122 and 123.
Step 5: Upload wpforum-to-sf-converter.php to your web server via your favorite FTP software.
Simply upload the “wpforum-to-sf-converter.php” to the WP-content/plugins directory.
Step 6: Activating the required plugins, installing SimpleForum and converting WP-Forum
Go to your WordPress control center, click on plugins and then activate the SimplePress plug in and then click on Install. After SimplePress has finished its install process please activate the wpforum-to-sf-converter plugin. Next click on Convert.
Step 7: Upgrading SimplePress
Step 8: Overwriting SPF-V3.0 root folder with SPF-V4.04 folder
Upload the new SPF-V4.04 folder to your wp-content/plugins directory. You will be asked if you want to overwrite the current simple-forum folder. Click YES to all. Once this process is completed you need to go to your WP-Admin control panel.
Step 9: Upgrading from Version 3.0 to Version 4.04
Click on your plugin menu, find the simple press plug in and activate it. You should be prompted to upgrade to v4.04. Click on upgrade and let the plugin work its magic. When all is said and done may visit your forum and verify that everything was transferred over to your new SimplePress powered forum.
