coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 (BBS) Integration / Bridging => Topic started by: version2 on November 01, 2005, 08:14:18 PM

Title: 1.3.x/vb3.5 Integration Problem
Post by: version2 on November 01, 2005, 08:14:18 PM
http://www.mysticwicks.com/photoalbum/

I realize this:

http://forum.coppermine-gallery.net/index.php?topic=17684.0

But, I can't create a test account because I can't log into my gallery. Whenever a user goes to the gallery they are presented with a login link and this link takes us right back to the front page of the forum.

Here is the bridge file:


//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', 'version2_community'); // The name of the database used by the board
define('VB_BD_HOST', 'localhost'); // The name of the database server
define('VB_DB_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

// Group definitions (default values used by the board)
define('VB_VALIDATING_GROUP', 3);
define('VB_GUEST_GROUP', 1);
define('VB_MEMBERS_GROUP', 2);
define('VB_ADMIN_GROUP', 6);


I have tried 'VB_COOKIE_PREFIX' as '' and 'bb'. In my vb config I don't have a cookie prefix set.
Title: Re: 1.3.x/vb3.5 Integration Problem
Post by: Nibbler on November 01, 2005, 08:21:39 PM
You create the test account in your forum, not in Coppermine.
Title: Re: 1.3.x/vb3.5 Integration Problem
Post by: version2 on November 01, 2005, 09:00:02 PM
Quote from: Nibbler on November 01, 2005, 08:21:39 PM
You create the test account in your forum, not in Coppermine.

Fair enough.

Username: Lucifuge
Password: lucy
Title: Re: 1.3.x/vb3.5 Integration Problem
Post by: Nibbler on November 01, 2005, 10:05:55 PM
Your 'VB_COOKIE_PREFIX' is 'mw', set it to that.
Title: Re: 1.3.x/vb3.5 Integration Problem
Post by: version2 on November 01, 2005, 10:09:47 PM
Quote from: Nibbler on November 01, 2005, 10:05:55 PM
Your 'VB_COOKIE_PREFIX' is 'mw', set it to that.

Done. Problem still exists.
Title: Re: 1.3.x/vb3.5 Integration Problem
Post by: Nibbler on November 01, 2005, 10:15:21 PM
OK, so the 2 most likely reasons why it doesn't work are:

1) The db details point to a different instance of the forum.
2) The vb cust no is incorrect.

Verify these 2 things, other than that I don't know what to suggest - everything I can check looks ok.
Title: Re: 1.3.x/vb3.5 Integration Problem
Post by: version2 on November 02, 2005, 12:03:39 AM
Quote from: Nibbler on November 01, 2005, 10:15:21 PM
1) The db details point to a different instance of the forum.
2) The vb cust no is incorrect.

Verify these 2 things, other than that I don't know what to suggest - everything I can check looks ok.

Okay. I double checked. I have two vb licenses so I verified I was using the right customer number. The db details pointing to a different instance of the forum...I don't know if I understand this correctly. I have no other database named version2_community.
Title: Re: 1.3.x/vb3.5 Integration Problem
Post by: Nibbler on November 02, 2005, 12:40:25 AM
It's license number, not customer number. If you are happy to PM me FTP access to your gallery then I can get it running for you more easily.
Title: Re: 1.3.x/vb3.5 Integration Problem
Post by: Nibbler on November 04, 2005, 01:30:33 AM
Resolved via SSH, license number was incorrect.
Title: Re: 1.3.x/vb3.5 Integration Problem
Post by: jed12345 on November 06, 2005, 11:41:47 PM
nm