Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Vbulletin integration problem  (Read 3464 times)

0 Members and 1 Guest are viewing this topic.

Hermit

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
    • Imbalance Guild
Vbulletin integration problem
« on: April 02, 2005, 05:03:36 am »

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
Code: [Select]
//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
Code: [Select]
// 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
Code: [Select]
// 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';
Logged

Nibbler

  • Guest
Re: Vbulletin integration problem
« Reply #1 on: April 02, 2005, 05:12:23 am »

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 ?
Logged

Hermit

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
    • Imbalance Guild
Re: Vbulletin integration problem
« Reply #2 on: April 03, 2005, 04:57:09 am »

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".
Logged

Hermit

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
    • Imbalance Guild
Re: Vbulletin integration problem
« Reply #3 on: April 05, 2005, 02:04:07 am »

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

iwlsr5

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Vbulletin integration problem
« Reply #4 on: June 15, 2005, 02:40:59 am »

where do you find your vbulletin license number?
Logged

Nibbler

  • Guest
Re: Vbulletin integration problem
« Reply #5 on: June 15, 2005, 03:50:18 pm »

As stated in the bridge file itself:

Code: [Select]
//NOTE : Your vBulletin license number is provided at the top of every php file in your vBulletin installation!
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 16 queries.