Redirection Scripts for vBulletin 3.x

fredrikse

Active member
Hi,

I'm about to migrate my vBulletin forum during next week. One thing I want to cross check is the proper use of the redirection scripts that comes with Xenforo which I have downloaded from here:

http://xenforo.com/community/threads/redirection-scripts-for-vbulletin-3-x.5030/

Is import-301-vbulletin-v6.zip the latest version?

vBulletin is currently installed in www.domain.com/. During migration I will remove all files belonging to vBulletin and replace them with the Xenforo files, in www.domain.com/community.

I have also read the following: http://xenforo.com/help/import-redirection/

<?php

/* ----------------------------------------------------------- *\
This variable defines where XenForo is installed.

If you have not installed XenForo into the same directory in which
vBulletin was installed, you will need to provide the full path to
the XenForo directory here. Remove the leading // and then enter
the path as in the following examples:

$fileDir = '/home/example/public_html/new_forums';

$fileDir = 'C:/inetpub/wwwroot/xenforo';

\* ----------------------------------------------------------- */

//$fileDir = '/home/username/www/forums';

/* ----------------------------------------------------------- *\
This constant defines the table from which the import redirection
scripts will fetch their data. Normally they will use the table
'xf_import_log', but if you have archived your import data, you
should provide the name of the archive table here. Remove the
leading // and then replace 'import_log_x' with the name of your
archive table, as in the following examples:

define('IMPORT_LOG_TABLE', 'my_import_log');

define('IMPORT_LOG_TABLE', 'import_log_my_forums');

\* ----------------------------------------------------------- */

//define('IMPORT_LOG_TABLE', 'import_log_x');

I guess I only use one of these lines below?
$fileDir = '/home/example/public_html/new_forums';

$fileDir = 'C:/inetpub/wwwroot/xenforo';

\* ----------------------------------------------------------- */

//$fileDir = '/home/username/www/forums';

Do I use only one of these lines as well?
define('IMPORT_LOG_TABLE', 'my_import_log');

define('IMPORT_LOG_TABLE', 'import_log_my_forums');
 
Thanks!

Will it be a problem if I go from www.domain.com/ to www.domain.com/community?

I don't understand this?
Note that the 301config.php, showthread.php, forumdisplay.php and showpost.php files must still be placed in the directory in which vBulletin was installed for this to work.
My plan, when I migrate, is to remove all vBulletin files from the directory and replace them with Xenforo files. Do I need to rethink this?
 
And you need to uncomment this line in the 301config.php file and specify the full path to your /community directory. That will handle the change of directory:

Code:
//$fileDir = '/home/username/www/forums';

Do I use only one of these lines as well?

define('IMPORT_LOG_TABLE', 'my_import_log');

define('IMPORT_LOG_TABLE', 'import_log_my_forums');

No. Only if you changed the name of the import_log table to something other than xf_import_log which is the default. Check in your database.
 
Hi,

Old links from Google for instance are not correctly translated to Xenforo. I get this error message when I click on a link on Google:

An unexpected database error occurred. Please try again later.

In 301config.php I have following code:

Code:
$fileDir = '/newsite/public_html/community';
 
define('IMPORT_LOG_TABLE', 'archived_import_log_newsite');

What should I do?
 
Top Bottom