Ok I just installed the photo gallery, I think the latest version but anyway. I have a phpbb forum and I was wondering if there is a way to get the memberlist from that onto my photo gallery that I just installed. It would be easier if my members didnt have to re-register for the gallery, Can anyone help me?
Have you read the documentation that comes with Coppermine (in the docs directory)?
I get a access denied error when I go through the process....
post the actual error, together with a link to your site, a test user account (non-admin).
Joachim
This is the error:
Coppermine critical error:
Unable to connect to phpBB Board database !
MySQL said: Access denied for user: 'root@localhost' (Using password: NO)
As for the name, you wont be able to check out the album cause of the error.
http://www.globalfisher.com/album/index.php
I think one of the reasons is, I already installed the coppermine but didnt see the thing about the phpbb thing and I am just doing it now. So it will be installed twice right?
What will be installed twice? If you have Coppermine installed, phpBB installed, and you follow the bridging instructions in the documentation, you should be ok.
Quotedidnt see the thing about the phpbb thing (emphasis mine)
Can you tell me what "thing" refers to?
It refers to the steps on making the integration.
Can anyone help me?
please re-read this thread and do as suggested.
Joachim
I got most of it working now, just when I ltry loggin in or loggin out it says page cannot be displayed. The users page works and everything else just not logging in.
Forum:
http://www.globalfisher.com/phpbb
Coppermine Gallery:
http://www.globalfisher.com/album/index.php
Test Account on phpbb forum:
Name: testing
Password: 1234
phpbb cookie settings:
cookie domain: its blank
cookie name: phpbb2mysql
cookie path: /
cookie secure: disabled
session lengths: 3600
cookie settings on coppermine:
cookie name: cpg132
cookie path: /
phpbb.inc file:
// database configuration
define('PHPBB_DB_NAME', 'global_xmb5'); // The name of the database used by the board
define('PHPBB_BD_HOST', 'localhost'); // The name of the database server
define('PHPBB_DB_USERNAME', 'global_album'); // The username to use to connect to the database
define('PHPBB_DB_PASSWORD', '#####'); // 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', '/phpbb/');
// 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', 'phpbb2mysql'); // The prefix used for board cookies
// Prefix and names for the database tables
define('PHPBB_TABLE_PREFIX', 'phpbb_'); // The prefix used for the DB tables
define('PHPBB_USER_TABLE', 'users'); // The members table
define('PHPBB_SESSION_TABLE', 'sessions'); // The session table
define('PHPBB_GROUP_TABLE', 'groups'); // The groups table
define('PHPBB_UGROUP_TABLE', 'user_group'); // The group/user table
cpg_redir file
<?php
if (!$_SERVER['HTTP_HOST']) {
$cpg_host=$HTTP_SERVER_VARS['HTTP_HOST'];
} else {
$cpg_host=$_SERVER['HTTP_HOST'];
}
$cpg_path='/album/';
header("Location: ".$cpg_host.$cpg_path);
exit;
?>
I think I figured it out, I didnt have the "http://" in this coding:
<?php
if (!$_SERVER['HTTP_HOST']) {
$cpg_host=$HTTP_SERVER_VARS['HTTP_HOST'];
} else {
$cpg_host=$_SERVER['HTTP_HOST'];
}
$cpg_path='/album/';
header("Location: ".$cpg_host.$cpg_path);
exit;
?>
Right after the word location:
It lets me login and logout with any member name from my phpbb board now!
Thanks Guys!