Has anyone used Impex to convert a forum website?

Discussion in 'vBulletin Discussions' started by 93Corvette, Jun 7, 2010.

  1. 93Corvette

    93Corvette Novice

    Joined:
    Apr 7, 2010
    Messages:
    26
    Likes Received:
    0
    First Name:
    Craig
    I'm having troubles understanding the Impex process.
    For the ImPexConfig.php file. I made the following changes in red. But it says it can read the source. What am I doing wrong?

    For the Target I changed nothing since the document said:
    Note: If you have Impex installed correctly and are running it via admincp, you can ignor the target settings go to the source. This is because Impex will read your vbulletin config file.

    $impexconfig['target']['server'] = 'localhost';
    $impexconfig['target']['user'] = 'username';
    $impexconfig['target']['password'] = 'password';
    $impexconfig['target']['database'] = 'vbulletin_forum';
    $impexconfig['target']['tableprefix'] = '';
    # If the system that is being imported from uses a database,
    # enter the details for it here and set 'sourceexists' to true.
    # If the source data is NOT stored in a database, set 'sourceexists' to false
    $impexconfig['sourceexists'] = true;
    ####
    #
    # SOURCE - The source is the old forum database (where the data is coming from)
    #
    ####
    # mysql / mssql
    $impexconfig['source']['databasetype'] = 'mysql'; // mysql OR mssql
    $impexconfig['source']['server'] = 'localhost'; I wrote '216.86.13.10'
    $impexconfig['source']['user'] = 'username'; I used my cpanel user name
    $impexconfig['source']['password'] = 'password'; I used my cpanel passwd
    $impexconfig['source']['database'] = 'source'; I used '_phpb3'
    $impexconfig['source']['tableprefix'] = ''; I used 'phpbb'

    Is this correct?
     
  2. Michael

    Michael Regular Member

    Joined:
    Jan 18, 2004
    Messages:
    166
    Likes Received:
    35
    Try entering the details of the target database, I have always filled that in myself and it works fine :)
     
  3. 93Corvette

    93Corvette Novice

    Joined:
    Apr 7, 2010
    Messages:
    26
    Likes Received:
    0
    First Name:
    Craig
    I will try that tonight and will keep you guys posted on the outcome.... Thanks....
     
  4. Brandon

    Brandon Regular Member

    Joined:
    Jun 1, 2009
    Messages:
    6,602
    Likes Received:
    1,706
    Location:
    Topeka, Kansas
    First Name:
    Brandon
    yes, you'll need both the source and target db info in.
    Also,

    $impexconfig['source']['user'] = 'username'; I used my cpanel user name
    $impexconfig['source']['password'] = 'password'; I used my cpanel passwd
    $impexconfig['source']['database'] = 'source'; I used '_phpb3'


    this isn't your cPanel user or pass, it's the user, db and pass for for the database.
    If you're using cpanel, it would be under myphpadmin (here is a screenshot I found online)
     
  5. MordyT

    MordyT Grand Master

    Joined:
    Dec 6, 2009
    Messages:
    529
    Likes Received:
    50
    First Name:
    Mordy
    Just a side note, the easiest way to find your db name/username/password is to open up the config file of the forum you are converting from. It will be right there.
     
  6. 93Corvette

    93Corvette Novice

    Joined:
    Apr 7, 2010
    Messages:
    26
    Likes Received:
    0
    First Name:
    Craig
  7. Michael

    Michael Regular Member

    Joined:
    Jan 18, 2004
    Messages:
    166
    Likes Received:
    35
    Looks like a very successful import to me, personally I would just redo the smilies on the new forum as theyre simple enough and not so important, the two users sound to me like duplicate accounts, say you had two people on both boards with the same email/name and I dont think you should worry at all unless youre missing some posts on an admin account.
     

Share This Page