forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 (BBS) Integration / Bridging => Topic started by: scrooloose on August 20, 2004, 04:34:24 pm

Title: cpg 1.3.2 and VB 3.0.3 problems
Post by: scrooloose on August 20, 2004, 04:34:24 pm
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?

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

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



Title: Re: cpg 1.3.2 and VB 3.0.3 problems
Post by: Nibbler on August 20, 2004, 05:07:22 pm
Can you post a link to the gallery/board please plus a test account.
Title: Re: cpg 1.3.2 and VB 3.0.3 problems
Post by: scrooloose on August 20, 2004, 05:39:41 pm
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
Title: Re: cpg 1.3.2 and VB 3.0.3 problems
Post by: Nibbler on August 20, 2004, 06:05:58 pm
Well the cookie prefix certainly needs to be 'bb'.
Title: Re: cpg 1.3.2 and VB 3.0.3 problems
Post by: mahiraminc on August 22, 2004, 08:21:40 pm
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?
Title: Re: cpg 1.3.2 and VB 3.0.3 problems
Post by: Joachim Müller on August 22, 2004, 11:56:40 pm
do not cross-post! [:|

GauGau
Title: Re: cpg 1.3.2 and VB 3.0.3 problems
Post by: sydneymazdaclub on September 11, 2004, 01:29:39 am
Did this ever get fixed?
Title: Re: cpg 1.3.2 and VB 3.0.3 problems
Post by: Nibbler on September 11, 2004, 02:05:48 am
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.
Title: Re: cpg 1.3.2 and VB 3.0.3 problems
Post by: sydneymazdaclub on September 11, 2004, 05:30:53 am
Check your PM
Title: Re: cpg 1.3.2 and VB 3.0.3 problems
Post by: 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.
Title: Re: cpg 1.3.2 and VB 3.0.3 problems
Post by: Quelyn on September 11, 2004, 08:12:12 pm
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.
Title: Re: cpg 1.3.2 and VB 3.0.3 problems
Post by: Fking on October 12, 2004, 04:59:13 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....