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 3.0.8 integration problem  (Read 4649 times)

0 Members and 1 Guest are viewing this topic.

Mambocube

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 34
Vbulletin 3.0.8 integration problem
« on: August 23, 2005, 06:08:14 pm »

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', '*****_******'); // 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', '/forum/');
// ------------------------------------------------------------------------- //
// Nothing to edit below this line
// ------------------------------------------------------------------------- //
// Prefix and names for the database tables
define('VB_TABLE_PREFIX', 'vb3'); // 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

i install both my gallery and my forumn in the same database, but when i have 'bb' as my cookie prefix the gallery shows a error 'Fatal error :
There was an error while processing a database query'

so i leave the cookie prefix empty and when i click login in the gallery it goes to the forum login, i login there but when i then go to the gallery i am not logged in....      this is wat bridging is supposed to do right?  so that u only have to register once and u log in once and ur logged into the forums and gallery?

using vbulletin 3.0.8
Logged

Nibbler

  • Guest
Re: Vbulletin 3.0.8 integration problem
« Reply #1 on: August 23, 2005, 07:45:16 pm »

That is the idea, yes. The fact that you get an error indicates that the cookie prefix is supposed to be 'bb'. Disable the bridge, enable debug mode, re-enable the bridge, then post the sql error message that you get. Tablename prefixes generally end in an underscore, perhaps that will be the problem.
Logged

Mambocube

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 34
Re: Vbulletin 3.0.8 integration problem
« Reply #2 on: August 23, 2005, 10:13:18 pm »

thnx nibbler,
i added an underscore after the prefix and now i dont get the error message, im pretty sure that the users are now running from the same database, the ONLY problem now is that in coppermine i am logged in as the admin automatically and cannot logout.
Logged

Nibbler

  • Guest
Re: Vbulletin 3.0.8 integration problem
« Reply #3 on: August 23, 2005, 10:15:51 pm »

Try clearing your cookies.
Logged

Mambocube

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 34
Re: Vbulletin 3.0.8 integration problem
« Reply #4 on: August 23, 2005, 10:23:08 pm »

ok i did that and now i am no longer logged in, so good..........but..........lol now i can log into the forum but when i go to the gallery i am not logged in



??????????
Logged

Nibbler

  • Guest
Re: Vbulletin 3.0.8 integration problem
« Reply #5 on: August 23, 2005, 10:24:41 pm »

Post a test user account and update the quote from your bridge file with what you currently have.
Logged
Pages: [1]   Go Up
 

Page created in 0.013 seconds with 16 queries.