Upgrading/converting a IPB 1.3 database to IPS 3.4.X

By Danielx64 · Feb 13, 2016 ·
  1. Danielx64
    So there was a request from a member here who wanted to convert his forum from Forumgratis to a proper IPS 3.4.x forum. In this article I'm going to explain what I did after downloading a backup of the database.

    Please note that you will need a working webserver on your local computer, I use xampp (https://www.apachefriends.org/download.html)

    After getting the database I created a folder under my htdocs to put the forum in. I called it "testboard"
    Then I unpacked my IPB 3.4.8 files into it.
    Then I fired up phpmyadmin, created a database. I called it "testboard"
    Then once I done that I imported the database that I downloaded before. Get a clean copy that haven't been edited if you need to.
    Then once that done get a copy of notepad++ you will need it soon.

    Ok here's where it can be a little tricky. Inside your testboard folder, you should see a file named "conf_global.dist.php". it may also show up as "conf_global.dist". You need to rename that file so that it is called "conf_global.php". If you are not seeing the ".php" on the end of the filename then just rename it to "conf_global"

    Once that done, you will need to edit that file. Open it up in your favorite text editor (I use notepad++). Now delete all the text that is in that file, and copy and paste the following:

    PHP:
    <?php
    $INFO
    ['sig_allow_ibc']            =    '1';
    $INFO['show_user_posted']            =    '1';
    $INFO['avatar_ext']            =    'gif|jpeg|jpg|swf|png';
    $INFO['avatar_url']            =    '1';
    $INFO['avup_size_max']            =    '20';
    $INFO['avatars_on']            =    '1';
    $INFO['avatar_dims']            =    '64x64';
    $INFO['avatar_def']            =    '64x64';
    $INFO['email_in']            =    '';
    $INFO['email_out']            =    '';
    $INFO['allow_images']            =    '1';
    $INFO['max_emos']            =    '20';
    $INFO['allow_creator_vote']            =    '1';
    $INFO['allow_dynamic_img']            =    '0';
    $INFO['allow_flash']            =    '1';
    $INFO['allow_online_list']            =    '1';
    $INFO['allow_skins']            =    '1';
    $INFO['ban_ip']            =    '';
    $INFO['ban_email']            =    '';
    $INFO['ban_names']            =    '';
    $INFO['board_start']            =    '1020214590';
    $INFO['news_forum_id']            =    '1';
    $INFO['index_news_link']            =    '1';
    $INFO['allow_dup_email']            =    '1';
    $INFO['admin_group']            =    '4';
    $INFO['auth_group']            =    '1';
    $INFO['member_group']            =    '3';
    $INFO['guest_group']            =    '2';
    $INFO['boardname']            =    'IBForums';
    $INFO['board_desc']            =    'Website forums';
    $INFO['board_name']            =    'Invision Power Board';
    $INFO['php_ext']            =    'php';
    $INFO['board_url']            =    'http://localhost/testboard/';
    $INFO['match_browser']            =    '0';
    $INFO['clock_long']            =    'M j Y, h:i A';
    $INFO['clock_short']            =    'jS F Y - h:i A';
    $INFO['clock_joined']            =    'j-F y';
    $INFO['load_limit']            =    '';
    $INFO['cookie_domain']            =    '';
    $INFO['cookie_id']            =    '';
    $INFO['cookie_path']            =    '';
    $INFO['email_header']            =    'This email generated via IBForums';
    $INFO['email_footer']            =    '';
    $INFO['show_active']            =    '1';
    $INFO['show_birthdays']            =    '1';
    $INFO['show_totals']            =    '1';
    $INFO['sql_driver']            =    'mySQL';
    $INFO['sql_host']            =    'localhost';
    $INFO['sql_database']        =    'testboard';
    $INFO['sql_pass']            =    '';
    $INFO['sql_port']            =    '';
    $INFO['sql_tbl_prefix']            =    'ibf_';
    $INFO['sql_user']            =    'root';
    $INFO['display_max_posts']            =    '15';
    $INFO['display_max_topics']            =    '15';
    $INFO['emo_per_row']            =    '3';
    $INFO['etfilter_punct']            =    '0';
    $INFO['etfilter_shout']            =    '0';
    $INFO['flood_control']            =    '30';
    $INFO['force_login']            =    '0';
    $INFO['show_img_upload']            =    '1';
    $INFO['home_name']            =    'Site Home';
    $INFO['home_url']            =    'http://localhost/testboard/';
    $INFO['hot_topic']            =    '15';
    $INFO['html_dir']            =    '';
    $INFO['base_dir']            =    '';
    $INFO['html_url']            =    '';
    $INFO['upload_dir']            =    '';
    $INFO['upload_url']            =    '';
    $INFO['img_ext']            =    'gif|jpeg|jpg|png';
    $INFO['max_h_flash']            =    '200';
    $INFO['max_images']            =    '10';
    $INFO['max_post_length']            =    '1000';
    $INFO['max_w_flash']            =    '200';
    $INFO['max_messages']            =    '50';
    $INFO['pre_moved']            =    'Moved: ';
    $INFO['pre_pinned']            =    'Pinned: ';
    $INFO['pre_polls']            =    'Poll: ';
    $INFO['session_expiration']            =    '3600';
    $INFO['reg_auth_type']            =    '0';
    $INFO['time_offset']            =    '0';
    $INFO['new_reg_notify']            =    '0';
    $INFO['use_mail_form']            =    '1';
    $INFO['msg_allow_code']            =    '1';
    $INFO['msg_allow_html']            =    '0';
    $INFO['allow_search']            =    '1';
    $INFO['print_headers']            =    '1';
    $INFO['nocache']            =    '1';
    $INFO['debug_level']            =    '1';
    $INFO['forum_skin_1']            =    '';
    $INFO['forum_skin_8']            =    '';
    $INFO['board_offline']            =    '0';
    $INFO['offline_msg']            =    '';
    $INFO['no_reg']            =    '0';
    $INFO['max_sig_length']            =    '50000';
    $INFO['sig_allow_html']            =    '0';
    $INFO['max_location_length']            =    '50000';
    $INFO['max_interest_length']            =    '50000';
    $INFO['post_titlechange']            =    '50000';

    ?>
    Once that done, you will need to change several values in that file. The main one that you will need to change is
    "$INFO['sql_tbl_prefix'] = 'ibf_';"

    The "ibf_" needs to be changed to the correct prefix that is used for your database. Once that is done, the you will need to save the file.

    Once the above is done, you will want to head to http://localhost/testboard/admin/upgrade/. You should then see a page that will ask you to log in. Log in with your administrator username and password.

    After that, it just a matter of clicking on next, and just accepting the default options. It will take some time, and once done you will see this:

    [​IMG]

    Source: https://theadminzone.com/threads/ipb-1-3-running-on-php5-3.99696/page-3

    Share This Article

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.