Bored? Looking to kill some time? Want to chat with other SMF users? Join us in IRC chat or Discord
Started by margarett, October 06, 2013, 05:09:45 PM
QuoteThis is the eight step of the conversion. We will now convert PollsFirst, let's trash the actual contents of SMF "polls", "poll_choices" and "log_polls" tables....Polls cleared from SMF tables. Next step, count what's there to move?? 0 polls, 0 poll responses and 0 poll votes were found in XF.Now retrieving polls 1 to 0...Erreur de base de donnéesMerci de r�essayer. Si l'erreur se reproduit, signalez cette erreur � un administrateur.Retour.
QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair
//Now, we need to get the hashed file name from XF and convert it to a lovely filename. One we can actually use, ya know? :) $oriname = $xf_dir . '/internal_data/attachments/0/' . $temp2['data_id'] . '-' . $temp2['file_hash'] . '.data'; //Destination (temporary) name $destname = $smf_dir . '/attachments/' . $temp2['filename']; $test = copy($oriname, $destname);
Quote from: margarett on October 06, 2013, 05:09:45 PMHow to use this converter:(...)3 - Download the attached "xf2smf.php" file to you computer and edit it with a decent editor (eg: Notepad++). The small edits that are needed are all localized in this part here:3.1 - You need to define the folder where XF is installed. By folder, I mean the server path where XF's installation is located. SMF's path is automatically discovered (because you will put the file there ). If you don't know it, please upload the attached "whats_the_path.php" file to XF's folder and run it via browser. It will tell you the path you should add.
Quote3.2 - You need to adjust my "$max_queries" variable. This defines how many registers the converter tries to move at once. A low number takes a LOT of time, a large number will hammer your server and may cause it to become unresponsive.
Quote3.3 - As my image above states, I didn't find a way to change XF's table prefix, so it shouldn't be necessary to change anything else. But, in case your prefix isn't "xf_" please edit the corresponding line.
Quote from: novice68 on May 07, 2018, 10:13:12 AMI asked for a copy of the current database to test it and he sent me a file called xenforo.sql. Is this the correct file to use? If so, do I need to rename it xf.sql? Or should I request a different file type?
Quote from: novice68 on May 07, 2018, 11:40:29 AMI do have a web server. I suspected I needed a php file as well but didn't see it specifically listed in the instructions.