cpg 1.3.2 and VB 3.0.3 problems cpg 1.3.2 and VB 3.0.3 problems
 

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

cpg 1.3.2 and VB 3.0.3 problems

Started by scrooloose, August 20, 2004, 04:34:24 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

scrooloose

I just finished integrating Coppermine with my VB forum, I believe I followed the instructions correctly, but I'm having a problem.

When I go to the gallery and click on "login" it takes me to my VB forum main screen, I enter the information and click login then it redirects me back to the gallery, but I'm not logged in on Coppermine and if I click "login" again it redirects me back to the forum where I am logged in. The gallery works fine I have a admin account on it and have posted a pic.

NOTE. VB is the in the main directory not a sub.
          I have also tried to cang the cookie Prefix to BB

Any suggestions?


//NOTE : Your vBulletin license number is provided at the top of every php file in your vBulletin installation!
define('VB_CUST_NO', 'xxxxxxxx'); // Your vBulletin license number (NOT your customer number)
define('VB_DB_NAME', 'dbname'); // The name of the database used by the board
define('VB_BD_HOST', 'host'); // The name of the database server
define('VB_DB_USERNAME', 'username'); // The username to use to connect to the database
define('VB_DB_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', '/');
// ------------------------------------------------------------------------- //
// Nothing to edit below this line
// ------------------------------------------------------------------------- //
// Prefix and names for the database tables
define('VB_TABLE_PREFIX', ''); // 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', '');  // Cookie Prefix, not supported by vBulletin 2



define('COPPERMINE_VERSION', '1.3.2');
// 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');





Nibbler

Can you post a link to the gallery/board please plus a test account.

scrooloose

I cant it puts me in a loop back to the forum main page, no matter if I click login or register, but I did create a new forum account.


http://www.b2dh.com/gallery/
user - testaccount
pw - test1234

Nibbler

Well the cookie prefix certainly needs to be 'bb'.

mahiraminc

I'm having exactly the same problem. I get forwarded to vb3 when I click on Login in CPG. Then upon loggin in I simply type the CPG url in the address bar and I am not still not logged in?

Is there something I am doing wrong?

Joachim Müller


sydneymazdaclub


Nibbler

The problem with vBulletin is that you need to pay to get your hands on it. If somone sends me an ftp and phpmyadmin login for a vb3 install I'm sure I can get the bridge working.

sydneymazdaclub


Nibbler

Issue resolved

define('VB_CUST_NO''12345678'); // Your vBulletin license number (NOT your customer number) is good

define('VB_CUST_NO''12345678
'
); // Your vBulletin license number (NOT your customer number)
is bad.

Quelyn

Go to your VBulletin Directory in the includes/config.php file and see what your cookie prefix is set to.
You then have to make sure the same cookie prefix is set in the bridge file for VBulletin, that did it for me  ;D
I know that someone before said the prefix should be BB, and that's what the default in Vbulletin is, but double check in cause you changed it or something.

Fking

Quote from: Nibbler on September 11, 2004, 03:58:02 PM
Issue resolved

define('VB_CUST_NO''12345678'); // Your vBulletin license number (NOT your customer number) is good

define('VB_CUST_NO''12345678
'
); // Your vBulletin license number (NOT your customer number)
is bad.

this line is ok here, my prefix is set to the one which is in the config.php file and it still does not work....