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
1) You need to change phpbb's cookie path to /
2) You need to set PHPBB_COOKIE_PREFIX to 'gsphpbb'
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?
Your cookie path needs to be just '/' ie. only a forward slash on its own.
That worked...
Thanks much! :D