Discus2SMF Conversion Instructions

1)	Download and unzip the Discus2SMF.zip file
2)	Upload the Discus2SMF file to your Discus Installation Folder. This folder will have the folders "discus" and "discus_admin_nnnnnnnnnn" folders present (nnn indicates the numbers of your installation).
3)	Run the Discus2SMF.php file from your domain I.E. http://yourdiscusdomain.com/Discus2SMF.php if your discus installation is in a subfolder then http://yourdiscusdomain.com/subfolder/Discus2SMF.php.
4)	In a few minutes you will receive a download prompt with the results of your conversion.
5)	Download and unzip the archive.

	a)	In the archive you will find the following data:  
	
			yourdiscusdomain.com\SMF\Output
			
				Contains 7 text files that you can import into your SMF mySQL database. 
				
				smf_attachments.txt
				smf_boards.txt
				smf_categories.txt
				smf_membergroups.txt
				smf_members.txt
				smf_messages.txt
				smf_topics.txt
				
			yourdiscusdomain.com\SMF\Output\attachments
			
				Contains files that you will upload into your SMF attachments folder.
				
			yourdiscusdomain.com\SMF\Output\discus
			
				Contains the redirection message folders that you will use to replace the discus folders in the original discus location.
				This will allow any discus links that were stored by members or search engines (Google, Bing etc...) to be redirected to the SMF forum.
				
			yourdiscusdomain.com\SMF\Output\discus\messages
			yourdiscusdomain.com\SMF\Output\discus\secure
			
				Contains the redirection message files that will redirect any old discus links to the proper SMF message location.
				
			yourdiscusdomain.com\SMF\Output\Discus2SMF_log
			
				Contains the log file from the conversion process.
				
				
6)	Once the files have been imported into SMF you should login with the following credentials, Username: smf_admin with no password. You should get the message
	"Password security has recently been upgraded. Please enter your password again.", this will cause the system to require you enter a new password.
	
7)	Once logged in you need to run the following scripts in the Admin->Features and Options->Maintenance->Forum Maintenance->Routine   (Administration Center » Forum Maintenance » Routine).

	a) Find and repair any errors. (Select "Fix all errors")
	b) Recount all forum totals and statistics.
	c) Empty out unimportant logs.
	d) Empty the file cache.
	
8) Download and install the MOD Admin-Toolbox AND RUN "Recount User Posts". (Administration Center » Admin Toolbox). This is an optional step but this MOD will help in the future.

9) You can now view the forum.

NOTE: Some user passwords have been known not to convert properly and will need to be changed by the admin.

10) We have also includes 3 SQL files that can help you load the data into SMF. These files are 

	a) Clean.sql
	b) Load_Data.sql
	c) Update SMF Database.sql
	
	These files are used with the mySQL Console to load all the data into the databse and is generally used with large data files. It can turn hours into minutes in load times.
	The "Load_Data.sql file will need to be edited to reflect the folder where your data is located.


	