Vbulletin 3.0.8 integration problem Vbulletin 3.0.8 integration problem
 

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

Vbulletin 3.0.8 integration problem

Started by Mambocube, August 23, 2005, 06:08:14 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Mambocube

[//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

Nibbler

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.

Mambocube

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.

Nibbler


Mambocube

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



??????????

Nibbler

Post a test user account and update the quote from your bridge file with what you currently have.