I run phpbb 2.0.15 and coppermine 1.3.3 and for some time now anyone that registers new at the forums wont appeared logged in at the gallery.
EXCEPT there is an odd "fix". If the user goes in an uploads an avatar for the forums, then the gallery will suddenly see them logged in, and it will work from that day out.
I don't know why, that doesn't even make any sence.
phpbb.inc.php
// database configuration
define('PHPBB_DB_NAME', '****'); // The name of the database used by the board
define('PHPBB_BD_HOST', 'localhost'); // The name of the database server
define('PHPBB_DB_USERNAME', '****'); // The username to use to connect to the database
define('PHPBB_DB_PASSWORD', '****'); // The password to use to connect to the database
define('PHPBB_LOGOUT_GET', TRUE);
init.inc.php
define('COPPERMINE_VERSION', '1.3.3');
// 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');
cpg_redir.php
<?php
if (!$_SERVER['HTTP_HOST']) {
$cpg_host=$HTTP_SERVER_VARS['HTTP_HOST'];
} else {
$cpg_host=$_SERVER['HTTP_HOST'];
}
$cpg_path='/gallery/';
header("Location: http://".$cpg_host.$cpg_path);
exit;
?>
Why would it just "work" after uploading an avatar?
http://forum.coppermine-gallery.net/index.php?topic=17684.0