coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 (BBS) Integration / Bridging => Topic started by: P1mpJuice on August 10, 2004, 03:59:20 AM

Title: [Solved]: PhpBB Integration Issues
Post by: P1mpJuice on August 10, 2004, 03:59:20 AM
I've been lurking the forums for quite sometime and I still can't get my phpbb integration to work with Coppermine.

Here is currently what I have.

Bulletin Board: www.ghostsoldiers.org/phpBB2/
Gallery: www.ghostsoldiers.org/gallery/

Gallery Cookie Information

Cookie: ghostgallery
Path of Cookie: /gallery/

Forum Cookie Information

Cookie: gsphpbb
Path of Cookie: /phpBB2/

Bridge Information
// database configuration
define('PHPBB_DB_NAME', 'ghosty'); // The name of the database used by the board
define('PHPBB_BD_HOST', 'localhost'); // The name of the database server
define('PHPBB_DB_USERNAME', 'ghostadmin'); // The username to use to connect to the database
define('PHPBB_DB_PASSWORD', 'xxxxxxx'); // The password to use to connect to the database

// 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);
// ------------------------------------------------------------------------- //
// You can keep the default values below if your instalation is standard
// ------------------------------------------------------------------------- //
// The prefix for the phpBB cookies
define('PHPBB_COOKIE_PREFIX', '/gsphpbb'); // The prefix used for board cookies

Any help would be appreciated.

Thanks,
P1mpJuice
Title: Re: PhpBB Integration Issues
Post by: Nibbler on August 10, 2004, 04:05:53 AM
1) You need to change phpbb's cookie path to /
2) You need to set PHPBB_COOKIE_PREFIX to 'gsphpbb'
Title: Re: PhpBB Integration Issues
Post by: P1mpJuice on August 10, 2004, 04:22:19 AM
Ok, I changed the following

From: define('PHPBB_COOKIE_PREFIX', '/gsphpbb'); // The prefix used for board cookies

To: define('PHPBB_COOKIE_PREFIX', 'gsphpbb'); // The prefix used for board cookies

Proceeded to login to the forum and add / to my cookie path.  From /phpBB2/ to /phpBB2

Is that correct?
Title: Re: PhpBB Integration Issues
Post by: Nibbler on August 10, 2004, 04:26:02 AM
Your cookie path needs to be just '/' ie. only a forward slash on its own.
Title: Re: PhpBB Integration Issues
Post by: P1mpJuice on August 10, 2004, 04:31:27 AM
That worked...

Thanks much! :D