Page 1 of 1

anyway to change the Board Started?

Posted: Sat Oct 21, 2006 7:22 am
by tigerland81379
Is there a way to change the Board Stated I just open this forum 3 days ago and it showing Board Started Wed Dec 31, 1969 7:00 pm.

Posted: Sat Oct 21, 2006 7:26 am
by karlsemple
  1. Use []this generator[/url] to get the unix timestamp
  2. Make a file called fix.php with the following:

    Code: Select all

    define('IN_PHPBB', true);
    $phpbb_root_path = './';
    include($phpbb_root_path . '');
    include($phpbb_root_path . 'common.'.$phpEx);
    $userdata = session_pagestart($user_ip, PAGE_INDEX);
    $page_title = 'phpBB Fix';
    include($phpbb_root_path . 'includes/page_header.'.$phpEx);
    $sql = "UPDATE " . CONFIG_TABLE . " SET config_value = [_TIMESTAMP_] WHERE config_name = 'board_startdate'";
    if(!$result = $db->sql_query($sql))
       message_die(CRITICAL_ERROR, "Could not open config table", "", __LINE__, __FILE__, $sql);
       echo 'Board startdate updated. You should now delete this file';
    include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
  3. In the script, replace [_TIMESTAMP_] with the unix timestamp you generated in step 1
  4. Upload the file to phpBB's root folder (the one with config.php)
  5. Run it by navigating to it in your browser (ex.
  6. Delete the file after you see the "Board startdate updated. You should now delete this file" message

Posted: Wed Oct 25, 2006 5:21 am
by tigerland81379
I did this but the Board Started did not change........still the same date