coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 (BBS) Integration / Bridging => Topic started by: allstar on July 21, 2005, 07:36:31 PM

Title: Log in problems with VB
Post by: allstar on July 21, 2005, 07:36:31 PM
hello,

I don't know if this is ment to happen, but when you click 'log in' it refers me to my forum index page and when you log in via forum/index.php and try to navigate back to images(cmg)/index.php, then it says you still need to log in.


Cookies are fine... I think  :-\\

Thanks

Adam
Title: Re: Log in problems with VB
Post by: kegobeer on July 21, 2005, 07:47:55 PM
If you log in from your bbs, then go to Coppermine and you aren't logged in, then your cookies aren't set properly.  Link to your site please, with a test user/password.
Title: Re: Log in problems with VB
Post by: allstar on July 21, 2005, 08:04:41 PM
Quote from: kegobeer on July 21, 2005, 07:47:55 PM
If you log in from your bbs, then go to Coppermine and you aren't logged in, then your cookies aren't set properly.  Link to your site please, with a test user/password.

Thanks for your fast reply!

Forum: www.thedrumforum.com/forum

gallery:www.thedrumforum.com/pics

User- UN: test PW: 123456

Thanks

Adam =]
Title: Re: Log in problems with VB
Post by: Nibbler on July 21, 2005, 08:11:14 PM
Have you set the cookie prefix to 'bb' in the bridge file ?
Title: Re: Log in problems with VB
Post by: allstar on July 21, 2005, 08:52:18 PM
Quote from: Nibbler on July 21, 2005, 08:11:14 PM
Have you set the cookie prefix to 'bb' in the bridge file ?

yep  :)

No joy
Title: Re: Log in problems with VB
Post by: allstar on July 21, 2005, 11:24:40 PM
Hey folks,

is there a quick fix for this symptom?

EG. If my cookies are wrong, where do I go to fix them, I think I may be in the wrong place just now :/
Title: Re: Log in problems with VB
Post by: Nibbler on July 21, 2005, 11:31:45 PM
Check the sticky in this section on how to request bridge support. Your cookies seemed to be setup OK to me - your forum cookies are visible to Coppermine so it is just a matter of getting coppermine to recognise and read them correctly. Post the section of the bridge file you have editted, minus passwords, and double check the database information as we have to trust you have that correct.
Title: Re: Log in problems with VB
Post by: allstar on July 21, 2005, 11:52:37 PM
ok then:

// in vbulletin30.inc.php

define('VB_CUST_NO', '*********'); // Your vBulletin license number (NOT your customer number)
define('VB_DB_NAME', 'drumforum'); // The name of the database used by the board
define('VB_BD_HOST', 'mysql4.******.com'); // The name of the database server
define('VB_DB_USERNAME', 'drumforum'); // 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', '/forum/');
// ------------------------------------------------------------------------- //
// 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', '');  // Cookie Prefix, not supported by vBulletin 2


DB info is A-OK!

BTW, I wanna say I am greatly appreciative of your support. So thank you. :)
Title: Re: Log in problems with VB
Post by: Nibbler on July 22, 2005, 12:06:00 AM
VB_COOKIE_PREFIX should be 'bb' as previously suggested.
Title: Re: Log in problems with VB
Post by: allstar on July 22, 2005, 12:21:11 AM
Yeh,

I tried that before but had no luck.

I have done it again:

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', 'bb');  // Cookie Prefix, not supported by vBulletin 2


Still no luck  :-[
Title: Re: Log in problems with VB
Post by: Nibbler on July 22, 2005, 12:33:35 AM
Seems to be working now, can we mark this as solved ?
Title: Re: Log in problems with VB
Post by: allstar on July 22, 2005, 12:42:22 AM
Woohoo!

Cache cleared and all is well!

Thank you thank you thank you!!