Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 06-07-2010, 09:42 PM
93Corvette 93Corvette is offline
 
Join Date: Jan 2009
Posts: 199
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Impex - What do you put for 'server'?

I thought I'd put my Impex question here, since I've already had 52 views on VBulletin.com
and not a single responce for 24 hours.

My question is:

1. Do you use the Cpanel user name and password for Impex or do you use the MySQL password that you created?

2. I know most people use 'localhost' for the 'server'. But suppose the phpbb database is not on your local host, what do you put here? A IP address? A URL?
Reply With Quote
  #2  
Old 06-07-2010, 10:43 PM
Floris Floris is offline
 
Join Date: Jan 2002
Posts: 1,898
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What is the variable it's asking you to fill in?
Reply With Quote
  #3  
Old 06-08-2010, 06:05 AM
93Corvette 93Corvette is offline
 
Join Date: Jan 2009
Posts: 199
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Floris View Post
What is the variable it's asking you to fill in?
Thanks for helping me Floris....

Here is what I have. I'm trying to move a forum called "audicar" which is a phpbb2 to a new vb3 forum called "vwcar". These are not actual sites, I'm just using them for examples.

I just don't know what the values should be in the ImPexConfig.php file. I made the following changes in red. I never made any changes to the Target section since the manual says not too. I put the note below with the link.
http://www.vbulletin.com/docs/html/impex_config
is says
"Target Database Information (Into which database do we import?)

If you have ImpEx installed correctly and are running it via the admincp, you can ignore the target settings go to the source. This is because ImpEx will read you 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'; Example '216.86.13.10'
$impexconfig['source']['user'] = 'username'; I used my cpanel user name Example: audicar
$impexconfig['source']['password'] = 'password'; I used my cpanel password Example: Idontunderstand
$impexconfig['source']['database'] = 'source'; Example '_phpb3'
$impexconfig['source']['tableprefix'] = ''; I used '' (nothing)

I really appreciate your help....Thankyou.....
Attached Images
File Type: png 2. example of target sql1.png (24.4 KB, 0 views)
File Type: png 4.example of source sql1.png (33.2 KB, 0 views)
Reply With Quote
  #4  
Old 06-08-2010, 06:35 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You will need to enter the information to access the phpBB database. If it is not on the same server, then the server where it is hosted must allow external connections and this is usually disabled.

The easiest method would be to put the phpBB database (and files if attachments or such are stored on the filesystem) on your localhost and perform the migration locally. Once finished upload the new vBulletin database to your server.
Reply With Quote
  #5  
Old 06-08-2010, 12:56 PM
93Corvette 93Corvette is offline
 
Join Date: Jan 2009
Posts: 199
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Marco,
Thanks.... I will move the files to my localhost and try it from there tonight. Beleive me, when you said the "easiest method", that's me. Whatever is easier is my style.

I will keep you guys posted on the outcome.
Thank-you~
Reply With Quote
  #6  
Old 06-08-2010, 08:12 PM
Floris Floris is offline
 
Join Date: Jan 2002
Posts: 1,898
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just export the .sql of phpBB, put it on the same server as the vBulletin one is running, in a new db. And then use impex. You don't need the phpBB files.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:25 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03888 seconds
  • Memory Usage 2,230KB
  • Queries Executed 14 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (2)postbit_attachment
  • (6)postbit_onlinestatus
  • (6)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete