coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 (BBS) Integration / Bridging => Topic started by: VSK on July 30, 2004, 09:17:08 PM

Title: Help for a newbie, please
Post by: VSK on July 30, 2004, 09:17:08 PM
My apologies for asking such an elementary question, but I don't know my way around php very well at all.  I am trying to install the bridge between the coppermine and phpbb.  In the documentation, it says:

----------------------------
At the beginning of the file there are a number a configuration values that need to be set. For phpBB they are the following :

// database configuration
define('PHPBB_DB_NAME','phpBB');     // The name of the database used by the board
define('PHPBB_BD_HOST','localhost'); // The name of the database server
define('PHPBB_DB_USERNAME','root');  // The username to use to connect to the database
define('PHPBB_DB_PASSWORD','');      // The password to use to connect to the database

Am I putting my requested info only in the first set of quotes (such as 'PHPBB_DB_NAME') or also in the 2nd set of quotes (such as 'phpBB'?

// The web path to your phpBB directory
// If your URL to your board is for example 'http://yoursite_name.com/phpBB2/',
// you'll have to set the below var to '/phpBB2/'.
define('PHPBB_WEB_PATH', '/phpBB2/');
// Logout Flag
// the value of this boolean constant depends on your phpBB version:
// If your version of phpBB is 2.0.4 or lower - change the value to FALSE;
// if your version of phpBB is 2.0.5 or newer - leave it as TRUE
define('PHPBB_LOGOUT_GET', TRUE);

Same question here (this was when I questioned myself putting the info only in the first set of quotes).  Will my define line above read:

'websitename.com/forum','/phpBB2/'           or
'websitename.com/forum','/forum/'             ?


-----------------------------------------------------------

Thanks for the help.  When I went through my site's control panel to upgrade my phpbb, it added a new database and right now I'm unsure whether my forum is using the database I originally created for it or the new one which has appeared.  Therefore, I knew if I got errors, i'd not know if it's due to my incorrect configuration above or if my guess as to which database was the wrong guess.
Title: Re: Help for a newbie, please
Post by: Nibbler on July 31, 2004, 12:00:36 AM
define('PHPBB_DB_NAME','phpBB');     // The name of the database used by the board

If your database was called Boris, this would be:

define('PHPBB_DB_NAME','Boris');     // The name of the database used by the board

You are defining 'PHPBB_DB_NAME' to be 'Boris'. You must only change the second part.