Vbulletin 3.0.8 integration Vbulletin 3.0.8 integration
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Vbulletin 3.0.8 integration

Started by mindcry, August 07, 2005, 02:20:48 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mindcry

I have tried integrating vbulletin 3.0.8 and 3.0.7 with coppermine 1.3.3 and it seems not to be working. It does not seem to be pulling the login data from the forum. I am wondering if I am missing something as the instructions I followed may be out of date. This is what I have followed.

HOW TO INTEGRATE:
1.) Download vbulletin30.inc.php (provided as an archive with this hack)
2.) Open for Editing vbulletin30.inc.php and edit the following with data specific to your site:

//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', 'forum'); // The name of the database used by the board
define('VB_BD_HOST', 'localhost'); // The name of the database server
define('VB_DB_USERNAME', 'username'); // The username to use to connect to the database
define('VB_DB_PASSWORD', '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', '/vbulletin3/');

3.) Save vbulletin30.inc.php to the bridge directory of your Coppermine installation
4.) Open for Editing init.inc.php (located in the /include directory of your Coppermine installation
Find:
// define('UDB_INTEGRATION', 'vbulletin30');
Remove the double slashes in front of the line to uncomment

5. Save init.inc.php to the include directory of your Coppermine installation
6. Point your browser to your Coppermine installation and verify integration is complete.

That should do it.  I tried it on a fresh install of both, and a custom install to an existing board.  Both worked fine.


cowboy[texas]

Quote from: Nibbler on August 07, 2005, 02:43:49 AM
http://forum.coppermine-gallery.net/index.php?topic=17684.0

OK - I understand the post about creating a test account... it sounds logical.

However - I'm having the same problem as above which means I since running the bridge, I can't login to cpg in order to create a test account. So what now ?

Nibbler

Then you have failed to understand the entire concept of bridging. With a bridged setup, your forum users become your coppermine users. To create a test user account you need to create a user in your forum. Please start a new thread for your problem.

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

Please start a new thread for your problem !