Advertisement:

Author Topic: Yabb to SMF Converter  (Read 7227 times)

Offline valkje

  • Semi-Newbie
  • *
  • Posts: 61
  • Gender: Male
    • Valkparkiet.com
Yabb to SMF Converter
« on: January 29, 2005, 05:47:49 AM »
At this moment i'll have a Yabb board running with 120.000 postings and on a shared hosting. This board has to be converted to SMF . I'll used the yabb_to_smf tool from this site, the shared hosting crashed 2 times on a memory problem so we set in the tool the memory on 64Mb:
// Memory, please!!
@ini_set('memory_limit', '64M');


So the memory problem is no longer the problem, the next problem is: The conversion takes a long time, when i'll start the converter tool it's running for 4 hours and it's in step 11 on posting 50.000. And at some moment the tool lost the connection with the server and need to be restarted but the settings are now missing (Session time out, it's seems to be a restart from Apache).

To solve this problem make a settings file so the tool continue where it's stops? But how?

Peter
Valkparkiet.com
All about cockatiels...
Webcam and some homecontrol
Camera's and many more...

Offline valkje

  • Semi-Newbie
  • *
  • Posts: 61
  • Gender: Male
    • Valkparkiet.com
Re: Yabb to SMF Converter
« Reply #1 on: January 29, 2005, 10:33:23 AM »
Now it's working with a default value:

Looking in the yabb_to_smf.php file for:
// Set up SMF's required stuff. (define, etc.)
define('SMF', 1);
$time_start = time();

initialize_inputs();


And add add the follow lines:
//  Set up SMF's required stuff. (define, etc.)
define('SMF', 1);
$time_start = time();

$_POST['path_to'] = "/link/to/youre/smf/forum";
$_POST['path_from'] = "/link/to/yabb";
$_POST['db_pass'] = "yourepassword";


initialize_inputs();


/link/to/youre/smf/forum -> URL from you're new SMF board
/link/to/yabb -> URL from you're Yabb board
yourepassword -> You're database password

Peter
Valkparkiet.com
All about cockatiels...
Webcam and some homecontrol
Camera's and many more...