coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 (BBS) Integration / Bridging => Topic started by: hotwheels on October 28, 2005, 05:22:51 PM

Title: vb3 3.07 bridge support help
Post by: hotwheels on October 28, 2005, 05:22:51 PM
My site addy is www.insanemustangs.com

Username: test
Password: tester

// database configuration
define('VB_CUST_NO', '*********'); // Your vBulletin license number (NOT your customer number)
define('VB_DB_NAME', 'hotwheel_forums'); // 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', 'http://insanemustangs.com/forums/');


not sure what's wrong, but after i log into my site and then go to coppermine, it still show's that i need to log in, or register.

Please help, i have been working on this for a week.

hotwheels
Title: Re: vb3 3.07 bridge support help
Post by: Nibbler on October 28, 2005, 05:37:37 PM
Where's the gallery ?

Ensure you set the cookie prefix to 'bb' in the bridge file and the db info is correct.

Also:

Quotedefine('VB_WEB_PATH', 'http://insanemustangs.com/forums/');

That should be a path, not an url.
Title: Re: vb3 3.07 bridge support help
Post by: Stramm on October 28, 2005, 06:08:35 PM
seems you haven't enabled the bridge? Have you? --> include/init.inc.php
Title: Re: vb3 3.07 bridge support help
Post by: hotwheels on October 28, 2005, 06:22:11 PM
QuoteWhere's the gallery ?
if you look on my navbar in the forums, the gallery is named coppermine, in the navbar.

QuoteThat should be a path, not an url.
like /forums/ ?


Quoteseems you haven't enabled the bridge? Have you? --> include/init.inc.php
i believe so....
Title: Re: vb3 3.07 bridge support help
Post by: hotwheels on October 28, 2005, 06:25:49 PM
define('COPPERMINE_VERSION', '1.3.5');
// User database integration
// Uncomment the applicable line if you want to use it
// define('UDB_INTEGRATION', 'phpbb');
// define('UDB_INTEGRATION', 'invisionboard');
// define('UDB_INTEGRATION', 'vbulletin23');
define('UDB_INTEGRATION', 'vbulletin30');
// define('UDB_INTEGRATION', 'yabbse');
// define('UDB_INTEGRATION', 'smf');
// define('UDB_INTEGRATION', 'woltlab21');
// define('UDB_INTEGRATION', 'punbb');
if (!defined('IN_COPPERMINE')) die('Not in Coppermine...');
// Start output buffering
ob_start();
// Report all errors except E_NOTICE
// This is the default value set in php.ini
// error_reporting (E_ALL ^ E_NOTICE);
error_reporting(E_ALL);



This is what i call in the init.php right?
Quotedefine('UDB_INTEGRATION', 'vbulletin30');
Title: Re: vb3 3.07 bridge support help
Post by: hotwheels on October 28, 2005, 06:30:55 PM
QuoteEnsure you set the cookie prefix to 'bb' in the bridge file and the db info is correct.

the actual gamma bridge doesn't have a cookie prefix like the older bridge did.......or am i missing it?

// The web path to your vBulletin Board directory
// In this example http://yoursite_name.com/vbulletin3/
define('VB_WEB_PATH', '/forums/');
// ------------------------------------------------------------------------- //
// 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

// 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);
// Authenticate a user using cookies
function udb_authenticate()
Title: Re: vb3 3.07 bridge support help
Post by: hotwheels on October 28, 2005, 06:44:48 PM
k, i switched out gamma for  vbulletin30.inc.php and updated the cookie prefix to 'bb' and went to init.php and //define for vbulletin3.0, since it is showing an error
Title: Re: vb3 3.07 bridge support help
Post by: hotwheels on October 28, 2005, 06:49:24 PM
This is how i am now set up on 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', 'hotwheel_forums'); // The name of the database used by the board
define('VB_BD_HOST', 'localhost'); // The name of the database server
define('VB_DB_USERNAME', 'hotwheel'); // 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', '/vb3/');
// ------------------------------------------------------------------------- //
// 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', 'bb');  // 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);
// Authenticate a user using cookies
function udb_authenticate()


and in my init.php file:

define('COPPERMINE_VERSION', '1.3.5');
// User database integration
// Uncomment the applicable line if you want to use it
// define('UDB_INTEGRATION', 'phpbb');
// define('UDB_INTEGRATION', 'invisionboard');
// define('UDB_INTEGRATION', 'vbulletin23');
// define('UDB_INTEGRATION', 'vbulletin30');
// define('UDB_INTEGRATION', 'yabbse');
// define('UDB_INTEGRATION', 'smf');
// define('UDB_INTEGRATION', 'woltlab21');
// define('UDB_INTEGRATION', 'punbb');
if (!defined('IN_COPPERMINE')) die('Not in Coppermine...');
// Start output buffering
Title: Re: vb3 3.07 bridge support help
Post by: Stramm on October 28, 2005, 07:42:05 PM
sorry, if you don' enable the bridge, then I can't help you...
still, you probably got a mysql error. Means you've entered a wrong dbname, dbuser or dbpw. Check this twice
Title: Re: vb3 3.07 bridge support help
Post by: hotwheels on October 28, 2005, 09:05:57 PM
Quotesorry, if you don' enable the bridge, then I can't help you...
What does that mean? I am asking for help, i posted my init.php, tell me what i am supposed to do. If i knew how to enable it, i wouldn't be here asking, would I? That is a terrible answer, look at my previous post and it show's you my vbulletin bridge and my init.php file..........i am asking what am i supposed to do with it now.....i have no idea, when i enable the // define('UDB_INTEGRATION', 'vbulletin30'); it then give me an error on coppermine......
Title: Re: vb3 3.07 bridge support help
Post by: hotwheels on October 28, 2005, 09:08:17 PM
now making an assumption on my part, the init.php is now turned on:

define('COPPERMINE_VERSION', '1.3.5');
// User database integration
// Uncomment the applicable line if you want to use it
// define('UDB_INTEGRATION', 'phpbb');
// define('UDB_INTEGRATION', 'invisionboard');
// define('UDB_INTEGRATION', 'vbulletin23');
define('UDB_INTEGRATION', 'vbulletin30');
// define('UDB_INTEGRATION', 'yabbse');
// define('UDB_INTEGRATION', 'smf');
// define('UDB_INTEGRATION', 'woltlab21');
// define('UDB_INTEGRATION', 'punbb');
if (!defined('IN_COPPERMINE')) die('Not in Coppermine...');
// Start output buffering
Title: Re: vb3 3.07 bridge support help
Post by: hotwheels on October 28, 2005, 09:09:31 PM
with that enabled, the above post, i now get this error in coppermine:

Coppermine critical error:
Unable to connect to vBulletin Board database !

MySQL said: Access denied for user 'username'@'localhost' (using password: YES)
Title: Re: vb3 3.07 bridge support help
Post by: kegobeer on October 28, 2005, 09:25:04 PM
Did you follow all of the bridging instructions in the manual?  Did you follow the bridging instructions and put Coppermine and your bbs in the same database?
Title: Re: vb3 3.07 bridge support help
Post by: hotwheels on October 28, 2005, 09:49:17 PM
yes..........now i am getting this error:

Notice: Undefined index: HTTP_USER_AGENT in /home3/hotwheel/public_html/forums/cpg135/bridge/vbulletin30.inc.php on line 76

Title: Re: vb3 3.07 bridge support help
Post by: kegobeer on October 28, 2005, 10:38:39 PM
You must enable long arrays in php.ini.  Ask your webhost to fix that for you.
Title: Re: vb3 3.07 bridge support help
Post by: hotwheels on October 28, 2005, 10:45:33 PM
They told me that it is on.........i asked them that about a week ago.

K, try it again and tell me what you think. I have debug mode on and the init.php is enabled.


www.insanemustangs.com/forums/

username  test
password  tester
Title: Re: vb3 3.07 bridge support help
Post by: kegobeer on October 28, 2005, 10:47:26 PM
Turn off debug notices in your config settings.  That's just a notice, don't worry about it.
Title: Re: vb3 3.07 bridge support help
Post by: hotwheels on October 28, 2005, 11:03:54 PM
okay, it's off.......
Title: Re: vb3 3.07 bridge support help
Post by: hotwheels on October 28, 2005, 11:37:45 PM
ah forget it........... :(
Title: Re: vb3 3.07 bridge support help
Post by: Joachim Müller on October 30, 2005, 12:26:06 PM
Quote from: hotwheels on October 28, 2005, 11:37:45 PM
ah forget it........... :(
meaning what? Issue solved? Username/password test/tester doesn't work for me, so I guess you disabled this account because your issues have been solved. Marking thread accordingly.
Title: Re: vb3 3.07 bridge support help
Post by: hotwheels on November 01, 2005, 08:09:35 AM
no problem isn't resolved.............i spent 12hrs working on getting the bridge to work and it never did.  Not being impatient, but i would open up stuff for the test password and then nobody would respond. I know you guy's are very busy and that it is very time consuming trying to help everyone, but i just couldn't sit on the computer all day waiting for a response. I am sure there is something i am doing wrong with the integration, but i sure thought it would be easier to actually get the problem resolved.
I followed the suggestion's the best that i could and it just wasn't working at this point, or at any point........i hope to get this issue resolved one of these days.......I noticed that alot of people get have this same issue, but no where on the site could i really find the exact way to fix this issue........
Title: Re: vb3 3.07 bridge support help
Post by: Nibbler on November 01, 2005, 03:00:45 PM
All bridging problems can be resolved, however at this point there is nothing I can do to help as the test account is gone and bridging is disabled.
Title: Re: vb3 3.07 bridge support help
Post by: hotwheels on November 02, 2005, 02:25:58 AM
k nibbler, i set up the user again.....


username: test
password: tester

I also went into the includes/init file and uncommented the define vbulletin3.0

i also moved the vbulletin3.0.php file into my forums file from the bridge file.......
Title: Re: vb3 3.07 bridge support help
Post by: Nibbler on November 02, 2005, 02:30:43 AM
Quote from: hotwheels on November 02, 2005, 02:25:58 AM
i also moved the vbulletin3.0.php file into my forums file from the bridge file.......

What ?
Title: Re: vb3 3.07 bridge support help
Post by: Nibbler on November 02, 2005, 02:32:42 AM
Coppermine critical error:
Unable to connect to database !

MySQL said: Access denied for user 'hotwheel'@'localhost' (using password: YES)

Make sure the bridge file has the correct db info, and the cookie prefix is set to 'bb'
Title: Re: vb3 3.07 bridge support help
Post by: hotwheels on November 02, 2005, 02:36:14 AM
Quotei also moved the vbulletin3.0.php file into my forums file from the bridge file.......
it is in the bridge file and i set the chmod to 777 for now...........still trying to figure out what the right info is that i need in the 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', 'hotwheel_forums'); // The name of the database used by the board
define('VB_BD_HOST', 'localhost'); // The name of the database server
define('VB_DB_USERNAME', 'hotwheel'); // 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', '/forums/');
// 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', 'bb');  // Cookie Prefix, not supported by vBulletin 2

does that look right so far?
Title: Re: vb3 3.07 bridge support help
Post by: Nibbler on November 02, 2005, 02:41:22 AM
You can get the database info from your forums' config file if you can find that. You don't move the bridge file anywhere, it stays in coppermine's bridge folder.
Title: Re: vb3 3.07 bridge support help
Post by: hotwheels on November 02, 2005, 02:51:48 AM
okay, it is still in the bridge folder which is inside the cpg135 folder.............

I also found my forums include/config file and updated as such, now is this correct or should it be something else? (// The web path to your vBulletin Board directory
// In this example http://yoursite_name.com/vbulletin3/
define('VB_WEB_PATH', '/forums/');
)

I checked my forums include/config file and it show's the relative path as /vb3/      so where i have forums, should that be vb3?

This is straight off of my main includes/config file:
// Prefix that your vBulletin tables have in the database.
// For example: $tableprefix = 'vb3_';
$tableprefix = 'vb3';

// Prefix that all vBulletin cookies will have
// For example
$cookieprefix = 'bb';
Title: Re: vb3 3.07 bridge support help
Post by: hotwheels on November 02, 2005, 03:22:34 AM
holy cow, i think it worked.................give me a couple minutes.
Title: Re: vb3 3.07 bridge support help
Post by: hotwheels on November 02, 2005, 03:33:27 AM
 ;D ;D that was it nibbler, you are da man..................oh man, this is exciting.........


Thank you so much...............hotwheels



This one is SOLVED