Vbulletin integration problem Vbulletin integration problem
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Vbulletin integration problem

Started by Hermit, April 02, 2005, 05:03:36 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Hermit

No matter how hard I try I can't get coppermine to work vith vbulletin. I set everyhting up the way I understood and it installed, but when I click login it just redirects me to my forum home page. I have triple cheked all the settings. Vbulletin is v3.0.7 and was allready installed. Froums are at www.imbalanceguild.com/forums and coppermine is at www.imbalanceguild.com/screenshots

vbulletin30.inc.php
//NOTE : Your vBulletin license number is provided at the top of every php file in your vBulletin installation!
define('VB_CUST_NO', '***********'); // Your vBulletin license number (NOT your customer number)
define('VB_DB_NAME', 'database'); // The name of the database used by the board
define('VB_BD_HOST', 'localhost'); // The name of the database server
define('VB_DB_USERNAME', 'username'); // The username to use to connect to the database
define('VB_DB_PASSWORD', 'password'); // The password to use to connect to the database

// The web path to your vBulletin Board directory
// In this example http://yoursite_name.com/vbulletin3/
define('VB_WEB_PATH', '/forums/');
// ------------------------------------------------------------------------- //
// Nothing to edit below this line
// ------------------------------------------------------------------------- //
// Prefix and names for the database tables
define('VB_TABLE_PREFIX', 'vb_'); // Leave empty, not supported by vBulletin 2.3
define('VB_USER_TABLE', 'user'); // The members table
define('VB_SESSION_TABLE', 'session'); // The sessions table
define('VB_GROUP_TABLE', 'usergroup'); // The groups table
define('VB_COOKIE_PREFIX', 'vb');  // Cookie Prefix, not supported by vBulletin 2


init.inc.php
// User database integration
// Uncomment the applicable line if you want to use it
// define('UDB_INTEGRATION', 'phpbb');
// define('UDB_INTEGRATION', 'invisionboard');
// define('UDB_INTEGRATION', 'vbulletin23');
define('UDB_INTEGRATION', 'vbulletin30');
// define('UDB_INTEGRATION', 'yabbse');
// define('UDB_INTEGRATION', 'smf');
// define('UDB_INTEGRATION', 'woltlab21');
// define('UDB_INTEGRATION', 'punbb');


config.php
// Prefix that your vBulletin tables have in the database.
// For example: $tableprefix = 'vb3_';
$tableprefix = 'vb_';

// Prefix that all vBulletin cookies will have
// For example
$cookieprefix = 'vb';

Nibbler

Redirecting to the forum is the usual behavior.

I don't understand your changes to "config.php" - the only bridge file we can support is the one in the coppermine package or here bridged following the instructions in the documentation.

Can you post a test account ?

Hermit

I just posted the 2 options in config.php to show the table prefix and cookie prefix and that they match the options changed in vbulletin30.inc.php. I made a test account, user is "cpgtest" and password is "password".

Hermit

I found the problem. For define"VB_CUST_NO()" it really wants the licence number. I had the customer number in there.

iwlsr5

where do you find your vbulletin license number?

Nibbler

As stated in the bridge file itself:

//NOTE : Your vBulletin license number is provided at the top of every php file in your vBulletin installation!